I hereby claim:
- I am kuatsure on github.
- I am kuatsure (https://keybase.io/kuatsure) on keybase.
- I have a public key whose fingerprint is 704B 8476 90F1 7057 42AB 51FD 3F35 83B7 797C 35EF
To claim this, I am signing this object:
// Released under MIT license: http://www.opensource.org/licenses/mit-license.php | |
$('[placeholder]').focus(function() { | |
var input = $(this); | |
if (input.val() == input.attr('placeholder')) { | |
input.val(''); | |
input.removeClass('placeholder'); | |
} | |
}).blur(function() { | |
var input = $(this); |
body{background:red}/*! normalize.css v2.0.1 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}butt |
for elmt , i in array | |
console.log i, elmt |
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<title>{{ page.title }} - {{ site.name }}</title> | |
<meta charset='utf-8'> |
# pretty colors! | |
for code in {0..255}; do echo -e "$(tput setaf $code)\e[38;05;${code}m $code: Test"; done |
python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "8000" |
jsWarrior.turn = function(warrior) { | |
if ( warrior.check() == "empty" ) { | |
if ( warrior.curr == 20 ) { | |
warrior.walk() | |
} else { | |
if ( warrior.getHealth() < warrior.curr ) { | |
warrior.walk() | |
} else { |
I hereby claim:
To claim this, I am signing this object:
Here are some resources you will find useful while getting familiar with Ember.
// ---- | |
// Sass (v3.4.0.rc.1) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$wrapper: ".thing"; | |
@mixin when-drawer-is-open { | |
@at-root #{selector-replace(&, | |
"#{$wrapper}", |