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
<script type="text/javascript" src="swfobject.js"></script> | |
<object id="candy_video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420"> | |
<param name="movie" value="myContent.swf" /> | |
<!--[if !IE]>--> | |
<object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420"> | |
<!--<![endif]--> | |
<!--[if !IE]>--> | |
</object> | |
<!--<![endif]--> |
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
<script> | |
$(function() { | |
$('input').placeholder(); | |
}); | |
</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
commit 238c29f0a7ee83aa4a361ad5452aaed375bfad39 | |
Author: Maurizio De Magnis <[email protected]> | |
Date: Mon Jul 18 18:58:40 2011 +0200 | |
news open | |
diff --git a/css/style.css b/css/style.css | |
index 07da609..5714673 100644 | |
--- a/css/style.css | |
+++ b/css/style.css |
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
puts "hello world" |
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
/* usage: | |
> Semaphore("task1").isOn() | |
false | |
> Semaphore("task1").on() | |
Semaphore.module | |
> Semaphore("task1").isOn() | |
true | |
> Semaphore("task1").off() | |
Semaphore.module | |
> Semaphore("task1").isOn() |
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
if(p.state == "text" || p.state == "swarm"){ | |
if(p.state == "swarm" && it){ | |
//allow the interactive particles to swarm around mouse | |
}else if(p.state == "text" && d < stirDist && it){ | |
//allow interactive text to swarm around mouse | |
}else{ | |
dX = x - m.destX; | |
dY = y - m.destY; | |
} | |
} |
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 ruby | |
# you could even use pbcopy: | |
# chmod +x akamai_urls.rb | |
# ./akamai_urls.rb | pbcopy | |
locales = %w(en fr es de ja hans hant it) | |
root_link = "http://www.prada.com/%s" | |
gallery_base_link = "http://www.prada.com/%s/real-fantasies-fw11/fantasy-lookbook" | |
gallery_link = "http://www.prada.com/%s/real-fantasies-fw11/fantasy-lookbook?index=%s" |
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
#!/bin/bash | |
# requires: | |
# git | |
# gist | |
# pbcopy | |
E_BADARGS=65 | |
if [ $# -ne 1 ] |
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
# source: http://goo.gl/BaVkQ | |
$ git log --name-status | |
# To delete a remote branch | |
$ git push origin :<branch_name> | |