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
/* | |
Loading dot dot dot | |
*/ | |
body { | |
padding: 100px; | |
font-size: 62.5%; | |
} | |
.loading { |
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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/eojssfq/QG5m6cm3z/embedgist.js"></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
#!/bin/sh | |
# Usage: | |
# Open browser on all connected devices - | |
# ./devicelab.sh | |
# Open a url on all connected devices - | |
# ./devicelab.sh http://paul.kinlan.me/ | |
adb kill-server | |
port=9220 |
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/sh | |
OS=${OS:-`uname`} | |
if [ "$OS" = 'Linux' ] | |
then | |
update_file_timestamp() { | |
file_time=`git log --no-merges --format=%ai "$1" | head -n 1` | |
echo "change timestamp file $file_time $1" | |
touch -d "$file_time" "$1" | |
} |
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
/* SVG alternative to fittext.js */ | |
div { | |
width: 300px; | |
height: 150px; | |
float: left; | |
margin-right : 10px; | |
background: #f06; | |
font: bold 150% sans-serif; | |
text-shadow: 0 1px 2px rgba(0,0,0,.5); |