Skip to content

Instantly share code, notes, and snippets.

@yongbin
yongbin / .gvimrc
Created November 22, 2021 21:29
.gvimrc
colorscheme seoul256
set guifont=D2Coding:h40

Keybase proof

I hereby claim:

  • I am yongbin on github.
  • I am yongbin (https://keybase.io/yongbin) on keybase.
  • I have a public key ASBpw2-sHFwksWE0ImkoiOsU3Ncj8Ag3JTTe2aLSFEyJZQo

To claim this, I am signing this object:

@yongbin
yongbin / myvim
Last active January 1, 2021 11:03
#!/bin/sh
curl -sfLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
curl -sfLo ~/.vimrc https://gist.githubusercontent.com/yongbin/71ed64dfe100c38e7c58f98c60d38c6e/raw/421c1f63dd5715288c197684a0a41f91a8e41837/.vimrc
vim +PlugInstall +qall
@yongbin
yongbin / .vimrc
Last active January 6, 2021 07:27
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-repeat'
Plug 'nathanaelkane/vim-indent-guides'
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env perl
use strict;
use warnings;
use PDL;
use PDL::Stats;
use PDL::NiceSlice;
use Mojo::UserAgent;
use Time::Local;
@yongbin
yongbin / gist:9340541
Last active August 29, 2015 13:56
Compare OSX 10.8.5(Mountain Lion) built-it openssl 0.9.8y speed and homebrewed openssl 1.0.1f speed

OSX built-in openssl

$ /usr/bin/openssl speed
OpenSSL 0.9.8y 5 Feb 2013
built on: Jun 27 2013
options:bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) aes(partial) blowfish(ptr2)
@yongbin
yongbin / private.xml
Created November 19, 2013 02:29
mac osx 에서 바람 한글 입력기를 사용하며 Emacs 환경에서만 바람 입력기를 disable 하고 Emacs 자체 입력기를 호출하도록 하는 KeyRemap4MacBook 의 private.xml 설정.
<?xml version="1.0"?>
<root>
<appdef>
<appname>EMACS</appname>
<equal>org.gnu.Emacs</equal>
</appdef>
<item>
<name>emacs - friendly input method</name>
<identifier>private.emacs.friendly-input-method</identifier>
<only>EMACS</only>
@yongbin
yongbin / .screenrc
Created November 16, 2013 01:04
제가 사용하는 ~/.screenrc 입니다.
vbell off
bindkey -k k1 select 0
bindkey -k k2 select 1
bindkey -k k3 select 2
bindkey -k k4 select 3
bindkey -k k9 screen
bindkey -k k; screen sudo su
# Bind F11 to Ctrl-A + n
> from: Gabor Szabo <gabor@szabgab.com>
> to: Yongbin Yu <supermania@gmail.com>
> date: Mon, May 13, 2013 at 7:23 PM
> subject: The passing of Hojung Youn
> mailed-by: gmail.com
> signed-by: gmail.com
> : Important mainly because it was sent directly to you.
>
> Hi Yongbin,
>