I hereby claim:
- I am cthos on github.
- I am cthos (https://keybase.io/cthos) on keybase.
- I have a public key whose fingerprint is B85C 05E8 AC84 D63D 0652 5C6D C80C F249 F9D6 206C
To claim this, I am signing this object:
lspci | |
00:00.0 Host bridge: ATI Technologies Inc RX780/RX790 Chipset Host Bridge | |
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A) | |
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F) | |
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] | |
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller | |
00:12.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller | |
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller | |
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller | |
00:13.1 USB Controller: ATI Technologies Inc SB7x0 USB OHCI1 Controller |
<?php | |
error_reporting(0); | |
set_error_handler('custHandler'); | |
register_shutdown_function('shutdownHandler'); | |
function custHandler($errno, $errstr, $errfile, $errline, $errcontext) | |
{ | |
echo "Custom handler called."; |
<?php | |
error_reporting(E_ALL); | |
var_dump(ini_get('display_errors')); | |
var_dump(ini_get('error_reporting')); | |
//set_error_handler('custHandler'); | |
register_shutdown_function('shutdownHandler'); |
require 'ruble' | |
command 'Generate Entity Getter/Setters' do |cmd| | |
cmd.key_binding = 'M1+M2+G' | |
cmd.scope = 'source.php' | |
cmd.output = :replace_document | |
cmd.input = :document | |
cmd.invoke do |context| | |
file = context.TM_SELECTED_FILES.match(/([a-zA-Z0-9]+)\.php/)[1] | |
line = STDIN.read | |
columns = line.scan(/@Column\(name="([^"]+)", type="([^"]+)"/) |
<?php | |
$test_url = 'https://gist.github.com/2286656'; | |
$bits = explode('/', $test_url); | |
$id = array_pop($bits); | |
$raw_url = 'https://raw.github.com/gist/' . $id; | |
$ch = curl_init($raw_url); |
function git-push-all() { | |
for i in `git remote`; do | |
echo "Pushing to $i" | |
git push $i $1 | |
done | |
} |
string(11) "Phase is 0." | |
array(5) { | |
[0]=> | |
string(51) "/home/vagrant/.composer/vendor/drush/drush/commands" | |
[1]=> | |
string(25) "/usr/share/drush/commands" | |
[2]=> | |
string(20) "/home/vagrant/.drush" | |
[3]=> | |
string(14) "/var/www/drush" |
I hereby claim:
To claim this, I am signing this object:
foreach ($arr as $key => $val) { | |
if (!is_numeric($key)) { | |
continue; | |
} | |
// do stuff here. | |
} |