Skip to content

Instantly share code, notes, and snippets.

Avatar

Yuki Ito yuitowest

View GitHub Profile
@yuitowest
yuitowest / gist:0ca4b73f91f64ac475a8389f9dc0fa38
Last active Jul 11, 2018
React で使う便利な component
View gist:0ca4b73f91f64ac475a8389f9dc0fa38
## Alert
- https://github.com/juliancwirko/react-s-alert
- https://github.com/schiehll/react-alert
## Modal
- https://github.com/reactjs/react-modal
## Toolkit
https://github.com/uiw-react/uiw
@yuitowest
yuitowest / index.ios.js
Created Mar 28, 2017
React Native with Flumpt
View index.ios.js
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
TouchableHighlight,
View
} from 'react-native';
import {withFlux, dispatchable} from 'flumpt'
@yuitowest
yuitowest / vimrc
Created Jun 17, 2016
memolist.vim settings
View vimrc
let g:memolist_path = "~/Dropbox/vim/memolist"
let g:memolist_template_dir_path = "~/.vim/template/memolist"
let g:memolist_memo_suffix = "md"
let g:memolist_memo_date = "%Y-%m-%d"
let g:memolist_prompt_tags = 1
let g:memolist_qfixgrep = 1
let g:memolist_filename_prefix_none = 1
let g:memolist_unite = 1
let g:memolist_unite_source = "file_rec"
let g:memolist_unite_option = "-auto-preview -start-insert"
@yuitowest
yuitowest / README
Created Oct 14, 2014
git-flow-completion.zsh 読み込んでも補完が効かない場合
View README
~/.zsh/site-functions/_git を作成
$FPATH に~/.zsh/site-functions を追加する
$ export FPATH=~/.zsh/site-functions:$FPATH
View elasticsearch-plugin.rst
View packer-vmware-error.rst

Build 'vmware' errored

packer build で下記のようなエラーがでた

Build 'vmware' errored: Couldn't find VMware tools for 'linux'! VMware often downloads these
tools on-demand. However, to do this, you need to create a fake VM
@yuitowest
yuitowest / remap.vim
Created Oct 9, 2013
新人研修用 vim キーマップ
View remap.vim
noremap <Up> :<C-u>echohl WarningMsg \| echo "Don't use Up key!!! Press [k]" \| echohl None<CR>
noremap! <Up> <ESC>:<C-u>echohl WarningMsg \| echo "Don't use Up key!!! Press [ESC][k]" \| echohl None<CR>
noremap <Down> :<C-u>echohl WarningMsg \| echo "Don't use Down key!!! Press [j]" \| echohl None<CR>
noremap! <Down> <ESC>:<C-u>echohl WarningMsg \| echo "Don't use Down key!!! Press [ESC][j]" \| echohl None<CR>
noremap <Left> :<C-u>echohl WarningMsg \| echo "Don't use Left key!!! Press [l]" \| echohl None<CR>
noremap! <Left> <ESC>:<C-u>echohl WarningMsg \| echo "Don't use Left key!!! Press [ESC][l]" \| echohl None<CR>
noremap <Right> :<C-u>echohl WarningMsg \| echo "Don't use Right key!!! Press [h]" \| echohl None<CR>
noremap! <Right> <ESC>:<C-u>echohl WarningMsg \| echo "Don't use Right key!!! Press [ESC][h]" \| echohl None<CR>
noremap <BS> :<C-u>echohl WarningMsg \| echo "Don't use BackSpace key!!! Press [ctrl-h]" \| echohl None<CR>
noremap! <BS> <ESC>:<C-u>echohl WarningMsg \| echo "Don't use BackSpace key!
@yuitowest
yuitowest / create_vagrant_box_for_vmware_fusion.md
Last active Dec 15, 2015
Vmware Fusion用のVagrant BOXファイルの作成のやりかたメモ
View create_vagrant_box_for_vmware_fusion.md
@yuitowest
yuitowest / install_vagrant_vmware_fusion.md
Last active Dec 15, 2015
Vagrantが1.1でVMware Fusion向けプラグインを公開したので試した。
View install_vagrant_vmware_fusion.md

Vagrantの最新版をインストール

$ vagrant -v
Vagrant version 1.1.5
You can’t perform that action at this time.