Skip to content

Instantly share code, notes, and snippets.

View alechash's full-sized avatar
📷
photography

Alec Wilson alechash

📷
photography
View GitHub Profile
@alechash
alechash / AM4.js
Created September 7, 2021 21:11
a javascript snippet to automatically run your AM4 game
const fetch = require('node-fetch');
const jsdom = require("jsdom");
const {
JSDOM
} = jsdom;
//
// Twilio settings.
// These are used to send texts.
// You can find these credentials on your Twilio account.
@melmsie
melmsie / items.txt
Last active April 15, 2021 02:49
Loot Box Possible Items + Amounts:
Normie box:
sand: 1
cookie: 3
banknote: 1
Meme box:
phone: 1
tidepod: 1
fakeid: 1
sand: 1
@pich4ya
pich4ya / padbuster_macos2019.txt
Created August 5, 2019 08:22
Install PadBuster on macOS Mojave 10.14.5
brew install openssl
brew install perl
brew unlink perl && brew link perl
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" perl -MCPAN -e 'install Crypt::SSLeay'
git clone https://github.com/GDSSecurity/PadBuster && cd PadBuster
perl padbuster.pl "https://example.local/ScriptResource.axd?d=yyy" yyy 16 -encoding 3 -bruteforce -log -verbose -cookies "ASP.NET_SessionId=xxx"
@michaelmotzkus
michaelmotzkus / WOFComplete.py
Last active March 31, 2022 23:38
These are 3 very long Files! Wheel of Fortune - Python console game + json-files
# sys and its functions are only used for the autograder, setExecutionLimit is not in the standard sys-module!
# import sys
# sys.setExecutionLimit(600000) # let this take up to 10 minutes
import json
import random
import time
VOWEL_COST = 250
@deanrather
deanrather / Github Web Hosting.md
Last active March 13, 2024 19:16
Free Hosting on GitHub

Free Hosting on GitHub

This guide will take you from zero webserver knowledge, to having your own free site hosted on GitHub. The only non-free bit is registering a domain name, which can be as cheap as $5/year.

This guide uses CrazyDomains as the Registrar, FreeDNS as the DNS, and GitHub as the Webserver.


1) Domain Registration and Setup

@CatTail
CatTail / htmlentity.js
Created November 30, 2012 08:27
Javascript: encode(decode) html text into html entity
// encode(decode) html text into html entity
var decodeHtmlEntity = function(str) {
return str.replace(/&#(\d+);/g, function(match, dec) {
return String.fromCharCode(dec);
});
};
var encodeHtmlEntity = function(str) {
var buf = [];
for (var i=str.length-1;i>=0;i--) {
@paulmillr
paulmillr / active.md
Last active April 23, 2024 17:32
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter(user => user.followers > 1000)