Skip to content

Instantly share code, notes, and snippets.

View yyolk's full-sized avatar
๐Ÿฏ
๐™ง๐™š๐™˜๐™ช๐™ง๐™จ๐™ž๐™ซ๐™š ๐™ฉ๐™–๐™ช๐™ฉ๐™ค๐™ก๐™ค๐™œ๐™ฎ

Joseph Chiocchi yyolk

๐Ÿฏ
๐™ง๐™š๐™˜๐™ช๐™ง๐™จ๐™ž๐™ซ๐™š ๐™ฉ๐™–๐™ช๐™ฉ๐™ค๐™ก๐™ค๐™œ๐™ฎ
View GitHub Profile
du -c | sort -n
@yyolk
yyolk / settings.json
Last active March 8, 2017 07:05
transmission settings.json on openele
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
@yyolk
yyolk / instructions.md
Created February 17, 2013 01:54
redis on ddwrt (tomato shibby)

MALLOC=libc make

@yyolk
yyolk / scpk
Last active December 14, 2015 02:59
simple helper for copying my ssh keys to new machines. ((useful if you're trying to deal with 10 pi's and reformat them almost every day))
#!/bin/bash
# simple script to get a ssh-key on a remote machine
# assumes you're using id_rsa as your identity file which is the default from `ssh-keygen`
# usage: ./scpk <[user@]host>
# ie: `./scpk pi@raspberrypi` or `./scpk raspberrypi`
# default to 'raspberrypi' if no host is provided
db.saveDoc(doc, {
success : function() { window.location = "http://gli.tc/h/0P3NR3P0_sample_gallery/email.php?email="+doc.email+"&multipass="+doc.multipass+"&author="+doc.author+"&title="+doc.title+"&url="+uurl},
error: function(){ alert("This link is already in the repo!");}
});
@yyolk
yyolk / gist:5062791
Created March 1, 2013 06:19
install rutorrent plugins
curl "https://rutorrent.googlecode.com/files/plugins-3.5.tar.gz" | sudo tar xzv
@yyolk
yyolk / guages.js
Created March 28, 2013 08:33
guages track all links from page
$('a').each(function(){$(this).click(function(){_gauges.push(['track']);})});
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgl - collada</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
font-family: Monospace;
background-color: #000000;
@yyolk
yyolk / .bashrc
Created April 8, 2013 03:51 — forked from henrik/.bashrc
alias chrome="open -a 'Google Chrome'"
alias nose="node server*"
alias noce="node server & chrome 'http://localhost:3000'"
alias ni="npm install"
alias cit="python $HOME/code/python/cit/cit.py"
alias byword='open -a Byword'
alias l="ls -G"
alias mkpdir="mkdir `date +%Y%m%d-%H%M`"
alias egrep='egrep --color=auto'
// ==UserScript==
// @name Play2xbmc
// @namespace brantje
// @description Adds a link to play videos from YouTube in XBMC.
// @date 2013-01-03
// @creator Sander B.
// @version 1.3.2
// @include *youtube.*/*
// @include https://rapidshare.com/#!download*
// @include https://*.rapidshare.com/#!download*