I hereby claim:
- I am keichan34 on github.
- I am sleepy_keita (https://keybase.io/sleepy_keita) on keybase.
- I have a public key ASASuKTnKfWXIiwyRu4jyTDn-i8LUj1qZLrKHeNPRBtlsAo
To claim this, I am signing this object:
| { | |
| "presets": ["es2015"] | |
| } |
| #!/usr/bin/env elixir | |
| Application.start(:crypto) | |
| key = case System.argv do | |
| [key | _] -> key | |
| _ -> | |
| IO.puts "Usage: ses_credential_generator.exs [AWS Secret Access Key]" | |
| exit(:shutdown) | |
| end |
| # Requires bass and nvm | |
| # bass: https://github.com/edc/bass | |
| # nvm: https://github.com/creationix/nvm | |
| function nvm | |
| set -g NVM_LOADED "1" | |
| bass source ~/.nvm/nvm.sh ';' nvm $argv | |
| end | |
| function ensure_nvm_loaded |
| defmodule Hi do | |
| keys = ~w(hello there)a | |
| for {key, idx} <- Enum.with_index(keys) do | |
| def index_of_key(unquote(key)) do | |
| {:ok, unquote(idx)} | |
| end | |
| def key_at_index(unquote(idx)) do | |
| {:ok, unquote(key)} |
I hereby claim:
To claim this, I am signing this object:
| function blurb --description Post\ to\ 10C.\\nblurb\ post\ MESSAGE\\nblurb\ POST_ID\ REPLY --argument reply_id message | |
| set -l token $TEN_CENTURIES_API_TOKEN | |
| set -l endpoint https://api.10centuries.org/content/write | |
| set -l usage 'blurb: post or reply to a message on 10C | |
| Usage: | |
| blurb post MESSAGE | |
| Post a new blurb |
| { | |
| "scripts": { | |
| "build": "node ./setup && react-scripts build" | |
| } | |
| } |
| function fish_greeting | |
| echo "! COMPUTER_NAME" | |
| end | |
| set -x EDITOR vim | |
| set -x LESS -asrRix8 | |
| set -x LANG en_US.UTF-8 | |
| set -x LC_ALL en_US.UTF-8 | |
| set -x LANGUAGE en_US.UTF-8 |
| import React, { useEffect, useMemo, useRef } from "react" | |
| import { createPortal } from "react-dom" | |
| const NewWindowPortal: React.FC = ({children}) => { | |
| const containerEl = useMemo(() => document.createElement("div"), []) | |
| useEffect(() => { | |
| if (!containerEl) { | |
| return | |
| } |
| import React, { useCallback, useState } from 'react' | |
| import { normalize, NormalizeResult } from '@geolonia/normalize-japanese-addresses' | |
| interface Result { | |
| input: string | |
| normalized: NormalizeResult | |
| } | |
| const App: React.FC = () => { | |
| const [ result, setResult ] = useState<Result | undefined>(undefined) |