Skip to content

Instantly share code, notes, and snippets.


Joseph Chiocchi yyolk

Block or report user

Report or block yyolk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yyolk /
Created Mar 9, 2014
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 /
Created Aug 17, 2014
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
root.ya ?= root.yolkalert
root.yay ?= root.yolkalert

Keybase proof

I hereby claim:

  • I am yyolk on github.
  • I am 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:

View class example.js
var compiled, exFunc;
exFunc = (function() {
function exFunc() {}
constructor(function(path) {
this.url = path.replace(/[]/g, '/');
this.index = path;
if (path === home) {
this.url = '';
View Shuffle.js
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 / gist:fbfe87aae7190600ff70
Last active Aug 29, 2015 — forked from andersonfreitas/gist:4355992
Installing nmon on Amazon Linux AMI
View gist:fbfe87aae7190600ff70

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:


yyolk / bg.css
Last active Aug 29, 2015
Stylish trick
View bg.css
@-webkit-keyframes move {
0%, 100% {
background-position: 1000px 0;
50% {
background-position: -1000px 0;
* {
View word_flash.js
Joseph Chiocchi
Word Flash
Takes some text, and flashes one word at a time to the screen.
var text = $("#ccontent").text();
You can’t perform that action at this time.