Skip to content

Instantly share code, notes, and snippets.

@Stagyrite
Stagyrite / OpenRoguelike.java
Created April 26, 2024 11:43
a level compiler inspired by openroguelike
/*
* a level compiler inspired by openroguelike
* https://GitHub.com/tleguern/openroguelike
*/
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;
@Stagyrite
Stagyrite / SmallRayTracer.java
Last active April 26, 2024 17:07
a raytracer inspired by small-raytracer
/*
* a raytracer inspired by FrontierPsychiatrist/small-raytracer
* https://github.com/FrontierPsychiatrist/small-raytracer/
*/
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 17:07
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@JCervantesB
JCervantesB / .htaccess para public
Last active April 26, 2024 17:06
htaccess para proyectos MVC CodigoConJuan
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
@christophermanning
christophermanning / octocat.svg
Last active April 26, 2024 17:05 — forked from johan/octocat.svg
octocat.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@p3t3r67x0
p3t3r67x0 / vue_tailwindcss_candar.vue
Created October 13, 2020 11:23
Simple Vue Tailwindcss Calendar with Modal
<template>
<div>
<div class="bg-white rounded shadow overflow-hidden">
<div class="flex items-center justify-between py-2 px-6">
<div>
<span class="text-lg font-bold text-gray-800">{{ monthNames[month] }}</span>
<span class="ml-1 text-lg text-gray-600 font-normal">{{ year }}</span>
</div>
<div class="border rounded-lg px-1" style="padding-top: 2px;">
<button type="button" class="leading-none rounded-lg transition ease-in-out duration-100 inline-flex cursor-pointer hover:bg-gray-200 p-1 items-center" :class="{'cursor-not-allowed opacity-25': month == 0 }"
@stevenctl
stevenctl / readme.md
Last active April 26, 2024 17:04
Static PROXY Waypoint

PROXY Protocol Waypoint

This sample demonstrates a non-Istio waypoint defined using static Envoy config.

  1. Create a kind cluster
kind create cluster