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"); |
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
#!/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
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
requests | |
datetime | |
timedelta | |
python-dotenv |
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
puts <<"EOS" | |
. | |
start program... | |
. | |
---------------------------------------- | |
# 文脈自由文法の説明 | |
## 自由文脈文法 G = (V, T, P, S)を考える | |
* V:非終端記号の有限集合 | |
* T:終端記号の有限集合 |
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
# encoding: utf-8 | |
import urllib.request | |
import urllib.parse | |
import json | |
import os | |
import sys | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.support import expected_conditions as EC |
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
# encoding: utf-8 | |
# https://kunishitei.bunka.go.jp/bsys/bemaindetails.asp?register_id=101&item_id=00002498 | |
import os | |
import csv | |
import time | |
import urllib.error | |
import urllib.request |
OlderNewer