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
# 実行には ACE14.0 以降が必要 | |
# Microsoft Access Database Engine 2010 Redistributable | |
# http://www.microsoft.com/en-us/download/details.aspx?id=13255 | |
Param ( | |
[Parameter()] | |
[String] $DirPath = ".", | |
[String] $FileName = "*", | |
[ValidateSet("Table", "Query", "SQL", "Relation")][String] $Type = "Table", |
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
from keyhac import * | |
def configure(keymap): | |
keymap_global = keymap.defineWindowKeymap() | |
if 0: | |
keymap_global["S-2"] = "Atmark" |
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
public class Xorshift { | |
private long x = 123456789; | |
private long y = 362436069; | |
private long z = 521288629; | |
private long w = 88675123; | |
public long random() { | |
long t = x ^ ((x << 11) & 0xFFFFFFFFL); // 32bit | |
x = y; |
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
def xorshift128(): | |
'''xorshift | |
https://ja.wikipedia.org/wiki/Xorshift | |
''' | |
x = 123456789 | |
y = 362436069 | |
z = 521288629 | |
w = 88675123 |
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 | |
pushd %USERPROFILE%\AppData\Local\Temp | |
del /q *.* | |
for /d %%f in ( * ) do rmdir /s /q "%%f" | |
popd | |
pushd %SystemRoot%\Temp | |
del /q *.* | |
for /d %%f in ( * ) do rmdir /s /q "%%f" |
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
$store_apps = @( | |
"Microsoft.3DBuilder", | |
"Microsoft.WindowsAlarms", | |
"Microsoft.WindowsCalculator", | |
"microsoft.windowscommunicationsapps", | |
"Microsoft.WindowsCamera", | |
"Microsoft.MicrosoftOfficeHub", | |
"Microsoft.SkypeApp", | |
"Microsoft.Getstarted", | |
"Microsoft.WindowsMaps", |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Box\BoxSync] | |
"SyncRootFolder"="D:\\Home\\%USERNAME%\\BoxSync" |
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
# /etc/fstab | |
# | |
# This file is read once by the first process in a Cygwin process tree. | |
# To pick up changes, restart all Cygwin processes. For a description | |
# see https://cygwin.com/cygwin-ug-net/using.html#mount-table | |
# This is default anyway: | |
# none /cygdrive cygdrive binary,posix=0,user 0 0 | |
none / cygdrive binary,posix=0,user,noacl 0 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters] | |
"LayerDriver JPN"="kbd101.dll" | |
"OverrideKeyboardIdentifier"="PCAT_101KEY" | |
"OverrideKeyboardType"=dword:00000007 | |
"OverrideKeyboardSubtype"=dword:00000000 |
NewerOlder