This file contains hidden or 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
function _Function(path) { | |
let fn = () => {}; | |
const split = path.split('.'); | |
const $iframe = document.createElement('iframe'); | |
$iframe.src = 'about:blank'; | |
document.body.appendChild($iframe); | |
fn = $iframe.contentWindow; | |
for (let i=0; i<split.length; i++) { |
This file contains hidden or 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 iPad Dark Theme | |
// @namespace Darkenvy | |
// @version 0.1 | |
// @description Makes the web dark | |
// @author Darkenvy | |
// @match http://*/* | |
// @match https://*/* | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
bvs1ness | |
serv1ces | |
pr0dvcts | |
s0ftware | |
research | |
c0mments | |
nat10nal | |
1nternet | |
sh1pp1ng | |
reserved |
This file contains hidden or 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
if [ ! $1 ] || [ ! $2 ] | |
then | |
echo "---------------------------------------" | |
echo "WARNING. Will write to drive" | |
echo "" | |
echo "Command Syntax: ./fake-sd-check DRIVE GB-SIZE" | |
echo " example: ./fake-sd-check /dev/disk3 32" | |
echo "---------------------------------------" | |
exit | |
fi |
This file contains hidden or 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 os, subprocess | |
inDir = 'ka-lite-en/content/' | |
outDir = 'ka-lite-en-converted/content/' | |
ffmpeg = [ | |
"ffmpeg", | |
"-i", | |
"in.mp4", | |
"-r", | |
"15", |
This file contains hidden or 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
#! /bin/bash | |
#Created by Reno McKenzie (darkenvy) | |
wget https://nodejs.org/dist/v6.9.5/node-v6.9.5-linux-armv6l.tar.xz | |
tar xf node-v6.9.5-linux-armv6l.tar.xz | |
cd node-v6.9.5-linux-armv6l | |
sudo cp -R * /usr/local/ | |
ln -s /usr/local/bin/node /usr/sbin/node | |
ln -s /usr/local/bin/npm /usr/sbin/npm |