This file contains 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
{ | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"BracketHighlighter", | |
"Emmet", | |
"GitHub Markdown Snippets", | |
"Handlebars", |
This file contains 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
{ | |
"config": { | |
"remove-empty-rulesets": true, | |
"always-semicolon": true, | |
"color-case": "lower", | |
"block-indent": " ", | |
"color-shorthand": true, | |
"element-case": "lower", | |
"eof-newline": false, | |
"leading-zero": true, |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<title>Rich Text Editor - FROM MDN!</title> | |
<script type="text/javascript"> | |
var oDoc, sDefTxt; | |
function initDoc() { | |
oDoc = document.getElementById("textBox"); | |
sDefTxt = oDoc.innerHTML; |
This file contains 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
//sample tree structure | |
var tree = [ | |
{ | |
id : "A", | |
list : [ | |
{ | |
id : "A.A", | |
list : [ | |
{ | |
id : "A.A.A", |
This file contains 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
console.log(function(a){ | |
return Object.getOwnPropertyNames(a).filter(function(b){ | |
return"function"==typeof a[b]} | |
)}(YOUR_MODULE) | |
); |
This file contains 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
sc config themes start= auto | |
net start themes | |
exit |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Local Storage</title> | |
</head> | |
<body> | |
<form action=""> | |
<input name="comment" id="comment"></input> | |
<input type="submit"> | |
</form> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Local Storage</title> | |
</head> | |
<body> | |
<form action=""> | |
<textarea name="comment" id="comment" cols="30" rows="10"></textarea> | |
Draft last saved at : --- <div id="updateTime"></div> | |
<input type="submit"> |
This file contains 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
$(document).ready(function() { | |
$("#loadAjax").on("click",function(){ | |
$(".ajax-content").html("Loading..."); | |
$.post("ajaxCustomerIdName.jsp", { | |
url : "Something" | |
}, function(data) { | |
console.log(data); | |
$(".ajax-content").html(data); | |
}); |
This file contains 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
#Please refer to this tutorial for better understanding of log4j. | |
# http://veerasundar.com/blog/2009/07/log4j-tutorial-adding-log4j-logging-to-your-project/ | |
#define the console appender | |
log4j.appender.consoleAppender = org.apache.log4j.ConsoleAppender | |
# now define the layout for the appender | |
log4j.appender.consoleAppender.layout = org.apache.log4j.PatternLayout | |
log4j.appender.consoleAppender.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n |