This file contains 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
<?php | |
$client = new \Github\Client(); | |
$clientId = '...'; | |
$clientSecret = '...'; | |
$client->authenticate($clientId, $clientSecret, \Github\Client::AUTH_URL_CLIENT_ID); | |
$client->api('user')->repositories('edgroup'); | |
This file contains 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
<?php | |
$browscap = new BrowscapPHP($cacheDir); | |
$browscap->remoteIniUrl = 'http://browscap.org/stream?q=Full_PHP_BrowsCapINI'; | |
$browscap->remoteVerUrl = 'http://browscap.org/version'; | |
$browscap->getBrowser($ua); |
This file contains 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 (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); |
This file contains 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
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 |
This file contains 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
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 |
This file contains 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
<?php | |
require_once('shared.php'); | |
$user = 'james'; | |
$sig = generateSignature($user); | |
sleep(1); |
This file contains 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
<?php | |
namespace My\Logger; | |
use Psr\Log\LoggerInterface; | |
trait LoggerAwareTrait | |
{ | |
/** @var \Psr\Log\LoggerInterface */ | |
protected $logger; |
This file contains 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
;;; Provided courtesy of https://browsers.garykeith.com | |
;;; Created on Monday, July 29, 2013 at 10:22 PM UTC | |
;;; Keep up with the latest goings-on with the project: | |
;;; Follow us on Twitter <https://twitter.com/browscap>, or... | |
;;; Like us on Facebook <https://facebook.com/browscap>, or... | |
;;; Collaborate on GitHub <https://github.com/GaryKeith/browscap>, or... | |
;;; Discuss on Google Groups <https://groups.google.com/d/forum/browscap>. | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Browscap Version |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 2 columns, instead of 3 in line 1.
This file contains 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
2347,Mozilla/5.0 (compatible; monitis - premium monitoring service; http://www.monitis.com) | |
910,Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML, like Gecko) Version/7.2.1.0 Safari/536.2+ | |
678,checks.panopta.com | |
206,Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US); 0110120602120527 | |
89,ClickTale bot | |
41,AddThis.com robot [email protected] | |
35,Mozilla/5.0 (BB10; Kbd) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.2342 Mobile Safari/537.10+ | |
33,Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.2354 Mobile Safari/537.10+ | |
31,Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.10.690 Mobile Safari/537.10+ | |
25,Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.1720 Mobile Safari/537.10+ |
This file contains 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
<?php | |
namespace Vendor\Form; | |
use Zend\Form\Form; | |
use Zend\Form\Element; | |
use Zend\Form\Annotation\InputFilter; | |
use Zend\InputFilter\InputFilterProviderInterface; | |
class MyForm extends Form implements InputFilterProviderInterface |