Skip to content

Instantly share code, notes, and snippets.


Kody mkody

View GitHub Profile
mkody /
Last active Apr 23, 2021's backup script
# Welcome to's backup script!
# === Config
bucketname=[something here]
echo "=========="
# === Preping
mkody /
Last active Jan 29, 2020
Hide Scroll Bar

This userscript hides the bar on partner websites.

CLICK HERE with Violentmonkey/Tampermonkey installed to import it.

View gist:794725cc99b875a2196d13f30c0ab269
Verifying my Blockstack ID is secured with the address 19joqG54aDk2aKTfNmGZASxxgP3uQ1G7N6
mkody / cleanup.js
Last active Nov 20, 2018
Only show highlighted runs from GDQ's schedule
View cleanup.js
// Hide all runs first
document.querySelectorAll('#runTable tbody tr:not(.day-split)').forEach(el => { = 'none'
// Show highlighted runs and remove background color
document.querySelectorAll('#runTable tbody tr.scheduled').forEach(el => { = null = 'transparent'
mkody /
Last active May 4, 2018
Download videos from noco with puppeteer


You'll need wget and a recent nodejs. Maybe Chrome too.
Also make sure you've disabled the flash player and set your prefered quality in your Noco settings.

  • Create a list.txt text file with every episode links (not a show page!)
  • Fill your logins on lines 3 and 4 in nocodl.js
  • Install puppeteer: npm install puppeteer (or yarn add puppeteer)
  • Run the script node nocodl.js
mkody / openpgp.txt
Created Nov 23, 2016
Identité reliée à OpenKeychain
View openpgp.txt
Ce gist confirme l'identité reliée se trouvant dans ma clef OpenPGP et le relie à ce compte GitHub.
Jeton pour preuve :
[Verifying my OpenPGP key: openpgp4fpr:46e03856370035a4cb223730a0bbc25e7f92865b]
mkody / miam.php
Last active Aug 11, 2016
Random value, change every day
View miam.php
$what = [
"Saucisse de veau + frites",
"Nuggets + frites",
"Sandwich avec poulet panné + ketchup",
mkody / js-logview-thingspeak.html
Created Jul 13, 2016
Display last X content you sent to thingspeak
View js-logview-thingspeak.html
// === Configure the variables here ===
// our channel id
var channel_id = 134049
// how many entries to load
var entries_count = 5
// api key (read)
var api_key = 'TNKUVEP15UGJ8HIK'
// select date locale ('en' or 'fr-ch')
var date_locale = 'fr-ch'
View getHTTPCode.php
function getHTTPCode($code) {
switch($code) {
// From (2016-03-01)
case 100:
return '100 - Continue';
case 101:
return '101 - Switching Protocols';