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
<project> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>edu.lafk</groupId> | |
<artifactId>simple-project</artifactId> | |
<version>1</version> | |
</project> |
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
<meta http-equiv="Refresh" content="0;url=jsp/testSession.jsp"> |
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
git config --global mergetool.keepBackup false |
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
/** | |
* Run with Heap set to 12MB and 13MB respectively | |
* Thanks Plumbr | |
*/ | |
class OOM { | |
static final int SIZE=2*1024*1024; | |
public static void main(String[] a) { | |
int[] i = new int[SIZE]; | |
} | |
} |
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
var buildTaskList = function() { | |
var ol = document.getElementById('TaskList'); | |
var list = document.createDocumentFragment(); | |
var inputEl = function(i) { | |
var el = document.createElement('input'); | |
el.setAttribute('type', 'image'); | |
el.setAttribute('src', 'ncheck.png'); | |
el.setAttribute('alt', 'Wykreśl'); | |
el.setAttribute('onclick', 'RDZ.done('+i+'); this.disabled = true; return false;'); |
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
mvn archetype:generate \ | |
-DinteractiveMode=false \ | |
-DarchetypeGroupId=org.openjdk.jmh \ | |
-DarchetypeArtifactId=jmh-java-benchmark-archetype \ | |
-DgroupId=org.sample \ | |
-DartifactId=test \ | |
-Dversion=1.0 |
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
# Vimperator | |
firefox https://addons.mozilla.org/pl/firefox/addon/vimperator/ | |
# Vim with clipboard | |
sudo apt-get install vim-gnome | |
# Terminal (ZSH, TCSH) | |
## http://dougblack.io/words/zsh-vi-mode.html | |
bindkey -v | |
# Bash |
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
-server | |
-Xms128m | |
-Xmx512m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:+UseConcMarkSweepGC | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-Dsun.io.useCanonCaches=false | |
-Djava.net.preferIPv4Stack=true | |
-XX:+HeapDumpOnOutOfMemoryError |
OlderNewer