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
$ C:>net start|findstr -i tel | |
Background Intelligent Transfer Service | |
Telephony | |
Telnet | |
# 参考 | |
# http://blog.goo.ne.jp/shinx1265/e/44ad3b2df1a7ea1a61da504500a5725a |
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
/** | |
* JavaDoc内で不等号を利用したい場合、{@code hogehoge} と記載する | |
*/ | |
public class SignOfInequalityJavaDoc { | |
// test | |
} |
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
【半角英字】^[a-zA-Z]+$ | |
abcdefghijklmnopqrstuvwxyz | |
【半角数字】^[0-9]+$ | |
0-9 | |
【半角記号】^[ -/:-@\[-\`\{-\~]+$ | |
半角空白!”#$%&’()*+-.,/:;<=>?@[\]^_`{|}~ | |
【半角英数字】^[a-zA-Z0-9]+$ | |
abcdefghijklmnopqrstuvwxyz0123456789 | |
【半角英数字記号】^[a-zA-Z0-9 -/:-@\[-\`\{-\~]+$ | |
abcdefghijklmnopqrstuvwxyz0123456789半角空白!”#$%&’()*+-.,/:;<=>?@[\]^_`{|}~ |
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
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.io.OutputStreamWriter; | |
import java.io.PrintWriter; | |
import java.io.UnsupportedEncodingException; | |
import java.util.List; | |
import javax.servlet.ServletOutputStream; | |
import javax.servlet.http.HttpServletResponse; |
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
${catalina.base} がどこで設定されているのか気になって調べてみた。 | |
結果、JavaProcessの実行引数として下記のように渡されていた。 | |
-Dcatalina.base=/usr/local/tomcat | |
おしまい。 |
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
<!-- scope=provided は実行環境で提供されるライブラリに対して指定する--> | |
<!-- ビルド時に含まないようになる--> | |
<!-- 抜粋 --> | |
<dependency> | |
<groupId>commons-modeler</groupId> | |
<artifactId>commons-modeler</artifactId> | |
<version>2.0</version> | |
<scope>provided</scope> | |
</dependency> |
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
sed -e "s/^/'any_replace_words'" input.txt | |
sed -e "s/$/'any_replace_words'" input.txt |
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
// メモのため抜粋 | |
// 乱数を生成する際に seed が登録されていない場合、SeedGenerator#getSystemEntropy | |
// でSeedの取得を行なっている | |
package sun.security.provider; | |
public final class SecureRandom extends SecureRandomSpi implements java.io.Serializable { | |
/** | |
* Generates a user-specified number of random bytes. | |
* | |
* @param bytes the array to be filled in with random bytes. |
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/env python | |
import sys | |
import urllib2 | |
from BeautifulSoup import BeautifulSoup | |
import smtplib | |
from email.MIMEText import MIMEText | |
from email.Utils import formatdate |
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
<!-- 一部抜粋 --> | |
<dependency> | |
<groupId>mysql</groupId> | |
<artifactId>mysql-connector-java</artifactId> | |
<version>X.X.X</version> | |
</dependency> | |