Skip to content

Instantly share code, notes, and snippets.

Yuki Ito yuitowest

Block or report user

Report or block yuitowest

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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 / _hg
Created Dec 3, 2011
Zsh completion script for mercurial
View _hg
#compdef hg
# Zsh completion script for mercurial. Rename this file to _hg and copy
# it into your zsh function path (/usr/share/zsh/site-functions for
# instance)
#
# If you do not want to install it globally, you can copy it somewhere
# else and add that directory to $fpath. This must be done before
# compinit is called. If the file is copied to ~/.zsh.d, your ~/.zshrc
# file could look like this:
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
@yuitowest
yuitowest / gist:4064453
Created Nov 13, 2012
sublime text2 sidebar keymap
View gist:4064453
{ "keys": ["j"], "command": "move", "args": {"by": "lines", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["k"], "command": "move", "args": {"by": "lines", "forward": false}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["l"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
},
{ "keys": ["h"], "command": "move", "args": {"by": "characters", "forward": false}, "context":
You can’t perform that action at this time.