Skip to content

Instantly share code, notes, and snippets.

View gist:1324546
if __main__():
start()
def start():
print "Hello world!"
View tmux.trace
execve("/usr/bin/tmux", ["tmux"], [/* 42 vars */]) = 0
brk(0) = 0x7f8d39f75000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8d38e17000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=130608, ...}) = 0
mmap(NULL, 130608, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8d38df7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
View home.log
2011/10/31 20:40:32 [error] 13880#0: *26 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 127.0.0.1, server: localhost, request: "GET /phpmyadmin HTTP/1.1", host: "localhost"
2011/10/31 20:40:32 [error] 13880#0: *27 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
View home.log
2011/10/31 20:59:09 [error] 14227#0: *34 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
View nginxerrors.nginx
## errors.log
2011/10/31 20:59:09 [error] 14227#0: *34 rewrite or internal redirection cycle while internal redirect to "/index.html", client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost"
## home.conf
server {
server_name localhost;
listen 127.0.0.1:80;
View home
server {
server_name localhost;
listen 127.0.0.1:80;
root /home/ivo/www/home;
index index.php index.html;
error_log /home/ivo/www/errors/home.log;
access_log /home/ivo/www/access/home.log;
View home
server {
server_name localhost;
listen 127.0.0.1:80;
root /home/ivo/www/home/public_html;
index index.php index.html;
error_log /home/ivo/www/home/error.log debug;
access_log /home/ivo/www/home/access.log;
View home
server {
server_name localhost;
listen 127.0.0.1:80;
root /home/ivo/www/home/public_html;
index index.php index.html;
error_log /home/ivo/www/home/error.log;# debug;
access_log /home/ivo/www/home/access.log;
View home
server {
server_name localhost;
listen 127.0.0.1:80;
root /home/ivo/www/home/public_html;
index index.php index.html;
error_log /home/ivo/www/home/error.log;# debug;
access_log /home/ivo/www/home/access.log;