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
@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
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 |
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
@echo off | |
if "%~1"=="" goto :USAGE | |
:MAIN | |
set COMMAND=%* | |
for /f "usebackq tokens=*" %%o in (`findstr .*`) do ( | |
call %%COMMAND:?=%%o%% | |
) | |
goto :eof |
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
const CALENDAR_ID = "YOUR_CALENDAR_ID"; | |
const STEAM_ID = "YOUR_STEAM_ID"; | |
const STEAM_API_KEY = "YOUR_STEAM_API_KEY"; | |
function run() { | |
const api = new SteamApi(STEAM_API_KEY); | |
const json = api.getPlayerSummary(STEAM_ID); | |
const gameid = json["gameid"]; | |
const gameextrainfo = json["gameextrainfo"]; | |
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.File; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.io.PrintStream; | |
import java.io.DataInputStream; | |
import java.io.FileInputStream; | |
import java.util.Scanner; | |
import java.net.ServerSocket; | |
import java.net.Socket; |
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
var util = Utility(); | |
// settings | |
var FTP_IP = "xxx.xxx.xxx.xxx"; | |
var FTP_USER = "username"; | |
var FTP_PASSWORD = "password"; | |
var FTP_MODE = "ascii"; | |
// メイン関数 | |
(function main(){ |
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 | |
if [ $# -eq 0 ]; then | |
DIR=. | |
else | |
DIR=$* | |
fi | |
explorer.exe $DIR |
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
#include stdio.h | |
#include stdlib.h | |
#include fts.h | |
#include string.h | |
#include sys/stat.h | |
unsigned long get_inode(char *name) { | |
unsigned long inode; | |
struct stat stat_buf; | |
char path[255]; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <dirent.h> | |
#include <string.h> | |
#include <sys/stat.h> | |
unsigned long get_inode(char *name) { | |
unsigned long inode; | |
struct stat stat_buf; | |
char path[255]; |
NewerOlder