I hereby claim:
- I am fosron on github.
- I am fosron (https://keybase.io/fosron) on keybase.
- I have a public key ASANGqdHxybtaKabkC7fVBK-O8Fg_eAm8nmjqg15Id7MYQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
There are a number of solutions for installing supervisord and automatically running it on Ubuntu - this is what worked for me (on multiple installations...).
sudo bash < <(curl https://gist.githubusercontent.com/fosron/6a71c4dbb20eed463d764aa4c5799b22/raw/full-install.sh)
There are a number of solutions for installing supervisord and automatically running it on Ubuntu - this is what worked for me (on multiple installations...).
sudo bash < <(curl https://gist.githubusercontent.com/alexhayes/814fd0d0f7020e918a95/raw/full-install.sh)
<?php | |
namespace App\Traits; | |
use Monolog\Formatter\FormatterInterface; | |
use Monolog\Formatter\JsonFormatter; | |
use Monolog\Formatter\LineFormatter; | |
use Monolog\Handler\RotatingFileHandler; | |
use Monolog\Logger; | |
use Monolog\Processor\GitProcessor; |
# .bash_profile | |
# colors for shell | |
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
# start aliases | |
# git commamands simplified |
<?php | |
<<<CONFIG | |
packages: | |
- "league/color-extractor: 0.3.*" | |
CONFIG; | |
use League\ColorExtractor\Color; | |
use League\ColorExtractor\ColorExtractor; | |
use League\ColorExtractor\Palette; |
var timer = function(name) { | |
var start = new Date(); | |
return { | |
stop: function() { | |
var end = new Date(); | |
var time = end.getTime() - start.getTime(); | |
console.log('Timer:', name, 'finished in', time, 'ms'); | |
} | |
} | |
}; |
<?php | |
# Cron job command for Laravel 4.2 | |
# Inspired by Laravel 5's new upcoming scheduler (https://laravel-news.com/2014/11/laravel-5-scheduler) | |
# | |
# Author: Soren Schwert (GitHub: sisou) | |
# | |
# Requirements: | |
# ============= | |
# PHP 5.4 |