<meta name="viewport" content="width=device-width, minimal-ui">
- Install oh-my-zsh A community-driven framework for managing your zsh configuration. Includes 120+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, macports, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
This file contains 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
var _nyan = 0; | |
var __nyan = [[ | |
"+ o + o ", | |
" + o + + ", | |
"o + ", | |
" o + + + ", | |
"+ o o + o ", | |
"-_-_-_-_-_-_-_,------, o ", | |
"_-_-_-_-_-_-_-| /\\_/\\ ", | |
"-_-_-_-_-_-_-~|__( ^ .^) + + ", |
This file contains 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
var host = "wurstify.me"; | |
var pingInterval = 60000; // ms | |
var pingIntervalId = undefined; | |
var enabledSince = 0; | |
// source: http://stackoverflow.com/questions/736513/how-do-i-parse-a-url-into-hostname-and-path-in-javascript | |
var reURLInformation = new RegExp([ | |
'^(https?:)//', // protocol | |
'(([^:/?#]*)(?::([0-9]+))?)', // host (hostname and port) | |
'(/[^?#]*)', // pathname |
This file contains 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
Show hidden characters
{ | |
"Seti_ClosedFolder_dots": true, | |
"Seti_ClosedFolder_remove": true, | |
"Seti_ClosedFolder_same": true, | |
"Seti_SB_big": true, | |
"Seti_SB_bright": true, | |
"Seti_SB_med": true, | |
"Seti_in_4_a_treat": true, | |
"Seti_no_bar_undertabs": true, | |
"Seti_pad_3": true, |
I hereby claim:
- I am rdlh on github.
- I am rdlh (https://keybase.io/rdlh) on keybase.
- I have a public key whose fingerprint is 6B41 A6DC D0B2 7B37 6B5E 669A 1755 EDB5 EEDB 8C18
To claim this, I am signing this object:
This file contains 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
var dispatch = [{ referrer: 'referrer1.com', group_id: 1 }, { referrer: 'referrer2.com', group_id: 2 }, { referrer: 'referrer3.com', group_id: 3 }] | |
var results = $.grep(dispatch, function(e){ return e.referrer == document.referrer; }); | |
if(results.length == 0) { | |
_slaask.init("xxxxxxxxxxxxxxxxxxxxxxxxxxxx"); | |
} else { | |
_slaask.init("xxxxxxxxxxxxxxxxxxxxxxxxxxxx", { user_group_id: results[0].group_id }); | |
} |
This file contains 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
var i = 0 | |
$('.Grid-cell').each(function() { | |
i++ | |
var id = $(this).find('a').attr('href').split('/')[3] | |
setTimeout(function() { | |
window.open("https://thenounproject.com/icon/" + id + "/download/color/000000/svg/"); | |
}, i * 1000) | |
}) |
- Code for generating the user_hash value for Slaask's Identity verfication
- Based on http://www.jokecamp.com/blog/examples-of-creating-base64-hashes-using-hmac-sha256-in-different-languages/#ruby
- When creating this for mobile, the final output needs to be in lowercase (the web version accepts both upper and lower case)
- So Javascript code below should only be used for testing unless modified and used to run on a server
OlderNewer