This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Max time(s): 3 | |
Concurrency: 100, 200, 300, 500, 1000, 1200(failed), 1500(failed) | |
Server: heron.nctucs.net (Tokyo, Linode) | |
==================================================== | |
[Sat Sep 13 2014 10:59:17 GMT+0000 (UTC)] INFO Requests: 0, requests per second: 0, mean latency: 0 ms | |
[Sat Sep 13 2014 10:59:20 GMT+0000 (UTC)] INFO | |
[Sat Sep 13 2014 10:59:20 GMT+0000 (UTC)] INFO Target URL: http://pairs-api.herokuapp.com/ | |
[Sat Sep 13 2014 10:59:20 GMT+0000 (UTC)] INFO Max time (s): 3 | |
[Sat Sep 13 2014 10:59:20 GMT+0000 (UTC)] INFO Concurrency level: 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; architecture: x86 | |
; function: _init | |
0x8048414: 53 push ebx | |
0x8048415: 83 ec 08 sub esp, 0x8 | |
0x8048418: e8 23 01 00 00 call 0x8048540 <__x86_get_pc_thunk_bx> | |
0x804841d: 81 c3 e3 1b 00 00 add ebx, 0x1be3 | |
0x8048423: 8b 83 fc ff ff ff mov eax, dword [ ebx + 0xfffffffffffffffc ] | |
0x8048429: 85 c0 test eax, eax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; CODE (CALL) XREF 0x08048d2e (main) | |
/ function: fcn.080488fd (484) | |
| 0x080488fd fcn.080488fd: | |
| 0x080488fd 55 push ebp | |
| 0x080488fe 89e5 mov ebp, esp | |
| 0x08048900 56 push esi | |
| 0x08048901 53 push ebx | |
| 0x08048902 83ec60 sub esp, 0x60 | |
| 0x08048905 c70424e98e0408 mov dword [esp], str.Enteryourname | |
| 0x0804890c e8bffcffff call dword imp.printf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unix: image | |
git clone https://github.com/qrush/unix.git | |
cp simhv/BIN/pdp11 unix/tools/ | |
(cd unix; mkdir images; make) | |
image: simhv | |
wget http://unix-jun72.googlecode.com/files/images-20080625.tgz | |
tar -xf images-20080625.tgz | |
mv images-20080625 ./unix/images |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] !== 'on') { | |
if(!headers_sent()) { | |
header("Status: 301 Moved Permanently"); | |
header(sprintf( | |
'Location: https://%s%s', | |
$_SERVER['HTTP_HOST'], | |
$_SERVER['REQUEST_URI'] | |
)); | |
exit(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == "http") { | |
if(!headers_sent()) { | |
header("Status: 301 Moved Permanently"); | |
header(sprintf( | |
'Location: https://%s%s', | |
$_SERVER['HTTP_HOST'], | |
$_SERVER['REQUEST_URI'] | |
)); | |
exit(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main() | |
{ | |
char alpha_bin[4096]; | |
char invalid[]="BINSHbinsh"; | |
int i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
0804849c <_IO_stdin_used>: | |
80484a0: 31 c0 xor %eax,%eax | |
80484a2: 50 push %eax | |
80484a3: 68 2f 2f 73 68 push $0x68732f2f | |
80484a8: 68 2f 62 69 6e push $0x6e69622f | |
80484ad: 89 e3 mov %esp,%ebx | |
80484af: 50 push %eax | |
80484b0: 53 push %ebx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =========================================================================== # | |
# # | |
# .zshrc # | |
# Adapted from Tom Shen's zshrc # | |
# # | |
# Author: Jake Zimmerman # | |
# Email: [email protected] # | |
# # | |
# =========================================================================== # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install apache2 # web server | |
sudo aptitude install libapache2-mod-wsgi # wsgi | |
sudo a2enmod wsgi # enable wsgi |
OlderNewer