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
// Define start time | |
Long start = System.currentTimeMillis(); | |
// Run a bunch of things.... | |
// Define total | |
Long total = start - System.currentTimeMillis(); | |
// Debug | |
logger.debug("Query time in milliseconds: " + total); |
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
/* | |
_.move - takes array and moves item at index and moves to another index; great for use with jQuery.sortable() | |
*/ | |
_.mixin({ | |
move: function (array, fromIndex, toIndex) { | |
array.splice(toIndex, 0, array.splice(fromIndex, 1)[0] ); | |
return array; | |
} | |
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
{ | |
"git.ignoreLegacyWarning": true, | |
"extensions.ignoreRecommendations": true, | |
"editor.renderWhitespace": "all", | |
"editor.insertSpaces": true, | |
"files.trimTrailingWhitespace": true, | |
"files.trimFinalNewlines": true, | |
"editor.rulers": [100], | |
"editor.fontSize": 14, | |
"editor.useTabStops": true |
OlderNewer