Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| @course.route('/courses/<slug>_<id>/print/') | |
| @course.route('/courses/<slug>_<id>/') | |
| def show_course(slug=None, id=None): | |
| # how do I know whether /print was used, or just normal? | |
| pass | 
| #!/bin/bash | |
| echo "=============================================" | |
| echo "== Telegram Script Installer v 0.1 ==" | |
| echo "== ==" | |
| echo "== by Jalcaldea ==" | |
| echo "=============================================" | |
| echo "Downloading necesary files..." | 
| # install phantomjs | |
| cd /usr/local/share | |
| sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2 | |
| sudo tar xjf phantomjs-1.9.2-linux-x86_64.tar.bz2 | |
| sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/bin/phantomjs /usr/bin/phantomjs | |
| sudo apt-get install fontconfig | |
| # install casperjs | |
| cd /var/www/ | |
| git clone git://github.com/n1k0/casperjs.git | 
| git remote show origin | 
| #!/usr/bin/env python | |
| import base64 | |
| from Crypto import Random | |
| from Crypto.Cipher import AES | |
| BS = 16 | |
| pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
| unpad = lambda s : s[0:-ord(s[-1])] | 
| <?php | |
| $url = array ( | |
| 'http://youtu.be/dQw4w9WgXcA', | |
| 'http://www.youtube.com/embed/dQw4w9WgXcB', | |
| 'http://www.youtube.com/watch?v=dQw4w9WgXcC', | |
| 'http://www.youtube.com/?v=dQw4w9WgXcD', | |
| 'http://www.youtube.com/v/dQw4w9WgXcE', | |
| 'http://www.youtube.com/e/dQw4w9WgXcF', | |
| 'http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcG', | 
| /* | |
| * jQuery Double Tap | |
| * Developer: Sergey Margaritov (github.com/attenzione) | |
| * License: MIT | |
| * Date: 22.10.2013 | |
| * Based on jquery documentation http://learn.jquery.com/events/event-extensions/ | |
| */ | |
| (function($){ | 
| /** | |
| * ValidateSpanishID. Returns the type of document and checks its validity. | |
| * | |
| * Usage: | |
| * ValidateSpanishID( str ); | |
| * | |
| * > ValidateSpanishID( '12345678Z' ); | |
| * // { type: 'dni', valid: true } | |
| * | |
| * > ValidateSpanishID( 'B83375575' ); | 
| { | |
| "directory": "components" | |
| } |