Skip to content

Instantly share code, notes, and snippets.

View woojoong88's full-sized avatar
🏡
Working from home now

Woojoong Kim woojoong88

🏡
Working from home now
View GitHub Profile
@woojoong88
woojoong88 / Vagrantfile
Created March 6, 2022 02:45 — forked from jdoss/Vagrantfile
A Vagrantfile that works with Open vSwitch on :public_network
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.define :dev do |dev|
dev.vm.box = "centos/7"
dev.vm.hostname = "ansible"
dev.vm.network :public_network, :dev => "ovsbr0", :ovs => true
@woojoong88
woojoong88 / twisted.md
Created November 10, 2019 19:31 — forked from michaellihs/twisted.md
Write your own ssh Server with the Python Twisted library

SSH Server with the Python Twisted Library

Installing the library

Assuming you have Python installed on your system:

pip install twisted
pip install pyOpenSSL
pip install service_identity
@woojoong88
woojoong88 / .vimrc
Created September 15, 2018 07:03 — forked from millermedeiros/.vimrc
My VIM settings (.vimrc)
" =============================================================================
" Miller Medeiros .vimrc file
" -----------------------------------------------------------------------------
" heavily inspired by: @factorylabs, @scrooloose, @nvie, @gf3, @bit-theory.
" =============================================================================
" -----------------------------------------------------------------------------
" BEHAVIOR
" -----------------------------------------------------------------------------
@woojoong88
woojoong88 / Mac SSH Autocomplete
Created April 5, 2018 12:32 — forked from aliang/Mac SSH Autocomplete
Add auto complete to your ssh, put into your .bash_profile
_complete_ssh_hosts ()
{
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
comp_ssh_hosts=`cat ~/.ssh/known_hosts | \
cut -f 1 -d ' ' | \
sed -e s/,.*//g | \
grep -v ^# | \
uniq | \
grep -v "\[" ;