Skip to content

Instantly share code, notes, and snippets.

View taoy's full-sized avatar
😪
I may be slow to respond.

TAO Yuichi taoy

😪
I may be slow to respond.
  • Tokyo, Japan
View GitHub Profile
@taoy
taoy / vimrc
Created November 9, 2015 05:32
excerpt of .vimrc
"Window navigation
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
nmap <silent> ,/ :nohlsearch<CR>
@taoy
taoy / form.html
Created August 3, 2015 07:09
Python Bottle + WTforms + Polymer
%rebase layout title='Register New Slack log Box Backup configuration', parent_url=app.get_url('index')
<h2>Create New Slack Box backup</h2>
<script>
function submitForm(){
document.getElementById('authform').submit();
};
</script>
<!-- python block (bottle + wtforms) will not be appear in html-->
@taoy
taoy / gist:0d4dd0015fdc1700ce4e
Last active August 29, 2015 14:17
How to resolve problems with Link2SD / 'Insufficient Storage' error when installing application on android.
@taoy
taoy / envrc
Created October 27, 2014 10:22
direnv + virtualenv + bpython
if ! [ -d .venv ]; then
virtualenv --system-site-packages .venv
virtualenv --relocatable .venv
fi
source .venv/bin/activate
export PYTHONPATH="$(python -c 'import sys; print ":".join(sys.path)')"
@taoy
taoy / i3-config
Last active January 27, 2020 02:35
I3 wm configuration and i3-blocks configuration.
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!