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
| :: INI File Utilities | |
| :: | |
| :: Copyright 2011, [neocotic](http://github.com/neocotic) | |
| :: Released under the MIT License | |
| :: http://en.wikipedia.org/wiki/MIT_License | |
| @echo off | |
| setLocal enableDelayedExpansion | |
| :: Declares required constants |
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
| :: Time Difference Calculator | |
| :: | |
| :: Copyright 2011, [neocotic](http://github.com/neocotic) | |
| :: Released under the MIT License | |
| :: http://en.wikipedia.org/wiki/MIT_License | |
| @echo off | |
| setLocal enableDelayedExpansion | |
| :: To be returned when script ends |
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
| // JavaScript padEven | |
| // (c) 2011 [neocotic](http://github.com/neocotic) | |
| // Released under the MIT License | |
| // http://en.wikipedia.org/wiki/MIT_License | |
| function padEven(str, delim, maxLineLen) { | |
| delim = delim || ','; | |
| maxLineLen = maxLineLen || 80; | |
| str = str || ''; | |
| var | |
| arr = [], |
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
| // Simple JSONP support | |
| // (c) 2011 [neocotic](http://github.com/neocotic) | |
| // Released under the MIT License | |
| // http://en.wikipedia.org/wiki/MIT_License | |
| (function (root) { | |
| var previousJSONP = root.JSONP; | |
| root.JSONP = { | |
| __callbacks : {}, | |
| get : function (url, callback, context) { | |
| var |
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
| # (c) 2012 [neocotic](http://github.com/neocotic) | |
| # Freely distributable under the MIT license. | |
| # Private constants | |
| # ----------------- | |
| # Code for extension's analytics account. | |
| ACCOUNT = 'UA-12345678-1' | |
| # Source URL of the analytics script. | |
| SOURCE = 'https://ssl.google-analytics.com/ga.js' |
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
| (function ($) { | |
| var html5Events = [ | |
| 'afterprint', | |
| 'beforeprint', | |
| 'canplay', | |
| 'canplaythrough', | |
| 'contextmenu', | |
| 'drag', | |
| 'dragend', |
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
| # Override bash prompt depending on colors being enabled and if you are root | |
| if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
| if [ $(id -u) -eq 0 ]; then | |
| PS1=$'\u@\h:\W\[$(tput setaf 2)\]$(__git_ps1 " (%s)")\[$(tput sgr0)\] \[$(tput setaf 1)\]\xCE\xBB\[$(tput sgr0)\] ' | |
| else | |
| PS1=$'\u@\h:\W\[$(tput setaf 2)\]$(__git_ps1 " (%s)")\[$(tput sgr0)\] \xCE\xBB ' | |
| fi | |
| fi |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| [alias] | |
| co = checkout | |
| cob = "!f() { git checkout -B $1; }; f" | |
| br = branch | |
| ci = commit | |
| sh = stash | |
| st = status | |
| unstage = reset HEAD -- | |
| last = log -1 HEAD | |
| undo = checkout -- . |
OlderNewer