For best results, use hub and git bash completion (included with git under contrib/completion).
This file contains hidden or 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
| #!/bin/bash | |
| SERVER=https://api.no.de | |
| SCRIPT="$0" | |
| if [ ${SCRIPT:0:1} == "/" ]; then | |
| SCRIPT="$(basename -- "$SCRIPT")" | |
| fi | |
| main () { | |
| cmd=${1-help} |
This file contains hidden or 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
| // This might be useful for certain size-limited JS competitions, or not. #js | |
| function super_shrinkify( str ){ | |
| if ( str.length % 2 ) { | |
| str += ' '; | |
| } | |
| var prefix = '"', | |
| suffix = '".replace(/./g,function(a){a=a.charCodeAt();return String.fromCharCode(a>>7,a%128)})', | |
| str_bytes = unescape( encodeURIComponent( str ) ).length, |
NewerOlder