I hereby claim:
- I am josephscott on github.
- I am josephscott (https://keybase.io/josephscott) on keybase.
- I have a public key whose fingerprint is 912B 4680 F0A0 DC42 FD0C EF69 6A6C 2181 AED8 EEFC
To claim this, I am signing this object:
<?php | |
require 'PasswordHash.php'; | |
$hasher = new PasswordHash( 8, FALSE ); | |
$password1 = '012345678901234567890123456789012345678901234567890123456789012345678901'; | |
$password2 = $password1 . 'Z'; | |
echo "PASS1 : {$password1}\n"; | |
$hash1 = $hasher->HashPassword( $password1 ); | |
echo "HASH1 : {$hash1}\n"; |
<?php | |
class Test { | |
public $name; | |
public $city; | |
public $state; | |
public function __construct( $name, $city, $state ) { | |
$this->name = $name; | |
$this->city = $city; | |
$this->state = $state; |
<?php | |
$test_me = new StdClass(); | |
$test_me->name = 'Joseph Scott'; | |
$test_me->city = 'Sandy'; | |
$test_me->state = 'Utah'; | |
echo "MEM: " . memory_get_peak_usage() . "\n"; |
<?php | |
$test_me = array(); | |
$test_me['name'] = 'Joseph Scott'; | |
$test_me['city'] = 'Sandy'; | |
$test_me['state'] = 'Utah'; | |
echo "MEM: " . memory_get_peak_usage() . "\n"; |
<?php | |
$test_me = array( | |
'name' => 'Joseph Scott', | |
'city' => 'Sandy', | |
'state' => 'Utah', | |
); | |
echo "MEM: " . memory_get_peak_usage() . "\n"; |
#!/bin/sh | |
# adapted from https://github.com/mat/dotfiles/blob/master/bin/curlt | |
curl_format='{ | |
"time_namelookup": %{time_namelookup}, | |
"time_connect": %{time_connect}, | |
"time_appconnect": %{time_appconnect}, | |
"time_pretransfer": %{time_pretransfer}, | |
"time_redirect": %{time_redirect}, | |
"time_starttransfer": %{time_starttransfer}, |
Verifying myself: My Bitcoin username is +josephscott. https://onename.io/josephscott |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
NGINX_VER=1.7.7 | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential zlib1g-dev libpcre3 libpcre3-dev libbz2-dev libssl-dev tar unzip openssl | |
mkdir -p dev/nginx | |
cd dev/nginx | |
curl -O http://nginx.org/download/nginx-${NGINX_VER}.tar.gz |
GNU gdb (GDB) 7.4.1-debian | |
Copyright (C) 2012 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... | |
Reading symbols from /usr/bin/hhvm...done. |