Skip to content

Instantly share code, notes, and snippets.

View puhitaku's full-sized avatar
:octocat:
= 🐙 + 🐱

Takumi Sueda puhitaku

:octocat:
= 🐙 + 🐱
View GitHub Profile
@puhitaku
puhitaku / hhkbniz.pro
Last active November 15, 2018 14:24
HHKB-like keymap for NiZ Plum 75
<?xml version="1.0" encoding="UTF-8"?>
<KB75>
<PredefinedCombo>
<List SizeOfView="6" ViewStartAt="0" CursorPos="0" Cycles="1" IsAutoInterval="0" Delay="30" PlayMode="0"/>
</PredefinedCombo>
<PredefinedMacro>
<List SizeOfView="9" ViewStartAt="0" CursorPos="0" Cycles="1" IsAutoInterval="0" Delay="30" PlayMode="0"/>
</PredefinedMacro>
<PredefinedEmu>
<List SizeOfView="9" ViewStartAt="0" CursorPos="0" Cycles="1" IsAutoInterval="0" Delay="30" PlayMode="0"/>
set nocompatible
set number
set title
set ruler
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set backspace=indent,eol,start
@puhitaku
puhitaku / Debian desktop environment configuration memo.md
Last active July 12, 2018 14:37
Debian desktop environment configuration memo

Theme and Look-and-Feel

  • Theme = Numix
  • Fonts
    • Roboto + Roboto Thin
@puhitaku
puhitaku / vimium_keymap
Last active July 3, 2018 13:01
Vimium override keys
# Insert your preferred key mappings here.
unmap H
unmap J
unmap K
unmap L
map H previousTab
map L nextTab
map J goBack
map K goForward
[distutils]
index-servers =
pypi
testpypi
[pypi]
username: xxxxxxxx
password: xxxxxxxx
[testpypi]
@puhitaku
puhitaku / add_pycharm_launcher.sh
Last active March 26, 2018 05:47 — forked from rob-murray/add_intellij_launcer
Add PyCharm launcher shortcut and icon for ubuntu
set -ue -o
APP_ID="clion"
APP_NAME="CLion"
APP_VER="2017.3.4"
APP_DIR="/home/sueda/jetbrains"
sudo bash -c "cat > /usr/share/applications/${APP_ID}.desktop" <<EOF
[Desktop Entry]
Version=${APP_VER}
@puhitaku
puhitaku / pndcat|__init__.py
Last active January 1, 2018 11:07
>>> import pndcat
# Put this file in subdirectory "pndcat"
pndcat = 'は?'
print(pndcat)
@puhitaku
puhitaku / .bash_profile
Last active January 22, 2018 05:20
bash_profile
eval "$(pyenv init -)"
# Color Diff
if [[ -x `which colordiff` ]]; then
alias diff='colordiff -u'
else
alias diff='diff -u'
fi
export LESS='-R'
@puhitaku
puhitaku / 1.md
Created November 27, 2017 15:04
GPD Win AHK scripts

GPD Win AHK Scripts

Invoke scripts via Explorer or startup.

@puhitaku
puhitaku / ioctl_num.c
Created November 23, 2017 00:35
macOSのClonable Interface一覧を取るやつ in Golang
#include <stdio.h>
#include <sys/sockio.h>
#include <net/if.h>
int main() {
printf("%lx", SIOCIFGCLONERS);
return 0;
}