I hereby claim:
- I am asgrim on github.
- I am asgrim (https://keybase.io/asgrim) on keybase.
- I have a public key whose fingerprint is 9561 1CC3 ABF3 B80A 0646 9529 A9FA 0974 0C21 7917
To claim this, I am signing this object:
<?php | |
require_once('shared.php'); | |
$user = 'james'; | |
$sig = generateSignature($user); | |
sleep(1); |
Requested: 281 UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 72 UA: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 60 UA: Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US) | |
Requested: 47 UA: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 44 UA: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 35 UA: Mozilla/5.0 (Windows NT 6.0; rv:25.0) Gecko/20100101 Firefox/25.0 | |
Requested: 30 UA: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b | |
Requested: 28 UA: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0 | |
Requested: 20 UA: Mozilla/5.0 (MSIE 9.0; Windows NT 6.1; Trident/5.0) | |
Requested: 20 UA: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko Firefox/11.0 |
Mozilla/5.0 (Linux; U; Android 2.2.1; en-us; NOOK BNRV200 Build/ERD79 1.4.3) Apple WebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 | |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) | |
VPNGate/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/DD460D | |
Mozilla/4.0 | |
Huawei/1.0/HUAWEI-G7300 Browser/Opera MMS/1.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 Opera/9.80 (MTK; U; en-US) Presto/2.5.28 Version/10.10 | |
CaptiveNetworkSupport-277 wispr | |
Mozilla/5.0 (compatible; aiHitBot/2.8; +http://endb-consolidated.aihit.com/) | |
SAMSUNG-GT-E2252/E2252DDLG2 NetFront/4.2 Profile/MIDP-2.0 Configuration/CLDC-1.1 | |
AT-AS40SE Linux/3.0.13 Android/4.0.4 Release/04.10.2013 Browser/AppleWebKit534.30 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/534.30 Android 4.0.1; | |
LG-C395/V10e Obigo/Q7.3 Profile/MIDP-2.1 Configuration/CLDC-1.1 |
if (is_null($lastError)) | |
{ | |
$lastError = error_get_last(); | |
if (null === $lastError || $lastError['message'] == '') | |
{ | |
return false; | |
} | |
} | |
$errors = array(E_ERROR, E_USER_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, E_STRICT); |
<?php | |
$browscap = new BrowscapPHP($cacheDir); | |
$browscap->remoteIniUrl = 'http://browscap.org/stream?q=Full_PHP_BrowsCapINI'; | |
$browscap->remoteVerUrl = 'http://browscap.org/version'; | |
$browscap->getBrowser($ua); |
<?php | |
$client = new \Github\Client(); | |
$clientId = '...'; | |
$clientSecret = '...'; | |
$client->authenticate($clientId, $clientSecret, \Github\Client::AUTH_URL_CLIENT_ID); | |
$client->api('user')->repositories('edgroup'); | |
<?php | |
namespace My\Form; | |
use Zend\Form\Form as ZendForm; | |
use Zend\InputFilter\InputFilterProviderInterface; | |
use Zend\ServiceManager\ServiceLocatorAwareInterface; | |
use Zend\ServiceManager\ServiceLocatorAwareTrait; | |
abstract class AbstractForm |
275ms (opcache + stat off + super) | |
280ms (opcache + stat off) | |
280ms (opcache + stat on + super) | |
295ms (opcache + stat on) | |
380ms (super) | |
410ms (nothing) |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// gumf at the top | |
class Foo extends AbstractActionController | |
{ | |
public function someCommonLogic() | |
{ | |
if ($something) { | |
return $this->redirect()->toRoute('someRoute'); | |
} |