Skip to content

Instantly share code, notes, and snippets.

Akihiro Uchida uchida

Block or report user

Report or block uchida

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am uchida on github.
  • I am uchida ( on keybase.
  • I have a public key whose fingerprint is 0B52 06F3 41EE ED89 6021 7423 FDE3 1684 6BF3 F057

To claim this, I am signing this object:

uchida / private.xml
Created Jul 1, 2016
karabiner private.xml to remap cmd/opt/app key for MS keyborad
View private.xml
<?xml version="1.0"?>
<name>private items for MS Keyboard</name>
<name>Option_L to Command_L for MS Keyboard</name>
<autogen>__KeyToKey__ KeyCode::OPTION_L, KeyCode::COMMAND_L</autogen>
View main.go
package main
import (
docker ps -q -f status=exited | xargs --no-run-if-empty docker rm
docker images -q -f dangling=true | xargs --no-run-if-empty docker rmi
uchida /
Last active Aug 10, 2016
a simple BibTeX file generator from URL
# -*- coding: utf-8 -*-
# CC0, dedicated to public domain by Akihiro Uchida
import argparse
import urllib2, os
from HTMLParser import HTMLParser
import re
import calendar
ARXIV_ID_RE = re.compile(r'arXiv:((\d\d)(\d\d)\.\d+)')
uchida /
Created Jan 31, 2016
a simple BibTeX parser based on finite state machine
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# CC0 dedicated to public domai by Akihiro Uchida
import sys
class BibParser(object):
def __init__(self):
self.parse = self.parse_main
self.buffer = ''
self.item = dict()
uchida /
Last active Jan 5, 2019
CLA for CC0

Copyright Statement for Contributions

I hereby represent that all present, past and future contributions are governed by the Creative Commons Zero 1.0 Universal copyright statement, placing my contributions in the publicdomain. This entails that to the extent possible under law I waive all copyright and related or neighboring rights to the code or documents I contribute. I also represent that I have the authority to perform the above waiver with respect to the entirety of my contributions.

View array-manipulate.clj
(defn access [array & idxs]
(loop [i (first idxs)
idxs (rest idxs)
ret array]
(if i
(recur (first idxs) (rest idxs) (get ret i))
(access [[0 1 2]] 0 1)
View keysnail.js
// ========================== KeySnail Init File =========================== //
// この領域は, GUI により設定ファイルを生成した際にも引き継がれます
// 特殊キー, キーバインド定義, フック, ブラックリスト以外のコードは, この中に書くようにして下さい
// ========================================================================= //
plugins.options["ldrnail.keybind"] = {
'j': 'next',
'k': 'prev',
'p': 'pin',
uchida /
Last active Aug 29, 2015
メール送信コマンド (python 2.6 以上で動作)



$ /path/to/ '設定名' '宛先アドレス' '題名' '本文'


You can’t perform that action at this time.