start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| import sys,csv | |
| for row in csv.reader(sys.stdin): | |
| print "\t".join(row) |
| <?php | |
| /** | |
| * @name Database class | |
| * @author Miguel Fermín | |
| * @copyright 2013 | |
| * @license MIT | |
| * @license http://opensource.org/licenses/MIT | |
| */ | |
| class DataBase { | |
| <?php | |
| /** | |
| * File: SimpleImage.php | |
| * Author: Simon Jarvis | |
| * Modified by: Miguel Fermín | |
| * Based in: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php | |
| * | |
| * This program is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU General Public License | |
| * as published by the Free Software Foundation; either version 2 |
| #!/usr/bin/env python | |
| """ | |
| Simple Indexer | |
| ================================= | |
| Author: Jon Hurlock, October 2011 | |
| This script basically crawls a domain (not just a page) and | |
| then extracts all links <a href=""></a>, and finds all links | |
| on that domain it also is able extract different file types |
| """Information Retrieval metrics | |
| Useful Resources: | |
| http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
| http://www.nii.ac.jp/TechReports/05-014E.pdf | |
| http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
| http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
| Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
| """ | |
| import numpy as np |
| ;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
| ;by doppelganger ([email protected]) | |
| ;This file is provided for your own use as-is. It will require the character rom data | |
| ;and an iNES file header to get it to work. | |
| ;There are so many people I have to thank for this, that taking all the credit for | |
| ;myself would be an unforgivable act of arrogance. Without their help this would | |
| ;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
| ;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
| //Uncomment both lines below if testing on an Xcode playground. | |
| //import XCPlayground | |
| //XCPSetExecutionShouldContinueIndefinitely() | |
| let url = NSURL(string: "http://www.stackoverflow.com") | |
| let task = NSURLSession.sharedSession().dataTaskWithURL(url) {(data, response, error) in | |
| println(NSString(data: data, encoding: NSUTF8StringEncoding)) | |
| } |