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
// #protip: Save this as a Chrome Devtools snippet! | |
// http://www.briangrinstead.com/blog/devtools-snippets | |
Object.keys(window.localStorage).forEach(function (key) { | |
console.log(key, JSON.parse(window.localStorage[key])); | |
}); |
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
------------------------------------------------------------ | |
/usr/local/bin/pip run on Mon Dec 1 09:37:52 2014 | |
Downloading/unpacking tamper | |
Getting page https://pypi.python.org/simple/tamper/ | |
URLs to search for versions for tamper: | |
* https://pypi.python.org/simple/tamper/ | |
Analyzing links from page https://pypi.python.org/simple/tamper/ | |
Skipping link https://pypi.python.org/packages/any/t/tamper/tamper-0.10.macosx-10.9-intel.exe#md5=536fad086837b19def97f5a97b2f64cb (from https://pypi.python.org/simple/tamper/); unknown archive format: .exe | |
Skipping link https://pypi.python.org/packages/any/t/tamper/tamper-0.11.macosx-10.9-intel.exe#md5=19d1c8f8f5c34d372b61ba7a570dfa19 (from https://pypi.python.org/simple/tamper/); unknown archive format: .exe | |
Skipping link https://pypi.python.org/packages/any/t/tamper/tamper-0.12.macosx-10.9-intel.exe#md5=b38c08843afbde2b7f8aaa7946060db0 (from https://pypi.python.org/simple/tamper/); unknown archive format: .exe |
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
/* global global: true */ | |
function Constructor () { | |
this.instanceMethod(); | |
Constructor.staticMethod(); | |
function privateFunction () { | |
global.console.log('Hello, I am an internal function! XD'); | |
} | |
} |
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
/* global console: true */ | |
var module = (function () { | |
function privateFn () { | |
console.log('I am a private function!'); | |
return 8; | |
} | |
var privateVar; | |
return { |
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
{ | |
"savedAnimations": { | |
"__transientAnimation": { | |
"actorModel": { | |
"transformPropertyCollection": [ | |
{ | |
"x": 50, | |
"y": 489, | |
"millisecond": 0, | |
"isCentered": true, |
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
#!/bin/bash | |
COMPONENTS_PATH="app/scripts/components" | |
TEMP_FILE="/tmp/temp.js" | |
for COMPONENT in `ls $COMPONENTS_PATH`; do | |
COMPONENT_PATH="$COMPONENTS_PATH/$COMPONENT" | |
git mv $COMPONENT_PATH/main.js $COMPONENT_PATH/$COMPONENT.js | |
git mv $COMPONENT_PATH/view.js $COMPONENT_PATH/$COMPONENT-view.js | |
git mv $COMPONENT_PATH/template.mustache $COMPONENT_PATH/$COMPONENT-template.mustache |
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
for FILE in `ls`; do sass-convert $FILE > `echo $FILE | sed s/scss/sass/`; done |
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
<html> | |
<head> | |
<script type="text/javascript"> | |
// inits | |
var loopLimit = 100000000, | |
countLimit = 5, | |
wait = 500; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>index</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content="arcus"> | |
<!-- Date: 2010-08-04 --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> |
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
/* Cachey jQuery Plugin | |
* | |
* A collaboration between: | |
* | |
* Ross Davidson - draggor@gmail.com | |
* Jeremy Kahn - jeremyckahn@gmail.com | |
* Ben Mills - ben@bmdev.org | |
* | |
* To use, simply load this script after you load jQuery. As elements are selected, they are cached. | |
* When they are called again, the cached reference is called automatically, there is no DOM traversal. |