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
var clickButton = function(actionElement) { | |
console.log('actionElement', actionElement); | |
$(actionElement).click(); | |
} | |
var defaultStats = { | |
'questions': { | |
'id': '#egg-stat-questions', | |
'action':clickButton.bind(null,'#egg-action-ask button') | |
}, |
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
# Description: | |
# emoji.coffee - Replaces :text: or text with emojis. | |
# Great for IRC or anywhere not already emojified. | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
$ru: ( | |
name: 'ru', | |
font-size: 12px, | |
font-family: "Helvetica", | |
letter-spacing: 1px | |
); |
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
var DEFAULT_VALUE = 'ru-ru'; | |
function toggle (language) { | |
language = (typeof language === 'undefined') ? DEFAULT_VALUE : language; | |
var currentLang = $('html').attr('lang'); | |
if (currentLang === 'en') { | |
$('html').attr('lang', language); | |
}else if (currentLang === language) { | |
$('html').attr('lang', 'en'); | |
} else { |
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
alias c=clear | |
function gulp() { clear; /Users/grahamh/npm/bin/gulp "$@" ;} | |
#alias mate='open -a TextMate.app' | |
export NVM_DIR="/Users/grahamh/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
export PATH=/Users/grahamh/.npm/bin:$PATH | |
export PATH=/Users/grahamh/npm/bin:$PATH |
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
#' This is a special R script which can be used to generate a report. You can | |
#' write normal text in roxygen comments. | |
#' | |
#' First we set up some options (you do not have to do this): | |
#+ setup, include=FALSE | |
library(knitr) | |
opts_chunk$set(fig.path = 'figure/silk-') | |
#' The report begins here. |
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
#!/usr/bin/env bash | |
# before: | |
# $> tree . | |
# . | |
# | |
# 0 directories, 0 files```` | |
# | |
# | |
# after: | |
# $> tree . |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>commands</key> | |
<array> | |
<dict> | |
<key>command</key> | |
<string>lowercaseWord:</string> | |
</dict> |
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
0:00:04.120,0:00:05.319 | |
magnetic tweets | |
0:00:05.319,0:00:09.889 | |
is a job base lot detecting | |
0:00:09.889,0:00:12.929 | |
Twitter it was created | |
0:00:12.929,0:00:16.359 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>commands</key> | |
<array> | |
<dict> | |
<key>command</key> | |
<string>selectAll:</string> | |
</dict> |