Skip to content

Instantly share code, notes, and snippets.

🤔
thinking

tkancf tkancf

🤔
thinking
Block or report user

Report or block tkancf

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
@tkancf
tkancf / Helix_keymap.md
Last active Apr 13, 2019
Helixのキーマップ
View Helix_keymap.md

/* Qwerty
 * ,-----------------------------------------.                          ,-----------------------------------------.
 * |   `  |   1  |   2  |   3  |   4  |   5  |                          |   6  |   7  |   8  |   9  |   0  | Del  |
 * |------+------+------+------+------+------|                          |------+------+------+------+------+------|
 * | Tab  |   Q  |   W  |   E  |   R  |   T  |                          |   Y  |   U  |   I  |   O  |   P  | Bksp |
 * |------+------+------+------+------+------|                          |------+------+------+------+------+------|
 * | Ctrl |   A  |   S  |   D  |   F  |   G  |                          |   H  |   J  |   K  |   L  |   ;  |  '   |
 * |------+------+------+------+------+------+------+            +------+------+------+------+------+------+------|
@tkancf
tkancf / latex.md
Last active Feb 10, 2019
latex環境構築
View latex.md

pandoc --latex-engine=lualatex -V documentclass=ltjsarticle $1 -o $2
sudo apt install texlive texlive-lang-cjk texlive-luatex texlive-xetex ↑のやつが必要

View Vim正規表現置換
:%s/[あ-お]/\=nr2char(char2nr(submatch(0)) - char2nr('あ') + char2nr('ア'))/ge
あいうえお→アイウエオ
@tkancf
tkancf / slack-bot.go
Last active Sep 14, 2017
golang slack bot test
View slack-bot.go
package main
import (
"log"
"os"
"github.com/nlopes/slack"
)
func run(api *slack.Client) int {
You can’t perform that action at this time.