Skip to content

Instantly share code, notes, and snippets.

View simics-ja's full-sized avatar

Tomoyuki Shimizu simics-ja

View GitHub Profile
@simics-ja
simics-ja / .vimrc
Last active June 18, 2021 17:26
[vim config] #vim #config
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
@simics-ja
simics-ja / .zshrc
Last active June 23, 2022 02:37
[my zsh config] macOS+zplug+PREZTO #zsh #shell #config
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
@simics-ja
simics-ja / 01-v-once.html
Last active March 21, 2019 09:45
[Vue.jsのテンプレート構文まとめ] JS Fiddleで動作確認だ! #vuejs
<body>
<div id="app">
<!-- messageを描画するのは最初のみで変更はできない. -->
<!-- 表示を高速化したいときに使う. -->
<p v-once>
{{ message }}
</p>
<button v-on:click="clickHandler">
Click me!
</button>
@simics-ja
simics-ja / 01-basic.html
Last active March 21, 2019 09:08
[Vue.jsの基本ディレクティブまとめ] JS Fiddleで動作確認だ! #vuejs
<body>
<div id="app">
{{ message }}
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</body>
@simics-ja
simics-ja / convert-utf8.sh
Last active May 19, 2021 06:28
[nkfコマンド] 文字コード変換コマンドのまとめ #nkf #shell
nkf -w hoge_sjis.txt > hoge_utf8.txt
@simics-ja
simics-ja / 00-PDOの使い方.md
Last active January 21, 2019 08:52
[PDOメモ] #php #mysql

PHPでMySQLを操作しよう.

@simics-ja
simics-ja / arp-scan-usage.sh
Last active November 6, 2019 08:53
[ネットワーク確認系コマンド] 忘れがちなのでメモ #network
sudo arp-scan -I en0 192.168.11.0/24