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:
I hereby claim:
To claim this, I am signing this object:
#! /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 |
#Mac OS X
#!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 |
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) |
puntos = 0 | |
while(1): | |
puntos++ | |
print "El perro de @mariomontes tiene: " + puntos + " de molón" | |
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{ |
<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" /> |