This file contains hidden or 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 | |
function DoCURLMulti($urls, $options, $processFn, &$errors) | |
{ | |
$ch = array(); | |
$mh = curl_multi_init(); | |
foreach($urls as $urlID => $url) | |
{ | |
$cr = curl_init(); |
This file contains hidden or 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 | |
$this->container->get('doctrine') | |
->getConnection() | |
->getConfiguration() | |
->setSQLLogger(new \Doctrine\DBAL\Logging\EchoSQLLogger()) | |
; |
This file contains hidden or 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
find /Applications ~/Applications -maxdepth 3 -name "*.app" | while read a ; do echo; echo -n "$a ___ "; codesign -vd "${a}" 2>&1 | awk '/version/ {print $3}'; done | awk -F'___' '{print $2 " " $1}' | sort -u |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am jbafford on github. | |
* I am jbafford (https://keybase.io/jbafford) on keybase. | |
* I have a public key whose fingerprint is A73C 954B 97F3 987B CF6C 89F3 752C E872 A14E 6887 | |
To claim this, I am signing this object: |