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
| /* Modernizr 2.5.1 (Custom Build) | MIT & BSD | |
| * Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load | |
| */ | |
| ;window.Modernizr=function(a,b,c){function C(a){i.cssText=a}function D(a,b){return C(m.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a)if(i[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d||b):f}r |
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(k,h,L){function r(a){return w.call(a)=="[object Function]"}function s(a){return typeof a=="string"}function t(){}function A(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function m(){var a=u.shift();v=1;a?a.d?o(function(){(a.d=="c"?i.t:i.u)(a.j,0,a.e,a.x,a.f,1)},0):(a(),m()):v=0}function M(a,b,x,f,l,g,e){function p(c){if(!B&&A(d.readyState)&&(C.z=B=1,!v&&m(),d.onload=d.onreadystatechange=null,c)){a!="img"&&o(function(){D.removeChild(d)},50);for(var p in j[b])if(j[b].hasOwnProperty(p))j[b][p].onload()}} | |
| var e=e||i.a,d={},B=0,y=0,C={d:x,j:b,f:l,e:g,x:e};j[b]===1&&(y=1,j[b]=[],d=h.createElement(a));a=="object"?d.data=b:(d.src=b,d.type=a);d.width=d.height="0";d.onerror=d.onload=d.onreadystatechange=function(){p.call(this,y)};u.splice(f,0,C);a!="img"&&(y||j[b]===2?(D.insertBefore(d,E?null:n),o(p,e)):j[b].push(d))}function N(a,b,x,f,h){v=0;b=b||"j";s(a)?M(b=="c"?O:F,a,b,this.b++,x,f,h):(u.splice(this.b++,0,a),u.length==1&&m());return this}function G(){var a=i;a.h={load:N,b:0};return a}var q= |
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
| /*yepnope1.5.2|WTFPL*/ | |
| // yepnope.js | |
| // Version - 1.5.2 | |
| // | |
| // by | |
| // Alex Sexton - @SlexAxton - AlexSexton[at]gmail.com | |
| // Ralph Holzmann - @ralphholzmann - ralphholzmann[at]gmail.com | |
| // | |
| // http://yepnopejs.com/ | |
| // https://github.com/SlexAxton/yepnope.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
| /* Modernizr 2.5.1 (Custom Build) | MIT & BSD | |
| * Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load | |
| */ | |
| ;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d |
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
| /* Modernizr 2.5.1 (Custom Build) | MIT & BSD | |
| * Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load | |
| */ | |
| ;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bin |
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
| /* Modernizr 2.5.2 (Custom Build) | MIT & BSD | |
| * Build: http://www.modernizr.com/download/#-shiv | |
| */ | |
| ; | |
| window.Modernizr = (function( window, document, undefined ) { | |
| var version = '2.5.2', |
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 virtualenv_info { | |
| [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' | |
| } | |
| function hg_prompt_info { | |
| hg prompt --angle-brackets "\ | |
| < on %{$fg[magenta]%}<branch>%{$reset_color%}>\ | |
| < at %{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\ | |
| %{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}< | |
| patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null |
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
| Array.prototype.safeForEach = function ( fn ) { | |
| var len = this.length; | |
| for ( var cur = 0, cur < len; ++cur ) { | |
| for ( var i = 0; i < len; ++i ) { | |
| if ( this.hasOwnProperty[ i ] ) { | |
| if ( i === cur ) { | |
| fn && fn( this[ i ], i, this ); | |
| } | |
| } | |
| } |
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
| <script type="text/javascript"> | |
| (function() { | |
| ("#URL").change(function() { | |
| if ((this).val()) { | |
| window.open((this).val()); | |
| ("#formElement").submit(); | |
| } | |
| }); | |
| }); |
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
| gifify() { | |
| if [[ -n "$1" ]]; then | |
| if [[ $2 == '--good' ]]; then | |
| ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
| time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
| rm out-static*.png | |
| else | |
| ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
| fi | |
| else |