- Authoring Ebooks: http://www.authoringebooks.com/
- Create Your Own Programming Language: http://createyourproglang.com/
- Exceptional Ruby: http://exceptionalruby.com/
- JavaScript Performance Rocks: http://javascriptrocks.com/performance/
- Redmine Tips: http://www.redminetips.com/
- The SPDY Book: http://spdybook.com/
- Rails 3 Upgrade Handbook: http://www.railsupgradehandbook.com/
- Refactoring Redmine: http://www.refactoringredmine.com/book/
- Bootstrapping Design: http://bootstrappingdesign.com/
- Recipes With Backbone:
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
<html> | |
<head> | |
<title>La cuadrilla</title> | |
<meta charset="UTF-8"> | |
<meta name="description" content="La Cuadrilla de Twittah!" /> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> | |
<script type="text/javascript" src="http://glasses-app.com/js/prettify.js"></script> | |
<script type="text/javascript" src="http://glasses-app.com/js/kickstart.js"></script> | |
<link rel="stylesheet" type="text/css" href="http://glasses-app.com/css/kickstart.css" media="all" /> | |
<link rel="stylesheet" type="text/css" href="http://glasses-app.com/style.css" media="all" /> |
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 checkLogin (req, res, next){ | |
if(req.session){ | |
if(req.session.email && req.session.password){ | |
User.findOne({email: req.session.email}, function (err, docs){ | |
if(err){ | |
res.render('err.jade'); | |
} else if (docs){ | |
if(docs.password == req.session.password){ | |
next(); | |
} else{ |
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
puntos = 0 | |
while(1): | |
puntos++ | |
print "El perro de @mariomontes tiene: " + puntos + " de molón" | |
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
import string | |
import random | |
import time | |
import math | |
def id_generator(size=6, chars=string.ascii_uppercase + string.digits): | |
return ''.join(random.choice(chars) for x in range(size)) | |
while 1: | |
print id_generator(int(random.random() * 10), string.ascii_uppercase); | |
time.sleep(1) |
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
#!usr/bin/sh | |
sudo DEBIAN_FRONTEND=noninteractive | |
# Installs Node, Python && Forever | |
apt-get -y update | |
apt-get -y -qq install python-software-properties python g++ make | |
add-apt-repository ppa:chris-lea/node.js | |
apt-get -y -qq update | |
apt-get -y -qq install nodejs |
#Mac OS X
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
#! /bin/bash | |
# Call Script -> curl https://gist.githubusercontent.com/alexperezpaya/9218805/raw/0ffe4f69a9cae16664cb781f01ef0497c784cc0c/install.sh | sudo DOMAIN=git.example.com DEB_URL=https://downloads-packages.s3.amazonaws.com/gitlab_6.6.0-pre1.omnibus.3-1.ubuntu.12.04_amd64.deb sh | |
sudo apt-get install openssh-server | |
sudo apt-get install postfix # sendmail or exim is also OK | |
sudo wget $DEB_URL | |
sudo dpkg -i gitlab*.deb # this is the .deb you downloaded | |
sudo gitlab-ctl reconfigure |
I hereby claim:
- I am alexperezpaya on github.
- I am alejandro (https://keybase.io/alejandro) on keybase.
- I have a public key whose fingerprint is 709D 4535 3311 672E AD24 8FD8 056E 4C21 68EC B882
To claim this, I am signing this object:
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
#! /usr/bin/sh | |
echo 'Becareful, this script is installing the latest version of nodejs' | |
wget http://node-arm.herokuapp.com/node_latest_armhf.deb | |
sudo dpkg -i node_latest_armhf.deb | |
node -v | |
sudo echo "deb http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi" >> /etc/apt/sources.list | |
sudo echo "deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi" >> /etc/apt/sources.list |
OlderNewer