Meus Contatos:
- http://github.com/davidsonfellipe
- https://twitter.com/davidsonFellipe
- http://www.linkedin.com/in/fellipe
- http://fellipe.com/blog/
- https://www.facebook.com/fellipe
Links falados no Hangout:
function load(url, callback) { | |
var xhr = new XMLHttpRequest(); | |
xhr.onreadystatechange = onReady; | |
function onReady() { | |
if(xhr.readyState < 4 || xhr.status !== 200) { | |
return; |
Meus Contatos:
Links falados no Hangout:
$ workon default | |
$ brew install jpeg | |
$ pip install --upgrade --no-install PIL | |
$ vim $VIRTUAL_ENV/build/PIL/setup.py | |
-> JPEG_ROOT = '/usr/local/Cellar/jpeg/8d/' | |
-> FREETYPE_ROOT = libinclude('/usr/X11') |
#CSS FTW My way to face the challenge: Maintainable + Efficient + Optimized
##General
talk to your designer, and explain the impact of loading many sources.
##Tools
# capistrano | |
if which cap &> /dev/null; then | |
echo "==> Checking capistrano... OK" | |
else | |
echo "==> Installing capistrano (gem install capistrano)..." | |
sudo gem install capistrano | |
echo "==> OK" | |
fi |
if ! which mongod >/dev/null 2>&1 ; then | |
if which brew >/dev/null 2>&1 ; then | |
echo "==> Installing brew (brew update)..." | |
brew update | |
echo "==> Installing mongodb (brew install mongodb)..." | |
brew install mongodb | |
elif which port >/dev/null 2>&1 ; then | |
echo "==> Installing mongodb (port install mongodb)..." | |
port install mongodb | |
else |
(A && B) | |
//Always evaluate A | |
//If A is true, evaluate B | |
(A || B) | |
//Always evaluate A | |
//If A is false, evaluate B | |
(A, B) | |
//Always evaluate A |
var setDelay = (function(){ | |
var timeout = 0; | |
return function(callback, milliseconds){ | |
clearTimeout (timeout); | |
timeout = setTimeout(callback, milliseconds); | |
stable release: | |
$ git clone git://www.swi-prolog.org/home/pl/git/pl.git | |
or | |
development version: | |
git://www.swi-prolog.org/home/pl/git/pl-devel.git | |
$ cd pl-devel |