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,04,00,00,00,29,00,7d,00,46,00,29,00,\ | |
5d,e0,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
// refer to COM -- Windows Script Host Object Model | |
var lnkPath = @"C:\hoge\hoge.lnk"; | |
var shell = new IWshRuntimeLibrary.WshShell(); | |
var shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(lnkPath); | |
// operations | |
//shortcut.FullName | |
//shortcut.TargetPath | |
//shortcut.Arguments |
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 os | |
from flask import Flask, request, abort | |
import hashlib | |
import hmac | |
import subprocess | |
app = Flask(__name__) | |
SECRET = os.environ['GITHUB_SECRET_TOKEN'] # Never hardcode |