Skip to content

Instantly share code, notes, and snippets.

View ykomatsu's full-sized avatar
🍮
Custard pudding

Yoshito Komatsu ykomatsu

🍮
Custard pudding
  • Kyoto, Japan
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ykomatsu on github.
  • I am ykoma (https://keybase.io/ykoma) on keybase.
  • I have a public key ASBkqzrgc3Mfb30cUhorv2HaPAfgmtDATscrK1bFAAyFdwo

To claim this, I am signing this object:

@ykomatsu
ykomatsu / package_keyboardio_master_index.json
Last active December 1, 2021 11:03
package_keyboardio_master_index.json
{
"packages": [
{
"email": "jesse@keyboard.io",
"help": {
"online": "https://kaleidoscope.readthedocs.io"
},
"maintainer": "Keyboardio",
"name": "keyboardio",
"platforms": [
@ykomatsu
ykomatsu / config.yml
Created October 22, 2017 12:55
Iosevka configuration for Circle CI
version: 2
jobs:
build:
docker:
- image: circleci/node:latest
steps:
- checkout
- run: yarn install
- run:
command: |
@ykomatsu
ykomatsu / nix-macos.md
Created October 22, 2017 12:50
Installing Nix on macOS in single-user mode
@ykomatsu
ykomatsu / core.cljs
Created April 1, 2016 07:03
Node.js + ClojureScript Example
(ns hello.core
(:require [cljs.nodejs :as nodejs]
[clojure.string :as string]
[cljs.core.async :refer [<! chan put!]])
(:require-macros [cljs.core.async.macros :refer [go]]))
(def http (nodejs/require "http"))
(def url (nodejs/require "url"))
(defn join-chunk
@ykomatsu
ykomatsu / generate-client-onc.sh
Created November 30, 2015 05:04
generate-client-onc.sh
#! /bin/sh
_CA_CRT='/etc/openvpn/ca.crt'
_TA_KEY='/etc/openvpn/ta.key'
_CA_GUID="$(uuid)"
_CA_X509="$(sudo awk 'ORS="";!/^-----/{print $0}' ${_CA_CRT})"
_GUID="$(uuid)"
_NAME='OpenVPN Playground'
_OPENVPN_USER='user'
@ykomatsu
ykomatsu / .zshenv
Created August 21, 2015 12:35
${HOME}/.zshenv
export ZDOTDIR="${HOME}/.zsh.d"
@ykomatsu
ykomatsu / .vimrc
Last active August 29, 2015 14:27
${HOME}/.vim/.vimrc
" ln -s .vim/.vimrc ${HOME}/.vimrc ${HOME}
filetype off
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'tomasr/molokai'
Plugin 'rust-lang/rust.vim'
Plugin 'cohama/lexima.vim'
@ykomatsu
ykomatsu / build-qemu.sh
Last active August 29, 2015 14:25
Build script for QEMU
#! /bin/sh
# Ubuntu 14.04 LTS
STARTDATE=$(TZ='Asia/Tokyo' date +'%Y%m%d')
PKGS='git'
PKGS="${PKGS} gcc g++ pkg-config zlib1g-dev libglib2.0-dev libpixman-1-dev"
PKGS="${PKGS} libcap-dev libattr1-dev"
PKGS="${PKGS} make"
EXTRACFLAGS='-march=atom -O2 -pipe'
@ykomatsu
ykomatsu / init.el
Created June 29, 2015 12:15
init.el
;;; Enable El-Get
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(unless (require 'el-get nil 'noerror)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
(goto-char (point-max))
(eval-print-last-sexp)))
(el-get 'sync)