Skip to content

Instantly share code, notes, and snippets.

View tdurand's full-sized avatar

Thibault Durand tdurand

View GitHub Profile
@tdurand
tdurand / dabblet.css
Created February 6, 2015 16:38 — forked from stoikerty/dabblet.css
SVG alternative to fittext.js
/* 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);
#!/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"
}
#!/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
@tdurand
tdurand / tumblrscripts.html
Created November 25, 2012 11:40 — forked from vitorbal/tumblrscripts.html
Embed gists to Tumblr just by pasting the gist link directly
<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>
@tdurand
tdurand / dabblet.css
Created November 21, 2012 15:12 — forked from chriscoyier/dabblet.css
Loading dot dot dot
/*
Loading dot dot dot
*/
body {
padding: 100px;
font-size: 62.5%;
}
.loading {