Skip to content

Instantly share code, notes, and snippets.

View yyolk's full-sized avatar
🍯
𝙧𝙚𝙘𝙪𝙧𝙨𝙞𝙫𝙚 𝙩𝙖𝙪𝙩𝙤𝙡𝙤𝙜𝙮

Joseph Chiocchi yyolk

🍯
𝙧𝙚𝙘𝙪𝙧𝙨𝙞𝙫𝙚 𝙩𝙖𝙪𝙩𝙤𝙡𝙤𝙜𝙮
View GitHub Profile
@yyolk
yyolk / router-init.sh
Created March 9, 2014 18:37
tomato router init scripts
echo "LABEL=OPTWARE /opt ext3 defaults 1 1" >> /etc/fstab
echo "LABEL=SWAP swap swap defaults 0 0" >> /etc/fstab
@yyolk
yyolk / yolkalert.coffee
Created August 17, 2014 00:29
A console.log() extension that I find convenient
root = exports ? this
yolkalert = (args...) ->
for a in args
console.log "[#{args.indexOf a}]: is #{typeof(a)}:",a
return false
root.yolkalert ?= yolkalert
#alias
root.ya ?= root.yolkalert
root.yay ?= root.yolkalert

Keybase proof

I hereby claim:

  • I am yyolk on github.
  • I am yolk (https://keybase.io/yolk) on keybase.
  • I have a public key whose fingerprint is 0430 334D ED0A 8CE2 DAA4 67D0 E014 3C92 36EB C47E

To claim this, I am signing this object:

bin certs deployment-root lib state vendor
LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng
var compiled, exFunc;
exFunc = (function() {
function exFunc() {}
constructor(function(path) {
this.url = path.replace(/[]/g, '/');
this.index = path;
if (path === home) {
this.url = '';
function Shuffle(o) {
for(var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o[i] = o[j], o[j] = x);
return o;
};
@yyolk
yyolk / gist:fbfe87aae7190600ff70
Last active August 29, 2015 14:25 — forked from andersonfreitas/gist:4355992
Installing nmon on Amazon Linux AMI

Installing nmon on Amazon Linux AMI

nmon is an excellent performance monitor for Linux systems.

Since Amazon Linux AMI is compatible with RHEL5, I've downloaded a binary RPM from:

http://pkgs.repoforge.org/nmon/

64bit

@yyolk
yyolk / bg.css
Last active August 29, 2015 14:27
Stylish trick
@-webkit-keyframes move {
0%, 100% {
background-position: 1000px 0;
}
50% {
background-position: -1000px 0;
}
}
* {
/*
Joseph Chiocchi
Word Flash
Description:
Takes some text, and flashes one word at a time to the screen.
*/
var text = $("#ccontent").text();