I hereby claim:
- I am xzero707 on github.
- I am xzero707 (https://keybase.io/xzero707) on keybase.
- I have a public key ASAA5Sg7IqA1pGLf3Utp582WPy4O5T-4tXdm5XZ-0QKd3go
To claim this, I am signing this object:
<?php | |
/* | |
HHVMinfo - phpinfo page for HHVM HipHop Virtual Machine | |
Author: _ck_ | |
License: WTFPL, free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
Version: 0.0.6 | |
* revision history | |
0.0.6 2014-08-02 display fix for empty vs zero | |
0.0.5 2014-07-31 try to determine config file from process command line (may not always work), style improvements |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
I use the first | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 |
#!/bin/sh | |
# Usage: git-detach <directory> <target> | |
# Creates a new Git repository at <target> from the contents of <directory> | |
# and its history. Does not remove the directory from its original repo. | |
# | |
# E.g.: suppose project/ is a Git repository with a subdirectory lib/, then | |
# git-detach project/lib/ standalone-lib/ | |
# creates a new repository standalone-lib/ holding the contents of project/lib/ | |
# as a separate repo. |
## Sublime Text 3 Serial key build is 3103 | |
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
B085E65E 2F5F5360 8489D422 FB8FC1AA |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Uses a binary search algorithm to locate a value in the specified array | |
* Due to internal function call overhead (count, floor), it might be inefficient to use on small arrays | |
* | |
* Original: | |
* @author Nicholas C. Zakas | |
* @see https://www.htmlgoodies.com/beyond/javascript/how-to-search-a-javascript-string-array-using-a-binary-search.html | |
* |
<?php | |
if (!function_exists('interface_exists')) { | |
die('PHP version too old'); | |
} | |
$throwables = listThrowableClasses(); | |
$throwablesPerParent = splitInParents($throwables); | |
printTree($throwablesPerParent); | |
if (count($throwablesPerParent) !== 0) { | |
die('ERROR!!!'); |
<?php | |
var_dump( | |
(empty('' . $x) && ($x == 'FA' && $x == 'LO' && $x == '103' && $x == '208')) | |
); |
<?php | |
/** | |
* We declare $x as init of anonymous class, which implements magic __toString() method | |
* @author Alexander Puharic <[email protected]> | |
*/ | |
$x = new class | |
{ | |
/** @var array */ | |
private $feed; |