Skip to content

Instantly share code, notes, and snippets.

Paul Reinheimer preinheimer

Block or report user

Report or block preinheimer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Proxy HTTP Series
GET http://example.preinheimer.com/ip.php HTTP/1.1
Host: example.preinheimer.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
View switcher_config.json
{
"defaults":{
"username":"preinheimer_test"
},
"proxy_groups":{
"Canada":{
"Ottawa":{
"servers":[
{
"name":"Ottawa - IP 1",
View my gist
Verifying that +preinheimer is my blockchain ID. https://onename.com/preinheimer
View keybase.md

Keybase proof

I hereby claim:

  • I am preinheimer on github.
  • I am preinheimer (https://keybase.io/preinheimer) on keybase.
  • I have a public key whose fingerprint is 83A8 F889 39CC 47EC 98B8 C3C2 54D4 4908 49A8 3BD2

To claim this, I am signing this object:

View gist:1752739
<?php
//Run at least two of me in different terminal windows, they count independently
$val = 5;
apc_store('count_key', $val);
while(1)
{
$val = apc_inc('count_key');
echo "APC has: " . $val . "\n";
flush();
@preinheimer
preinheimer / gist:1752636
Created Feb 6, 2012
APC Command Line Test
View gist:1752636
<?php
if (apc_exists('count_key'))
{
$val = apc_inc('count_key');
}else
{
apc_store('count_key', 0);
$val = 0;
}
echo $val;
You can’t perform that action at this time.