I hereby claim:
- I am seizo3 on github.
- I am seizo (https://keybase.io/seizo) on keybase.
- I have a public key ASBzAfUiZS2EI08IYg_IM_klVXX_GjpRXFvyrp4R2L9wDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# test if the user is root | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
if [ -z "$1" ] | |
then |
module Scratch where | |
import Control.Monad | |
import Data.Char | |
import Data.List (genericLength) | |
import Data.Maybe (fromJust) | |
-- creates a palindrome of a list | |
palindrome :: [a] -> [a] | |
palindrome xs = xs ++ reverse xs |
twitch-videoad.js application/javascript | |
(function() { | |
if ( /(^|\.)twitch\.tv$/.test(document.location.hostname) === false ) { return; } | |
var realFetch = window.fetch; | |
window.fetch = function(input, init) { | |
if ( arguments.length >= 2 && typeof input === 'string' && input.includes('/access_token') ) { | |
var url = new URL(arguments[0]); | |
url.searchParams.forEach(function(value, key) { | |
url.searchParams.delete(key); | |
}); |