Skip to content

Instantly share code, notes, and snippets.

View origamium's full-sized avatar
🇺🇸
miami sprint race!

ONOUE Origami origamium

🇺🇸
miami sprint race!
View GitHub Profile
import sys, subprocess, re
args = sys.argv
if len(args) == 0:
sys.exit(-1)
dst = args[1]
t = 1
while True:
proc = subprocess.run(["ping", dst, "-m", str(t), "-v", "-t", "1"], stdout=subprocess.PIPE,
@origamium
origamium / keybase.md
Created June 6, 2019 04:38
keybase.md

Keybase proof

I hereby claim:

  • I am origamium on github.
  • I am origamium (https://keybase.io/origamium) on keybase.
  • I have a public key whose fingerprint is 13DF DA06 178B 7EAC A891 FC4F 89DC 0451 8593 1F4F

To claim this, I am signing this object:

@echo off
powercfg -devicequery wake_from_any >> devices.txt
for /f "delims=" %%a in (devices.txt) do (
powercfg /devicedisablewake "%%a"
)
pause
react: npm start
electron: node src/electron-wait-react
qwerty
@origamium
origamium / killRead.sh
Created June 10, 2016 06:45
Adobe破壊
sudo mv /Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Plugins/Accessibility.acroplugin /Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Plugin/Accessibility.acroplugin.Adobeはバカ
sudo mv /Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Plugins/ReadOutLoud.acroplugin /Applications/Adobe Acrobat DC/Adobe Acrobat.app/Contents/Plugin/ReadOutLoud.acroplugin.Adobeはバカ
@origamium
origamium / univPrtSvRestart.bat
Created June 15, 2015 04:56
Windows 8以降のWindowsOSの場合、学内プリンタドライバのサービスが何らかの理由により停止することが多いので、サービスの再起動をするバッチファイルです(要管理者権限)
net stop Spooler
net start Spooler
@origamium
origamium / isyo.cpp
Created February 22, 2015 07:52
遺書
#include <iostream>
int main(){
std::cout << "Good-bye World!" << std::endl;
abort();
}
@origamium
origamium / sushi.swift
Last active August 29, 2015 14:15 — forked from kureikei/chocolate.swift
寿司
for var 🍣= 0; 🍣<20000; 🍣++ {
println("🍣")
}
@origamium
origamium / tabletdriverRestart.bat
Created November 29, 2014 09:06
Restart WacomTabletDriver
net stop WTabletServicePro
net start WTabletServicePro