This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// click checkboxes at random | |
const checkboxes = document.querySelectorAll('input[type=checkbox]') | |
checkboxes.forEach(cb => { | |
if(Math.random() > 0.5) | |
cb.click() | |
}) | |
checkboxes[checkboxes.length - 1].checked = true | |
checkboxes[checkboxes.length - 2].checked = true | |
// helper stuff for filling form inputs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"atomic_number": 1, | |
"name": "Hydrogen", | |
"symbol": "H", | |
"block": "s", | |
"group_id": 1, | |
"period": 1, | |
"series": "Nonmetals", | |
"cas": "1333-74-0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# god powershell scripts are ugly | |
function tilEnd { | |
$til = new-timespan -Start $(get-date) -End $([datetime]"12:25 PM") | |
echo "$($til.Minutes):$($til.Seconds)" | |
} | |
while(1) { tilEnd; sleep 1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shutdown /s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from tika import parser | |
def get_content(file): # parse the file | |
content = parser.from_file(file)['content'] | |
groups = content.split("-" * 105)[1:] | |
results = [] | |
for group in groups: | |
results += [parse_group(group)] | |
return results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InstaHelper | |
// @namespace ig-help | |
// @version 1.0 | |
// @description various things to make instagram better | |
// @author trevor | |
// @match https://www.instagram.com/direct/* | |
// ==/UserScript== | |
var _$ = e => document.querySelector(e) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brad:) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yah_trick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Roll a die. On 1-2, TARGET goes back to the start of your zone. 5-6, TARGET goes to before the end of it. | |
TARGET rolls 2 dice this turn. | |
TARGET skips 2 turns. PLAYER skips one. | |
Pick up 2 cards and play them on PLAYER instantly | |
TARGET and PLAYER go back to the start of their zone. | |
TARGET moves forward exactly 7 this turn. | |
If a card is played on PLAYER, ignore it and play it on the person who played the card. | |
The next player to roll a 6 ignores it and goes back 3. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yah yah yah yah yah yah yah yah yah yah yah... | |
OPA! | |
HABBLEUGHAWUGH | |
*hiccup* OPA *hiccup* OPA *hiccup* OPA *hiccup* OPA *hiccup* OPA | |
Is this Nazi Germany? | |
It's Sicily, it means fuck off. | |
I've never jacked off! | |
I only ran partially naked! | |
I don't wanna wear underwear after a shower! | |
I haven't had a boner in weeks! |
NewerOlder