Skip to content

Instantly share code, notes, and snippets.

View ndac-todoroki's full-sized avatar

Todoroki / u-dory ndac-todoroki

View GitHub Profile
@ndac-todoroki
ndac-todoroki / romantable.txt
Last active June 23, 2019 02:05 — forked from youcune/romantable.txt
AZIK / mozc / US key
~ ~
, 、
. 。
/ ・
; っ
' ー
[ 「
] 」
a あ
ba ば
@ndac-todoroki
ndac-todoroki / azik_qwpr.txt
Last active August 8, 2018 09:53
AZIK GoogleIME settings for QWPR keyboard layout
- ー
~ 〜
' っ
" ー
; ー
: っ
. 。
, 、
/ ・
[ 「
@ndac-todoroki
ndac-todoroki / dynamic_supervisor_children.ex
Created July 15, 2018 06:22
[Elixir] add/remove children by unique name under DynamicSupervisor
defmodule DSV do
use DynamicSupervisor
@registry Registry.ViaTest
def start_link(args), do: DynamicSupervisor.start_link(__MODULE__, args, name: __MODULE__)
def init(_), do: DynamicSupervisor.init(strategy: :one_for_one)
def add_child(name) when name |> is_binary do
pid = child_process(name)
@ndac-todoroki
ndac-todoroki / json_parser.ex
Last active April 17, 2017 11:11
JSON parser on Elixir (for studying Elixir)
defmodule JSON do
@object_start "{"
@object_end "}"
@list_start "["
@list_end "]"
@splitter ","
@keyval_seperator ":"
@string_sybil "\""
@newline_sybil "\n"
@space " "
@ndac-todoroki
ndac-todoroki / datas.js
Created October 4, 2016 05:00
ほしいJSONの例
//NotificationPageで使う通知データ
const test_notification_data = [
{
id: 111111111,
time_stamp: '2015-12-11-11:11:30',
type: 'typeA',
user: {
avatar_image: './img/avatar_sample.png',
name: '牧野暉弘'
},