Skip to content

Instantly share code, notes, and snippets.

View skshiro's full-sized avatar

skshiro skshiro

  • SK-Service
  • nakano,tokyo
View GitHub Profile
@skshiro
skshiro / gist:3261078
Created August 5, 2012 01:52
pik environment
set HOME=%USERPROFILE%
for windows
@skshiro
skshiro / gist:3261080
Created August 5, 2012 01:53
maven-surefire-plugin settings?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<junitArtifactName>junit:junit</junitArtifactName>
<encoding>UTF-8</encoding>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<argLine>-Xms256m -Xmx512m -XX:MaxPermSize=128m -ea</argLine>
stty -a
stty stop undef
#コンソールでCTRL+Sで履歴を戻れない場合
#なお、上記のコマンドを実行しないでCTRL+Sをした場合にはCTRL+Qで回避できるのであわてずに。
@skshiro
skshiro / gist:3261084
Created August 5, 2012 01:54
dateフォーマットとリダイレクト
#日付のフォーマットとリダイレクト
/home/XXXXXX/bin/poi.sh > `date '+/home/outlet/bin/poi-%Y%m%d-%H%M.log'` 2>&1
@skshiro
skshiro / gist:3261086
Created August 5, 2012 01:55
git http cache with windows7
git config --global credential.helper cache
but ...
git config --global credential.helper winstore
download to GitWindowsExtras.zip
@skshiro
skshiro / gist:3261087
Created August 5, 2012 01:55
mysql root password setting.
start mysqld --skip-grant-tables
mysql -u root mysql
use mysql;
select * from user;
select * from user where user='root';
update user set password=PASSWORD('XXXXXX') where user='root';
@skshiro
skshiro / gist:3292593
Created August 8, 2012 06:02
tomcat remote debug setting.
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.port=8888
-Dcom.sun.management.jmxremote
@skshiro
skshiro / gist:4159929
Created November 28, 2012 08:43
osxkeychain
http://d.hatena.ne.jp/idesaku/20120128/1327749355
@skshiro
skshiro / gist:6086964
Last active December 20, 2015 06:38
OracleをLinuxへインストールする時の設定方法について。
http://ser1zw.hatenablog.com/entry/20120319/1332086633
http://www.asami.asia/tech/oracle/11g-install.html
http://noro2-diary.at.webry.info/200909/article_17.html
aio
http://blog.torigoya.net/2010/05/06/oracle11g-auto-start/
http://www.server-world.info/query?os=CentOS_6&p=oracle1
@skshiro
skshiro / gist:6170313
Created August 7, 2013 00:53
munin2-beta
http://pocketstudio.jp/log3/2012/02/15/munin2beta_review/