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 | |
hoge="#" | |
if [ $hoge!="#" ]; then | |
echo "hoge is not # (1st)" | |
fi | |
if [ "$hoge " != "# " ]; then | |
echo "hoge is not # (2nd)" | |
fi |
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.io.UnsupportedEncodingException; | |
import java.util.ArrayList; | |
import java.util.List; | |
/** | |
* @author KID / @blueberrystream | |
*/ | |
public class MultidimensionalArrayTest { | |
/** | |
* @param args |
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
/** | |
* @author KID / @blueberrystream | |
*/ | |
public class 桁落ち { | |
/** | |
* @param args | |
*/ | |
public static void main(final String[] args) { | |
final Long l1 = System.currentTimeMillis(); | |
final Long l2 = System.currentTimeMillis() + 5; |
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
・chrome.exeの起動スイッチを設定できるGUI | |
起動オプション - Google Chrome まとめWiki http://chrome.half-moon.org/43.html | |
Chrome 26で新しくなった右クリックメニューを昔の見た目に戻す方法 : ライフハッカー[日本版] http://www.lifehacker.jp/2013/04/140413chrome_new_rightclick.html | |
公式ヘルプに起動オプションがまとまってたり、ということはなさそう | |
全オプション出すなら、最悪ソースコード見る必要があるかもしれない | |
・chrome.exeを適当にchrome.org.exeとかにリネームする | |
・GUIで設定した起動スイッチを指定してchrome.org.exeを叩くchrome.batを生成する | |
・chrome.batを実行するだけのchrome.exeを同梱しとく ←激しくダサい | |
あとchromeのアップデート走るたびに生成したchrome.exeは上書きされるので、アップデート後、生成やりなおす必要がある。 |
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.Arrays; | |
import java.util.List; | |
/** | |
* @author KID / @blueberrystream | |
* | |
*/ | |
public class ListFill { | |
/** | |
* @param args |
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
<?xml version="1.0" encoding="utf-8"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"> | |
<context-param> | |
<param-name>slim3.rootPackage</param-name> | |
<param-value>com.appspot.haratter</param-value> | |
</context-param> | |
<context-param> | |
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name> | |
<param-value>application</param-value> |
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 | |
set -eux | |
# check simply argument | |
: $1 | |
ln -s /tmp/mysql/socket/$1.sock /tmp/mysql.sock | |
mysql_secure_installation | |
rm /tmp/mysql.sock |
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
Colour0="131,148,150" | |
Colour1="147,161,161" | |
Colour2="0,43,54" | |
Colour3="7,54,66" | |
Colour4="0,43,54" | |
Colour5="238,232,213" | |
Colour6="7,54,66" | |
Colour7="0,43,56" | |
Colour8="220,50,47" | |
Colour9="203,75,22" |
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
// ==UserScript== | |
// @name [x-arthur.gree-pf.net] play back ground music | |
// @namespace http://kid0725.usamimi.info | |
// @version 1.0 | |
// @author KID the Euforia a.k.a. blueberrystream | |
// @description play kakusan-sei million arthur's bgm | |
// @homepage https://github.com/blueberrystream/userscripts/ | |
// @match http://x-arthur.gree-pf.net/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-2.1.3.min.js |
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
[{ | |
"name": "SFTP-deployment", | |
"description": "A package which allow you to upload and download files with FTP/SFTP protocol", | |
"version": "1.0.0", | |
"author": { | |
"name": "Ellipsis Team", | |
"email": "[email protected]" | |
}, | |
"repository": "https://github.com/amoussard/sftp-deployment", | |
"bugs": { |
OlderNewer