Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
애니프사 모집중

김지수(金持寿) vbalien

🌴
애니프사 모집중
View GitHub Profile
We couldn’t find that file to show.
We couldn’t find that file to show.
View .tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set -g @plugin 'jimeh/tmux-themepack'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
@vbalien
vbalien / init.vim
Created Jun 13, 2016
my NeoVim settings
View init.vim
" ////////// Manage plugins ///////////
call plug#begin('~/.config/nvim/plugged')
" Make sure you use single quotes
" Shorthand notation; fetches https://github.com/junegunn/vim-easy-align
Plug 'junegunn/vim-easy-align'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'Xuyuanp/nerdtree-git-plugin'
View console.xml
<?xml version="1.0"?>
<settings>
<console change_refresh="10" refresh="100" rows="25" columns="80" buffer_rows="500" buffer_columns="0" shell="" init_dir="" start_hidden="0" save_size="0">
<colors>
<color id="0" r="20" g="20" b="20"/>
<color id="1" r="207" g="106" b="76"/>
<color id="2" r="131" g="144" b="97"/>
<color id="3" r="206" g="168" b="105"/>
<color id="4" r="117" g="135" b="166"/>
<color id="5" r="155" g="133" b="157"/>
@vbalien
vbalien / .vimrc
Created Jun 4, 2016
my vim settings
View .vimrc
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'L9'
View My_atom_settings.md

엘련의 Atom에디터 설정

이 설정은 엘련 개인의 설정이며 이 설정을 누구든지 사용해도 좋으나, 이 설정을 사용함으로서 생기는 문제에 대해선 책임지지 않습니다.

@vbalien
vbalien / guess_encoding.py
Last active May 9, 2016
문자 byte배열 인코딩 타입 추측
View guess_encoding.py
def guess_encoding(text):
guess_list = ['euc-kr', 'utf-8', 'utf-16']
for best_enc in guess_list:
try:
str(text, best_enc, "strict")
except UnicodeDecodeError:
pass
else:
break
return best_enc
View gogoomas-339698.php
<?php
$descriptorspec = array(
0 => array("pipe", "r"), // stdin 스트림
1 => array("pipe", "w"), // stdout 스트림
2 => array("file", "/tmp/error-output.txt", "a") // stderr 스트림 -> 파일로 씀
);
$cwd = '/tmp'; // 실행할 디렉터리
// $env = array('some_option' => 'aeiou'); // 변수 설정
You can’t perform that action at this time.