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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Simple HTML5</title> | |
</head> | |
<body> | |
</body> | |
</html> |
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
/* | |
Inline-block for IE6, Firefox 2, and up | |
via http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block | |
*/ | |
@module inbl { | |
display: -moz-inline-stack; | |
display: inline-block; | |
zoom: 1; | |
*display: inline; |
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
$ npm install -g n # Install n globally | |
$ n latest # Install latest version of node | |
$ n ls # List all versions available | |
$ n 0.10.28 # Install and switch to an earlier version |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 2, | |
"caret_extra_top": 2, | |
"caret_extra_width": 0, | |
"caret_style": "blink", | |
"color_scheme": "Packages/User/SublimeLinter/Tomorrow-Night-Eighties (SL).tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"find_selected_text": true, | |
"font_size": 12, |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
$(".element").on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd', | |
function() { | |
mafonction () | |
}); |
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
var $ = document.querySelectorAll.bind(document); | |
var $_ = document.querySelector.bind(document); |
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
## FILE : ~/.bashrc | |
## Add remotes for backups | |
# | |
# first, init bashrc : $ . ~/.bashrc | |
# | |
# USE : $ setallremotes projname.git | |
# THEN : $ git push all master | |
# | |
function setallremotes () { |
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
@font-face { | |
font-family: FontFamilyName; | |
font-weight: 200; | |
font-style: normal; | |
font-variant: normal; | |
src: url(../fonts/FontFamilyName_light.eot); | |
src: url(../fonts/FontFamilyName_light.eot?#stopIE678here) format("embedded-opentype"), | |
url(../fonts/FontFamilyName_light.woff) format("woff"), | |
url(../fonts/FontFamilyName_light.ttf) format("truetype") | |
} |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
OlderNewer