This file contains hidden or 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 KeyState{ | |
HashMap<Integer, Boolean> Key; | |
KeyState(){ | |
this.Initialize(); | |
} | |
void Initialize(){ | |
this.Key = new HashMap<Integer, Boolean>(); | |
This file contains hidden or 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 | |
#brew install highlight | |
pbpaste | highlight -l -k monaco -K 33 -s Candy -S $1 -O rtf | pbcopy | |
#もしも背景が白の場合にはCandyをFine-Blueにする | |
#memo | |
#https://qiita.com/koudaiii/items/1a9503141212a2115485 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import subprocess | |
def main(): | |
print("Finderで表示される起動するアプリ一覧を更新するよ!") | |
cmd = "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user" | |
subprocess.check_call(cmd.split(" ")) | |
print("Refresh Finder App list.") | |
cmd2 = "killall Finder" |
This file contains hidden or 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 codeanticode.syphon.*; | |
PGraphics canvas; | |
SyphonServer server; | |
PImage img; | |
void setup() { | |
size(1600,900, P3D); | |
canvas = createGraphics(1600, 900, P3D); | |
server = new SyphonServer(this, "Processing Syphon"); |
NewerOlder