CTRL SHIFT ARROW - up/down to copy line
ALT SHIFT ARROW - keys to move line Up/Down/Left/Right
ALT SHFT O - Go to File
<settings> | |
<proxies> | |
<proxy> | |
<active>true</active> | |
<protocol>http</protocol> | |
<host>host.domain.com</host> | |
<port>8080</port> | |
<nonProxyHosts>*.domain.com</nonProxyHosts> | |
</proxy> | |
</proxies> |
log4j.rootLogger=INFO, CONSOLE | |
# CONSOLE is set to be a ConsoleAppender using a PatternLayout | |
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | |
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | |
log4j.appender.CONSOLE.layout.ConversionPattern=[%-5p] %m%n | |
# a more detailed PatternLayout: %d [%t] %-5p %c - %m%n | |
# adjust specific logger levels as per the need to control the verbosity of logs |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Title goes here</title> | |
</head> | |
<body> | |
<h1>Hello World</h1> | |
</body> | |
</html> |
/** sum of first n number */ | |
int add(int num){ | |
return (num)?num + add(num-1):num; | |
} |
grape -Dhttp.proxyHost=proxy.corp.com -Dhttp.proxyPort=8080 install org.seleniumhq.selenium selenium-firefox-driver 2.15.0 |
declaring case insensitive regex inline "(?i)hello" | |
matching words "\w" |
CTRL SHIFT ARROW - up/down to copy line
ALT SHIFT ARROW - keys to move line Up/Down/Left/Right
ALT SHFT O - Go to File
<!doctype html> | |
<html> | |
<head> | |
<title>Including javascript and css in html</title> | |
<script type="text/javascript" src="jquery-1.7.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
alert('hello world!'); |