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
javascript:(function(e,h){h=prompt('Enter hostname (return for localhost)');h=h||'localhost';e.setAttribute("src","http://"+h+":8081/target/target-script-min.js#anonymous");document.getElementsByTagName("body")[0].appendChild(e);}(document.createElement("script"))); |
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
<!DOCTYPE html> | |
<html><head> | |
<meta charset="utf-8"> | |
<title>Modules</title> | |
</head><body><script> | |
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
'#' + Math.floor(Math.random() * 0xffffff).toString(16); |
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
/* | |
Module $1 | |
${7:Description of $1.} | |
@author ${TM_FULLNAME} | |
created `date +%Y-%m-%d` | |
*/ | |
var ${1:module} = (function (${2:\$}) { | |
var ${5:bar}; | |
${4:function foo () { return bar; \} |
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
<!-- | |
Don't forget to add: | |
<html xmlns:v="urn:schemas-microsoft-com:vml"> | |
--> | |
<!--[if gte mso 9]> | |
<v:image xmlns:v="urn:schemas-microsoft-com:vml" style='behavior: url(#default#VML); | |
display: inline-block; | |
position: absolute; | |
height: ${1:100}px; | |
width: ${2:100}px; |
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 php | |
<?php | |
# John Hunter <https://github.com/johnhunter> | |
$path = getenv('TM_DROPPED_FILE'); | |
$path_parts = pathinfo($path); | |
$info = getimagesize($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
#!/usr/bin/env php | |
<?php | |
# John Hunter <https://github.com/johnhunter> | |
$path = getenv('TM_DROPPED_FILE'); | |
$path_parts = pathinfo($path); | |
$info = getimagesize($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
# git aliases | |
alias gs='git status' | |
alias ga='git add $1' | |
alias gb='git branch $1' | |
alias gcl='git clone $1' | |
alias gco='git checkout $1' | |
alias gm='git commit -m $1' | |
alias gma='git commit -am $1' | |
alias gph='git push' | |
alias gpl='git pull' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bookmarklets</title> | |
<style> | |
body { | |
background: #eee; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>ajax-error</title> | |
</head> | |
<body> | |
<pre id="output"></pre> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js"></script> | |
<script> |