I hereby claim:
- I am gwoo on github.
- I am gwoo (https://keybase.io/gwoo) on keybase.
- I have a public key whose fingerprint is 1432 AC37 ACC4 0D68 D0DF D2D6 9CAB DA29 7F27 F7A8
To claim this, I am signing this object:
This file contains 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
#!/usr/bin/env bash | |
cd /usr/bin | |
rm gmon-linux-amd64 gmon | |
curl -C - -O -L -k github.com/gwoo/gmon/releases/download/v0.2/gmon-linux-amd64 | |
chmod a+x /usr/bin/gmon-linux-amd64 | |
ln -s /usr/bin/gmon-linux-amd64 /usr/bin/gmon | |
touch /etc/gmon.json |
This file contains 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
[alias] | |
co = checkout | |
st = status | |
up = pull --rebase | |
chp = cherry-pick | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short)' |
This file contains 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 | |
namespace app\tests\cases\controllers; | |
use app\controllers\UsersController; | |
use app\models\Users; | |
use lithium\action\Request; | |
use lithium\data\Connections; | |
class UsersControllerTest extends \lithium\test\Integration { |
This file contains 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
parse_git_path() { | |
repo=$(git rev-parse --git-dir 2>/dev/null) | |
if [ -n $repo ] | |
then | |
repo=$(echo $repo | sed 's/.git$//') | |
if [ -z $repo ] | |
then | |
repo=$PWD | |
else | |
home=$HOME |
This file contains 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
Media::applyFilter('encode', function($self, $params, $chain) { | |
foreach ($params['data'] as $key => $value) { | |
if ($value instanceof \lithium\data\Collection) { | |
$params['data'][$key] = array_values($value->to('array')); | |
} | |
} | |
return $chain->next($self, $params, $chain); | |
}); |
This file contains 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
## Angular modules | |
http://ngmodules.org/ | |
http://angular-ui.github.com/ | |
http://angular-ui.github.com/bootstrap/ | |
## Angular resources | |
John Lindquist Videos: | |
http://egghead.io |
This file contains 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 | |
namespace moneygram\extensions\imagine; | |
class ReflectionFilter implements \Imagine\Filter\FilterInterface | |
{ | |
private $imagine; | |
public function __construct(\Imagine\Image\ImagineInterface $imagine) | |
{ |
NewerOlder