I hereby claim:
- I am nelsonsar on github.
- I am nelsonsar (https://keybase.io/nelsonsar) on keybase.
- I have a public key whose fingerprint is 805C CAFC D0AF F667 5939 2B4B 7895 35B2 4BDA 90D6
To claim this, I am signing this object:
<?php | |
$connection = new \AMQPConnection( | |
array( | |
'host' => '69.195.223.58', | |
'port' => 5672, | |
'vhost' => "/", | |
'login' => "dafitconf", | |
'password' => "dafiti", | |
) |
if [ -f /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash ]; then | |
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash | |
fi | |
source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh | |
GIT_PS1_SHOWUPSTREAM="auto" | |
GIT_PS1_SHOWCOLORHINTS="yes" | |
export PROMPT_COMMAND='__git_ps1 "\u@\h:\W" "\\\$ ";' |
SELECT CONCAT( 'DROP TABLE ', GROUP_CONCAT(table_name) , ';' ) | |
AS statement FROM information_schema.tables | |
WHERE table_name LIKE 'myprefix_%'; |
I hereby claim:
To claim this, I am signing this object:
<?php | |
abstract class Maybe | |
{ | |
abstract public function isNothing(); | |
abstract public function get(); | |
public static function fromValue($value) | |
{ | |
if (null === $value) { |
<?php | |
class Server | |
{ | |
private $socket = null; | |
public function create() | |
{ | |
$this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); |
function GoToTest(...) | |
let filename = expand('%:t:r') | |
let test_filename = filename."Test.php" | |
"You can use a folder to avoid tabf to open the wrong file | |
if a:0 > 0 | |
execute "tabf **/".a:1."/".test_filename | |
else | |
execute "tabf **/".test_filename | |
endif | |
endfunction |
<?php | |
class FibonacciValidator | |
{ | |
public function isFibonacci($number) | |
{ | |
$positiveVerification = (5 * pow($number, 2) + 4); | |
$negativeVerification = (5 * pow($number, 2) - 4); | |
return ($positiveVerification % 4 == 0 || $negativeVerification % 4 == 0); |
var tabs = require("sdk/tabs"); | |
tabs.on('open', function(tab) { | |
tab.index = tabs.activeTab.index + 1; | |
}); |
<?php | |
class SitemapDecorator extends Sitemap | |
{ | |
private $decoratedClass = null; | |
public function __construct(Sitemap $sitemap) | |
{ | |
$this->decoratedClass = $sitemap; | |
} |