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
/** | |
* Isotope v1.0.110325 | |
* An exquisite jQuery plugin for magical layouts | |
* http://isotope.metafizzy.co | |
* | |
* Commercial use requires one-time license fee | |
* http://metafizzy.co/#licenses | |
* | |
* Copyright 2011 David DeSandro / Metafizzy | |
*/ |
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
# sync up | |
rsync -rav -e "ssh -l username" /local/path/ server.com:path/ | |
# sync down | |
rsync -rav -e "ssh -l username" server.com:path/ /local/path/ |
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
(function(){ | |
var pres = document.getElementsByTagName('pre'); | |
if ( !pres.length || document.body.querySelectorAll('*').length !== 1 ) { | |
return; | |
} | |
// Copyright (C) 2006 Google Inc. | |
// |
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
// options | |
String imagePath = "img/desandro-avatar.jpg"; | |
float res = 10; // resolution, dot density | |
float zoom = 3.0; // proportion to zoom image | |
boolean isAdditive = true; // true = RGB, false = CMY | |
float offsetAngle = 1; // affects dot pattern | |
/* | |
0 = no patter | |
0.05 = slight offset | |
1 = slight offset |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
img { | |
-webkit-transition: all .5s ease; | |
-webkit-filter: hue-rotate(0); | |
} | |
img:hover { |
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
/* 3D perspective inheritance */ | |
#container { | |
width: 320px; | |
height: 50px; | |
background: blue; | |
margin-top: 100px; | |
-webkit-perspective: 800; | |
-webkit-perspective-origin: 160px 240px; | |
} |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
ul { | |
border: 3px dotted; | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
display: -webkit-box; |
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
/** | |
* acko.net 3D object scrolling | |
* <3<3 Steven Wittens | |
*/ | |
body { | |
font-family: sans-serif; | |
} |
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
/** | |
* acko.net 3D object scrolling | |
* <3<3 Steven Wittens | |
*/ | |
body { | |
font-family: sans-serif; | |
} |
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
/** | |
* Chrome 3D transform translateZ bug | |
*/ | |
#env { | |
width: 200px; | |
height: 200px; | |
border: 2px solid; | |
-webkit-perspective: 1000; |