I hereby claim:
- I am guywithnose on github.
- I am guywithnose (https://keybase.io/guywithnose) on keybase.
- I have a public key ASBNoyz1yvOo0CXZHcs9BV_jlVfQlaVbmwluVmqVzAyqHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
PS="$(docker ps)" | |
echo "${PS}" | head -1 | sed 's/$/\t\t\t\t\tIP/' | |
LINES="$(echo "$PS" | sed '1d')" | |
IFS=$(echo -e '\n') | |
for LINE in $LINES | |
do | |
ID=$(echo "${LINE}" | awk '{print $1}') | |
IP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' "${ID}") | |
echo -e "${LINE}\t${IP}" |
#!/bin/bash -e | |
#### | |
# Helper script to update the Last modified timestamp of files in a Git SCM | |
# Projects working Copy | |
# | |
# When you clone a Git repository, it sets the timestamp of all the files to the | |
# time when you cloned the repository. | |
# | |
# This becomes a problem when you want the cloned repository, which is part of a | |
# Web application have a proper cacheing mechanism so that it can re-cache files |
#!/bin/bash -e | |
#### | |
# Helper script to update the Last modified timestamp of files in a Git SCM | |
# Projects working Copy | |
# | |
# When you clone a Git repository, it sets the timestamp of all the files to the | |
# time when you cloned the repository. | |
# | |
# This becomes a problem when you want the cloned repository, which is part of a | |
# Web application have a proper cacheing mechanism so that it can re-cache files |
alias cb='git rev-parse --abbrev-ref HEAD' |
// ==UserScript== | |
// @name Nebulous OAuth | |
// @namespace autoForm | |
// @include https://apis.traderonline.com/* | |
// @include https://api-dev.traderonline.com/* | |
// @include http://apis.traderonline.com/* | |
// @include http://api-dev.traderonline.com/* | |
// @include http://nebulous.local/* | |
// @include http://nebulous.testing/* | |
// @grant none |
if [ $# == 0 ] | |
then | |
git diff `git merge-base HEAD {defaultRemote}/master` --name-only | |
else | |
if [ $# == 1 ] | |
then | |
git diff `git merge-base HEAD $1/master` --name-only | |
else | |
git diff `git merge-base HEAD $1/$2` --name-only | |
fi |