start new:
tmux
start new with session name:
tmux new -s myname
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
#!/usr/bin/env python | |
"""MailBox class for processing IMAP email. | |
(To use with Gmail: enable IMAP access in your Google account settings) | |
usage with GMail: | |
import mailbox |
#!/usr/bin/env python | |
# Adding the current directory to the Python path is easy: | |
import os | |
import sys | |
this_dir = os.path.dirname(__file__) | |
sys.path.insert(0, this_dir) | |
# Now that the Python path includes the current directory, any | |
# application specific modules can be loaded just like this was |
/** | |
* Merge sort. | |
* | |
* By Chi Zeng (chi@chizeng.com) and compatriots who cared enough about CS50 to | |
* come to section. | |
* Oct. 8, 2013 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
/** | |
* Determine the mean of a list of integers in a file 'nums.txt'. | |
* One integer is on each line in the file. Writes the mean in a | |
* nicely formatted way into a file mean.txt. Will override | |
* mean.txt if it exists already. | |
* @author Chi Zeng (zeng@college.harvard.edu) + section-mates. | |
* Oct. 22, 2013 | |
*/ | |
#include <stdio.h> |