I hereby claim:
- I am Xerkus on github.
- I am xerkus (https://keybase.io/xerkus) on keybase.
- I have a public key whose fingerprint is 0685 C1EA 2A75 2A47 F205 1D9A 1C2A 28CA 4BA0 08D8
To claim this, I am signing this object:
| cd ~/workspace/laminas | |
| # clone | |
| gh repo list laminas --limit 999 --no-archived --json nameWithOwner --jq '.[]|.nameWithOwner' | xargs -I {} bash -c '[ ! -d $(basename {}) ] && echo -e "\n{}" && gh repo clone {} && (cd $(basename {}) && gh repo set-default {} && gh repo fork --remote)' | |
| # checkout moving default branch | |
| for repo in *; do (cd "${repo}" && echo -e "\n${repo}" && git fetch upstream && git remote set-head --auto upstream && git checkout --force $(git rev-parse --abbrev-ref upstream/HEAD | cut -d/ -f2-)); done | |
| # pull changes for checked out branch | |
| for repo in *; do (cd "${repo}" && echo -e "\n${repo}" && git pull upstream --ff-only); done |
| # shortform git commands | |
| alias g='git' | |
| # get a list of all commit messages for a repo | |
| git log --pretty=format:'%s' | |
| # find the nearest parent branch of the current git branch | |
| git show-branch -a | grep '\*' | grep -v `git rev-parse --abbrev-ref HEAD` | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//' | |
| # push changes to an empty git repository for the first time |
| sudo tree "$(sudo docker inspect --format '{{.GraphDriver.Data.UpperDir}}' <image>)" |
| #!/usr/bin/env php | |
| <?php | |
| $input = stream_get_contents(fopen("php://stdin", "r")); | |
| $files = explode("\n", $input); | |
| $treeFiles = []; | |
| foreach ($files as $file) { | |
| if (empty($file)) { | |
| continue; | |
| } |
| <?php | |
| /** | |
| * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository | |
| * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com) | |
| * @license http://framework.zend.com/license/new-bsd New BSD License | |
| */ | |
| namespace Application; | |
| use Zend\Mvc\ModuleRouteListener; |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace VendorNs\Silex\Provider; | |
| use VendorNs\Silex\View; | |
| use Silex\Application; | |
| use Silex\ServiceProviderInterface; | |
| use Zend\Form\View\HelperConfig as FormHelperConfig; | |
| use Zend\View\Helper\FlashMessenger; | |
| use Zend\View\Resolver as ViewResolver; |
| FROM fedora:23 | |
| MAINTAINER Xerkus | |
| RUN dnf -y upgrade && dnf clean all | |
| RUN dnf -y install \ | |
| vim \ | |
| vim-enhanced \ | |
| git \ | |
| && dnf clean all |
| export HISTSIZE="" | |
| if [ "$PS1" ]; then | |
| bind '"\e[A":history-search-backward' | |
| bind '"\e[B":history-search-forward' | |
| fi |
| sub cmd_winswitch { | |
| my ($data, $server, $witem) = @_; | |
| if ($data =~ /^\/([0-9]+)$/) { | |
| $server->command("win " . $1); | |
| Irssi::signal_stop(); | |
| } | |
| } | |
| Irssi::signal_add_first('send command', 'cmd_winswitch'); |