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(){ | |
if( document.cookie.indexOf('device_pixel_ratio') == -1 | |
&& 'devicePixelRatio' in window | |
&& window.devicePixelRatio > 1 ){ | |
document.cookie = 'device_pixel_ratio=' + window.devicePixelRatio + '; path=/'; | |
document.cookie = 'retina=1; path=/'; | |
} | |
})(); |
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> | |
jQuery(document).ready(function ($) { | |
if ('function' === typeof $.fn.chosen) { | |
$("#parent_id").chosen({ | |
search_contains: true | |
}); | |
} | |
}); | |
</script> |
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
var menu = function () { | |
var window_width = $(document).width(), | |
menu_element = $('#main-menu ul.menu'); | |
menu_element.superfish(); | |
if (window_width < 1024) { | |
menu_element.off('mouseenter mouseleave'); | |
} |
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
#!/usr/bin/env bash | |
BROWSER= | |
CLOPS= | |
VERBOSE=true | |
SHOWHELP=false | |
SCHEME=http: | |
SQLPRO="$(mdfind -name Sequel\ Pro | grep Applications | sort | head -n 1)" | |
while [ "" != "$1" ]; do |