Skip to content

Instantly share code, notes, and snippets.

@nullkal
nullkal / morse.ino
Created July 24, 2015 14:53
Arduino+GROVEで和文モールス入力
#include <Wire.h>
#include "rgb_lcd.h"
const char MORSE_TABLE[][16] = {
/* ア */ "\xb1__.__",
/* イ */ "\xb2._",
/* ウ */ "\xb3.._",
/* エ */ "\xb4_.___",
/* オ */ "\xb5._...",
/* カ */ "\xb6._..",
#!/usr/bin/env ruby
# -*- encoding: utf-8 -*-
ColorNames = [
'aliceblue',
'antiquewhite',
'aqua',
'aquamarine',
'azure',
'beige',
@nullkal
nullkal / keybase.md
Last active September 15, 2018 16:21
Keybase

Keybase proof

I hereby claim:

  • I am nullkal on github.
  • I am nullkal (https://keybase.io/nullkal) on keybase.
  • I have a public key ASDz0H8xzkQzZT_EtqFE3dENdOsM77nZAu0W99QnzjISeQo

To claim this, I am signing this object:

@nullkal
nullkal / aquaskk_iterm2.json
Last active May 15, 2022 05:32
AquaSKK + iTerm2環境でのCtrl-J問題を解決するためのKarabiner-ElementsのComplex Modificationsルール
{
"title": "AquaSKK",
"rules": [
{
"description": "Ctrl-J to Kana on Apple Terminal/iTerm2",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "j",
@nullkal
nullkal / mstdn2birdsite.ts
Last active December 24, 2018 19:07
The filter code of "Mastodon → Twitter" (https://ifttt.com/applets/zVRwYKr4-mastodon-twitter)
/*
* mstdn2birdsite.ts - The filter code of "Mastodon → Twitter"
* Written in 2017 by nullkal <nullkal@nil.nu>
*
* To the extent possible under law, the author(s) have dedicated all copyright
* and related and neighboring rights to this software to the public domain
* worldwide. This software is distributed without any warranty.
* You should have received a copy of the CC0 Public Domain Dedication along
* with this software. If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
/*
* mstdn2birdsite.ts - The filter code of "Mastodon → Twitter"
* Written in 2017 by nullkal <nullkal@nil.nu>
*
* To the extent possible under law, the author(s) have dedicated all copyright
* and related and neighboring rights to this software to the public domain
* worldwide. This software is distributed without any warranty.
* You should have received a copy of the CC0 Public Domain Dedication along
* with this software. If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
@nullkal
nullkal / hybrid.minttyrc
Last active April 17, 2019 10:50
w0ng/vim-hybrid for mintty/wsltty
BoldAsFont=yes
Term=xterm-256color
BoldAsColour=yes
BackgroundColour=22,23,25
ForegroundColour=183,188,186
CursorColour=183,188,186
Black=42,46,51
BoldBlack=29,31,34
Red=184,77,81
BoldRed=141,46,50