Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am iwata on github.
  • I am iwata (https://keybase.io/iwata) on keybase.
  • I have a public key ASC41fVbGV5YZCSsKJFpVMzGsY9I0sYxZAdNA5H53AE-bgo

To claim this, I am signing this object:

@iwata
iwata / index.d.ts
Last active November 7, 2018 07:08 — forked from fukuiretu/index.d.ts
Nuxt.jsで必要なTypeScriptの型定義
import Vue from 'vue'
import {Store} from 'vuex'
import VueRouter, {Route} from 'vue-router'
import {MetaInfo} from 'vue-meta'
import {Snackbar, Toast} from 'buefy'
interface ErrorParams {
statusCode?: string
message?: string
}
INSERT INTO Products (product_id, product_name, account_id)
VALUES (DEFAULT, 'Visual TurboBuilder', '12,34,banana');
@iwata
iwata / gcr-tags.go
Created October 4, 2018 11:37 — forked from rjeczalik/gcr-tags.go
Reads a tag list for Google Container Registry for the given image.
package main
import (
"encoding/json"
"flag"
"fmt"
"net/url"
"os"
"os/user"
"path/filepath"
@iwata
iwata / mqh_install.sh
Last active October 13, 2015 11:17 — forked from arisawa/mqh_install.sh
Installing MySQL5.1 / Q4M / HandlerSocket@Mavericks
#!/bin/sh
set -xe
if [ `which perl` = "/usr/bin/perl" ]; then
echo -n -e "\e[1;31mUSING SYSTEM PERL OK? [y/n]\e[m: "
read ANSWER
if [ "$ANSWER" != "y" ]; then
exit 255
fi
PERL_CPANM_OPT="$PERL_CPANM_OPT --sudo"
@iwata
iwata / .vimrc_for_eskk.vim
Created July 12, 2012 03:29
eskk.vim errors@OSX Lion 10.7.2, MacVim version7.3(KaoriYa 20120509)
if has('vim_starting')
let g:eskk#dictionary = '~/.skk-jisyo'
if has('mac')
let g:eskk#large_dictionary = {
'path': "~/Library/Application\ Support/AquaSKK/SKK-JISYO.L",
'sorted': 1,
'encoding': 'euc-jp',
}
elseif has('win32') || has('win64')
@iwata
iwata / _gpull.zsh
Created September 28, 2011 03:49
branch名指定でpullするshell function
#compdef gpull
#
# gpull ZSH completion function
#
# Installation
# ------------
# Drop this somewhere in your $fpath (like /usr/share/zsh/site-functions)
# and rename to '_gpull'
#
@iwata
iwata / .vimrc
Created August 24, 2011 01:05 — forked from nobeans/.vimrc
making convenient git commit
nnoremap <Space>gn :<C-u>w<CR>:Git now<CR>
nnoremap <Space>gN :<C-u>w<CR>:Git now --all<CR>
" textobj-template - Text objects for WAF template engine.
" Version: 0.0.1
" Author: Kazuhito Hokamura
" License: MIT license (see <http://www.opensource.org/licenses/mit-license>)
if exists('g:loaded_textobj_template')
finish
endif
call textobj#user#plugin('template', {