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
package jp.kontrapunkt.kunst1080.TinyTest; | |
import java.util.Calendar; | |
import java.util.Date; | |
public class TestTinyTest extends TinyTest { | |
public static void main(String[] args) { | |
testStart(new OKTest()); | |
//testStart(new NoTest()); |
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/sh | |
Usage(){ | |
cat << __EOT__ >&2 | |
lsコマンドの実行結果を色付きで表示します | |
Usage:`basename $0` <各種lsコマンドのオプション> | |
使用例) $ `basename $0` |
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 expand_photozou_album_photos | |
// @namespace kunst1080 | |
// @description フォト蔵のアルバム画面を整形して見やすくする。 | |
// @include http://photozou.jp/photo/list/*/* | |
// @grant GM_xmlhttpRequest | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @version 1 | |
// ==/UserScript== |
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
@if (1==1) /* | |
@echo off | |
if "%~2"=="" goto :USAGE | |
if "%~1"=="/?" goto :USAGE | |
rem ******************************************************************************** | |
:MAIN | |
CScript //nologo //E:JScript "%~f0" %* | |
If ERRORLEVEL 1 goto :USAGE |
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
@if (1==1) /* | |
@echo off | |
if "%~3"=="" goto :USAGE | |
if "%~1"=="/?" goto :USAGE | |
rem ******************************************************************************** | |
:MAIN | |
CScript //nologo //E:JScript "%~f0" %* | |
If ERRORLEVEL 1 goto :USAGE |
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
function JSArray2VBArray(arr) { | |
var vbs = new ActiveXObject("ScriptControl"); | |
vbs.Language = "VBScript"; | |
vbs.AddCode( | |
"Function makeArray\n" | |
+ "makeArray = Array(" + arr + ")\n" | |
+ "End Function\n"); | |
var ret = vbs.Run("makeArray"); | |
return ret; | |
} |
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/sh | |
Usage(){ | |
cat << __EOT__ >&2 | |
ファイルのステータスを確認します。 | |
Usage:`basename $0` ファイル名 | |
【使用例】 | |
$ `basename $0` file.txt |
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
@if (1==1) /* | |
@if "%~2"=="" goto :USAGE | |
@if "%~1"=="/?" goto :USAGE | |
@rem --------------------------- | |
:MAIN | |
@CScript //nologo //E:JScript "%~f0" "%~1" "%~2" | |
@exit /b | |
@rem --------------------------- |
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 | |
soniq(){ | |
sort | uniq $* | |
} | |
concat_commands() { | |
# $1 … method ( and | or | xor ) | |
# $2 … command | |
# $3 … command | |
local _arg="" | |
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
Set Excel = WScript.CreateObject("Excel.Application") | |
'キーコード | |
Const VK_SHIFT = &H10 | |
'マウス定数 | |
Const MOUSEEVENTF_ABSOLUTE = &H8000 | |
Const MOUSE_MOVE = &H1 | |
Const MOUSEEVENTF_LEFTDOWN = &H2 | |
COnst MOUSEEVENTF_LEFTUP = &H4 |