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
java -XX:Flags=vm.option.txt XXX |
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
#!/bin/bash | |
# custom favorite ps option(s) | |
ps='ps auxww' | |
this=$0 | |
$ps | head --lines=1 | |
for i in $* | |
do | |
# set [c]mmand to avoid grep |
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
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
public class GCLimit { | |
static public void main(String[] args) { | |
Random random = new Random(); | |
List<String> interned = new ArrayList<>(); | |
while(true) { | |
int length = random.nextInt(100); |
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
heapstats-analyzer-1.1.0 | |
├── filterDefine.xsd | |
├── heapstats.jar | |
├── heapstats.properties | |
├── howtouse_ja.txt | |
├── howtouse.txt | |
└── lib | |
├── jcommon-1.0.18.jar | |
├── jfreechart-1.0.15.jar | |
├── jgraphx.jar |
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
def static calc(filename){ | |
def sheet = [:]; | |
def h=[:]; | |
def time = 0; | |
def seek = false | |
// ファイル読み込み | |
new File(filename).eachLine { | |
// 正規表現 | |
if (it ==~ /^num\s+#instances\s+#bytes\s+class\sname/){ | |
// Start of ClassHistogram |
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
$ jruby -v | |
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on OpenJDK 64-Bit Server VM 1.7.0_25-mockbuild_2013_06_19_07_21-b00 [linux-amd64] | |
org.jruby.exceptions.RaiseException: (LoadError) load error: openssl -- java.lang.NoClassDefFoundError: Could not initialize class org.jruby.ext.openssl.ASN1 | |
|A')? | |
$ vim Gemfile | |
32 # jruby-openssl is bundled with JRuby 1.7.0 | |
33 gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERS ION < '1.7.0' | |
|A')<usotuki- |
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
sudo yum install jruby | |
gem install warbler | |
cd redmine | |
gem install activerecord-jdbc-adapter -v '1.2.5' | |
warble config | |
vim config/warble.rb | |
warble war |
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
#sudo yum install -y gcc ruby-devel libxml2 libxml2-devel libxslt libxslt-devel | |
sudo yum install -y mysql mysql-server | |
sudo vim /etc/my.cnf | |
--- | |
# nihongo mojibake taisaku | |
character-set-server = utf8 | |
--- |
NewerOlder