Skip to content

Instantly share code, notes, and snippets.

View shepherd44's full-sized avatar

JaeMoo Han shepherd44

View GitHub Profile
@shepherd44
shepherd44 / .zshrc
Created December 20, 2021 03:06
zsh
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/james/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@shepherd44
shepherd44 / .ideavimrc
Created December 9, 2021 23:36
jetbrain ideavim plugin setting
set hlsearch
set scrolloff=3
set showmode
set history=1000
set surround
set commentary
set easymotion
" easy system clipboard copy/paste
noremap <space>y "*y
@shepherd44
shepherd44 / window-npm-update.sh
Created September 9, 2021 15:45
npm update script(with git bash on windows)
#!/bin/bash
npm_version=$(npm --version)
npm_path=$(which npm)
npm_dirname=$(dirname $npm_path)
echo current npm version: $npm_version
echo current npm dirpath: $npm_dirname
cd $npm_dirname
@shepherd44
shepherd44 / Vagrantfile
Created June 22, 2019 19:26
kali vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "offensive-security/kali-linux"
# Create a forwarded port
config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network. In VirtualBox, this is a Host-Only network
@shepherd44
shepherd44 / .gitconfig
Last active April 6, 2019 16:33
.gitconfig
[color]
ui = auto
branch = auto
diff = auto
interactive = auto
status = auto
[i18n]
logoutputencoding=utf-8
commitencoding=utf-8
[core]
@shepherd44
shepherd44 / curl_build_centos.sh
Last active March 15, 2019 05:09
cnetos curl build
#!/bin/bash
yum install cmake3 git
CURL_VERSION="curl-7_59_0"
git clone https://github.com/curl/curl.git curl_build
cd curl_build
git checkout ${CURL_VERSION}
@shepherd44
shepherd44 / .vimrc
Last active December 9, 2021 23:18
vim setting
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" vim default setting
set ts=2 sw=2
autocmd FileType python set ts=2 sw=2 et
autocmd FileType ruby set ts=2 sw=2 et
autocmd FileType vim set ts=2 sw=2 et
autocmd FileType json set ts=2 sw=2 et
autocmd FileType yaml set ts=2 sw=2 et
autocmd FileType sql set ts=2 sw=2 et
autocmd FileType markdown set ts=2 sw=2 et