I hereby claim:
- I am m-mizutani on github.
- I am mizutani (https://keybase.io/mizutani) on keybase.
- I have a public key whose fingerprint is 8C60 EB12 E0E6 2134 D406 1A4F FE6D 6CDD 5B7E FAD1
To claim this, I am signing this object:
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) |
export EDITOR=vim # エディタをvimに設定 | |
export LANG=ja_JP.UTF-8 # 文字コードをUTF-8に設定 | |
export LC_ALL=ja_JP.UTF-8 | |
export LC_TYPE=ja_JP.UTF-8 | |
export AUTOFEATURE=true # autotestでfeatureを動かす | |
if [ -e $HOME/.rbenv ] ; then | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" |
ADD_LIBRARY(ev STATIC IMPORTED) | |
SET_PROPERTY(TARGET ev PROPERTY IMPORTED_LOCATION ./libev/.libs/libev.a) | |
INCLUDE_DIRECTORIES(./libev/) |
func main() { | |
db, db_err := OpenDatabase("net.db") | |
if db_err != nil { | |
log.Println("DB error:", db_err) | |
os.Exit(1) | |
} | |
// var mh codec.MsgpackHandle | |
mh := &codec.MsgpackHandle{RawToString: true} |
license: mit |
#include <pcap.h> | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char* argv[]) { | |
if (argc != 2) { | |
fprintf(stderr, "usage) pcapperf <dev>\n"); | |
return 1; | |
} | |
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) | |
(package-initialize) | |
(set-language-environment 'Japanese) | |
(prefer-coding-system 'utf-8) |
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) |
I hereby claim:
To claim this, I am signing this object:
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(package-initialize) | |
(set-language-environment 'Japanese) | |
(prefer-coding-system 'utf-8) |