Skip to content

Instantly share code, notes, and snippets.

View tsabat's full-sized avatar

Tim Sabat tsabat

View GitHub Profile
@tsabat
tsabat / index.html
Created November 9, 2012 04:16
A CodePen by Tim Sabat.
hi
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
worker_processes 4;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#!/bin/bash
# create, then go into the build directory
sudo mkdir -p /usr/local/src
cd /usr/local/src
# download, build, and install pcre
sudo curl -OL ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.31.tar.gz
sudo tar xvzf pcre-8.31.tar.gz
cd pcre-8.31
/Users/timsabat/Sites/doula/src/doula/<ipython-input-16-998d6f253004> in <module>()
----> 1 reload(j); p = j.PackageJava('userdal', '1.0')
/Users/timsabat/Sites/doula/src/doula/doula/models/package_java.py in __init__(self, name, version, remote)
4
5 def __init__(self, name, version, remote=''):
----> 6 super(Package, self).__init__(name, version, remote)
7
8 def update_version(self, repo, new_version):
ubuntu@ip-10-252-68-133:/mnt/mysql$ ls -al
total 3723416
drwxr-xr-x 7 mysql mysql 4096 2012-11-19 19:58 .
drwxr-xr-x 8 root root 4096 2012-09-06 14:15 ..
drwx------ 2 mysql mysql 4096 2012-11-08 23:53 codepen
drwx------ 2 mysql mysql 4096 2012-09-28 20:29 common_schema
drwxr-xr-x 2 mysql mysql 56 2012-08-23 18:14 data
-rw-rw---- 1 mysql mysql 3802136576 2012-11-19 19:58 ibdata1
-rw-rw---- 1 mysql mysql 5242880 2012-11-19 19:58 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 2012-11-19 16:53 ib_logfile1
mysql> \s
--------------
mysql Ver 14.14 Distrib 5.5.28, for debian-linux-gnu (x86_64) using readline 6.2
Connection id: 7
Current database:
Current user: root@localhost
SSL: Not in use
@tsabat
tsabat / checksum.md
Created November 22, 2012 21:05
checksum
ec2-54-245-38-152.us-west-2.compute.amazonaws.com tar: 
ec2-54-245-38-152.us-west-2.compute.amazonaws.com Removing leading `/' from member names
ec2-54-245-38-152.us-west-2.compute.amazonaws.com 
ec2-54-245-38-152.us-west-2.compute.amazonaws.com 20db66b3bd858b38c8ac312b62dbe947  -
ec2-54-245-26-68.us-west-2.compute.amazonaws.com  tar: 
ec2-54-245-26-68.us-west-2.compute.amazonaws.com  Removing leading `/' from member names
ec2-54-245-26-68.us-west-2.compute.amazonaws.com  
ec2-54-245-26-68.us-west-2.compute.amazonaws.com  6a782d989d76ce0e2b6aebf6e5417aa4  -

get the source

git clone git://github.com/postgres/postgres.git
cd postgres/src/tutorial