Skip to content

Instantly share code, notes, and snippets.

View lemonjp's full-sized avatar
😀

Moritsugu Wada lemonjp

😀
View GitHub Profile
@lemonjp
lemonjp / sublime_text_settings.md
Last active March 20, 2018 00:06
Sublime Text Setting

sublime text settings

{

	"ignored_packages":
	[
	],
	"trim_trailing_white_space_on_save": true,
	"vintage_ctrl_keys": true,
@lemonjp
lemonjp / Msys2-Vim-Lua.md
Last active January 5, 2018 19:15
Msys2 + Vim + Lua

Msys2 + Vim + Lua

Install necessary packages and lua by pacman

pacman -S base-devel msys2-devel git ruby python2
pacman -S ncurses-devel libcrypt-devel gettext-devel
curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz
tar xvzf lua-5.3.4.tar.gz
cd lua-5.3.4/src
@lemonjp
lemonjp / ubuntu-14.04-setup.md
Last active July 24, 2016 01:32
Ubuntu 14.04 Setup

Ubuntu 14.04 Setup

JAVA 8

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

$ java -version
@lemonjp
lemonjp / Ubuntu-Setup.md
Last active April 18, 2018 04:06
Ubuntu 16.04 Setup

Ubuntu 16.04 Setup

Customize bash prompt

eazy prompt

# get current branch in git repo
function parse_git_branch() {
	BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
@lemonjp
lemonjp / YouCompleteMe.md
Last active April 15, 2017 18:35
Install YouCompleteMe.vim

YouCompleteMe.vim Installation

Install YouCompleteMe on Ubuntu 16.04

sudo apt install vim-nox

sudo apt-get install build-essential cmake

sudo apt-get install python-dev python3-dev
@lemonjp
lemonjp / vim74_for_centos.md
Last active June 25, 2016 08:06
Vim7.4 for Centos6

Vim 7.4 Install for CentOS

check whether vim support on python or not.

:py import sys; print(sys.version_info)

os level support python check

$ python --version Python 2.6.6

$ uname -a

# download latest libevent2 and tmux sources, and extract them somewhere
# (thx bluejedi for tip on latest tmux URL)
#
# at the time of writing:
# http://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.22-stable.tar.gz/download
# wget http://downloads.sourceforge.net/tmux/tmux-1.8.tar.gz
#
# install deps
yum install gcc kernel-devel make ncurses-devel