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
| -server | |
| -XX:-UseAdaptiveSizePolicy | |
| -XX:ParallelGCThreads=2 | |
| -XX:+UseParNewGC | |
| -XX:NewRatio=3 | |
| -XX:+PrintGCDetails -XX:+PrintHeapAtGC | |
| -XX:+HeapDumpOnOutOfMemoryError |
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
| #!/usr/bin/perl | |
| ############################################################################## | |
| # $fileName : a filename to analyze | |
| # $pattern : regexp pattern | |
| # $patternIndex : a group index to extract(0..n) | |
| # (OPT)$count : count will be printed if value is 1 | |
| ############################################################################## | |
| if (@ARGV < 2) { | |
| print("usage : $0 (M)FILE_NAME (M)PATTERN\n"); |
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
| ps -fL -p PID |
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
| @Test | |
| public void youShouldJoinNHN() { | |
| You you = new You(); | |
| you.joinNHN(); | |
| assertTrue(you.areOnLiveInteraction()); | |
| assertTrue(you.areWorkingWithTopPeople()); | |
| assertTrue(you.dealWithBigData()); | |
| } |
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
| #!/bin/python | |
| import csv | |
| import sys | |
| import operator | |
| filepath = sys.argv[1] | |
| patterns = sys.argv[2].split(";") | |
| matched_count = 0 | |
| total_count = 0 |
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
| while true; do curl localhost/server-status?auto | grep ReqPerSec; sleep 2; 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
| <VirtualHost *:80> | |
| DocumentRoot /home1/www/data | |
| ServerName some.com | |
| SetEnvIf Request_URI "/staged/linecamera" no-jk | |
| Alias /staged/camera "/home1/www/data/camera-admin" | |
| <Location /staged/camera> | |
| Options Indexes FollowSymLinks | |
| Order allow,deny | |
| Allow from all |
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
| while true; do netstat -nto | grep 69.171;sleep 3;echo "next"; 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
| rewriteBatchedStatements=true |
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
| package jp.naver.my; | |
| import java.io.BufferedReader; | |
| import java.io.File; | |
| import java.io.FileReader; | |
| import java.io.IOException; | |
| import java.sql.Connection; | |
| import java.sql.PreparedStatement; | |
| import java.sql.SQLException; |
OlderNewer