I hereby claim:
- I am rattrap on github.
- I am rattrap (https://keybase.io/rattrap) on keybase.
- I have a public key whose fingerprint is 9002 F7C2 3DA8 D3BF 2F27 3539 1BA5 9F99 6E15 79FA
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "os" | |
| "strconv" | |
| "time" | |
| ) |
| require "bunny" | |
| # Start a communication session with RabbitMQ | |
| conn = Bunny.new("amqp://username:password@rabbit-server:5672/%2F") | |
| conn.start | |
| # open a channel | |
| ch = conn.create_channel | |
| # declare a queue |
| require "bunny" | |
| # Start a communication session with RabbitMQ | |
| conn = Bunny.new("amqp://username:password@rabbit-server:5672/%2F") | |
| conn.start | |
| # open a channel | |
| ch = conn.create_channel | |
| # declare a queue |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| // | |
| // Custom error handler | |
| // | |
| function new_error_handler($number, $message, $file, $line, $vars) { | |
| $message = " |
| <?php | |
| /** | |
| * @category Package | |
| * @package Namespace_Package | |
| * @license http://opensource.org/licenses/MIT | |
| * @author Leonard Mocanu <[email protected]> | |
| */ | |
| class Namespace_Package_Helper_Data extends Mage_Core_Helper_Abstract { |
| <?php | |
| function time_ago($time) { | |
| $time = time() - $time; | |
| if($time < 5) { | |
| return 'Just now'; |
| #!/bin/sh | |
| git filter-branch -f --env-filter ' | |
| an="$GIT_AUTHOR_NAME" | |
| am="$GIT_AUTHOR_EMAIL" | |
| cn="$GIT_COMMITTER_NAME" | |
| cm="$GIT_COMMITTER_EMAIL" | |
| if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ] |
| <?php | |
| class Request { | |
| /** | |
| * do_post | |
| * POST request | |
| * | |
| * @access public | |
| * @param string $url - url |