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.log.enabled=false | |
javascript.fast.load=false | |
theme.css.fast.load=false | |
com.liferay.portal.servlet.filters.minifier.MinifierFilter=false | |
com.liferay.filters.strip.StripFilter=false | |
layout.template.cache.enabled=false | |
browser.launcher.url= |
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
AUI().use( | |
'anim', | |
function(A) { | |
A.all('.animate-scroll').on( | |
'click', | |
function(event) { | |
event.preventDefault(); | |
var section = A.one(event.currentTarget.get('hash')); | |
var scrollTo = section.get('offsetTop'); |
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
PS1='\n\[\033[1;34m\]\342\226\210\342\226\210 \u @ \h: \w\n\[\033[0;36m\]\342\226\210\342\226\210 \t $ \[\033[0;39m\]' |
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
-Dorg.eclipse.swt.browser.DefaultType=mozilla |
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
// ** wij-combobox directive | |
// - Input element with auto-complete (shows list as the user types) | |
// - Implemented using the Wijmo wijcombobox widget. | |
// ** example | |
// <wij-combobox | |
// value="trip.from" | |
// source="comboItems" > | |
// </wij-combobox> | |
// ** see | |
// - Wijmo wijcombobox: http://wijmo.com/wiki/index.php/Combobox#API |
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 debug = true; | |
var log = { | |
debug : function(string) { | |
if (debug) { | |
console.info(string); | |
} | |
} | |
} |
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
directive('ngThumbnail', function($timeout){ | |
return { | |
replace : true, | |
restrict : 'E', | |
templateUrl : 'js/templates/ngThumbnail.html', | |
//transclude : true, | |
scope : { | |
targetHref : '=', | |
imageSrc : '@', | |
id : '@', |
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
worker_processes 4; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' |
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
for i in *.jpg; do convert $i -resize 50% $(basename $i .jpg).jpg; done |
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
Show hidden characters
[ | |
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
{ "keys": ["alt+up"], "command": "swap_line_up" }, | |
{ "keys": ["alt+down"], "command": "swap_line_down" }, | |
{ "keys": ["ctrl+alt+j"], "command": "join_lines" }, | |
{ "keys": ["ctrl+alt+down"], "command": "duplicate_line" }, | |
{ "keys": ["shift+ctrl+r"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["ctrl+shift+s"], "command": "save_all" }, | |
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} }, | |
{ "keys": ["shift+ctrl+f4"], "command": "close_all" }, |