Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 17:11
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;
@shivasurya
shivasurya / template-creator.js
Created May 28, 2020 04:44
AWS SES Email Template Create/Update Script Wrapper
// install those dependencies first
var minify = require("html-minifier").minify;
var fs = require("fs");
var AWS = require("aws-sdk");
// usage : node .\template-creater.js .\emailtemplate.html emailtemplate.json false emailtemplate-unique-name "Subject for the email"
// 1st Argument => Templated HTML File
// 2nd Argument => Name of the generated template json file
// 3rd Argument => Update or Create template ( boolean )
// 4th Argument => Unique template name
@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;
@mzarallo
mzarallo / .env.ci
Last active April 26, 2024 17:08
Github action to test your application in Laravel and deploy via SSH
APP_KEY=
APP_ENV=local
APP_DEBUG=true
APP_URL=http://127.0.0.1:8000
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
@Stagyrite
Stagyrite / maze.c
Last active April 26, 2024 17:08
a maze generator inspired by Maze
/*
* a maze generator inspired by jaldhar/Maze
* https://github.com/jaldhar/Maze/
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
@Stagyrite
Stagyrite / SmallRayTracer.java
Last active April 26, 2024 17:08
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;