<2017-08-10 Thu>
ポッポ | 66 | |
サイホーン91 | 1 | |
ヒメグマ | 3 | |
マグマッグ | 2 | |
ヒマナッツ | 3 |
local function keyCode(key, modifiers) | |
modifiers = modifiers or {} | |
return function() | |
hs.eventtap.event.newKeyEvent(modifiers, string.lower(key), true):post() | |
hs.timer.usleep(1000) | |
hs.eventtap.event.newKeyEvent(modifiers, string.lower(key), false):post() | |
end | |
end | |
local function remapKey(modifiers, key, keyCode) |
#!/usr/bin/env python3 | |
import urllib.request | |
import urllib.parse | |
from bs4 import BeautifulSoup | |
import os | |
import copy | |
from shlex import quote | |
# 生成される docset の名前。カレントディレクトリに作られる |
(dolist (dir (list | |
"/usr/local/bin" | |
"/usr/bin" | |
"/bin" | |
"/usr/sbin" | |
"/sbin" | |
(expand-file-name "~/bin") | |
(expand-file-name "~/.emacs.d/bin") | |
)) | |
(when (and (file-exists-p dir) (not (member dir exec-path))) |