It's now located in an actual repo:
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
function docker_exec { | |
name="${1?needs one argument}" | |
containerId=$(docker ps | awk -v app="$name" '$2 ~ app{print $1}') | |
if [[ -n "$containerId" ]]; then | |
docker exec -it $containerId bash | |
else | |
echo "No docker container with name: $name is running" | |
fi | |
} |
#Busy indicator backup solution:
This gist show how to make a replacement for the Ionic 1 Busy indicator
into Ionic 2 until the ionic staff creates the native one, relate to:
- Code pen ilustrating the ionic 1 version: http://codepen.io/chabelly/pen/xGdqbJ#0
- Ionic 1 docs about that component: http://ionicframework.com/docs/api/service/$ionicLoading/
- Video that shows how it looks in an ionic 2 deploy ready app, last 4 sec (hint, it is the one with spinning arrows): Ionic 2 loading replacement
##Pre-requisits
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.apocrathia.sickrage</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/python</string> | |
<string>/Users/ianyoung/Sites/Sickrage/SickBeard.py</string> |
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 ng="npm list -g --depth=0 2>/dev/null" | |
alias nl="npm list --depth=0 2>/dev/null" |
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
/* | |
* object.watch polyfill | |
* | |
* 2012-04-03 | |
* | |
* By Eli Grey, http://eligrey.com | |
* Public Domain. | |
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
*/ |