Skip to content

Instantly share code, notes, and snippets.

@snsnsjsn
snsnsjsn / Upgrade vim
Created August 12, 2018 09:54 — forked from yevrah/Upgrade vim
Update to Vim8 on Centos 7
# You may use this CentOS 7 repository on Fedora Copr for Vim 8 builds.
# https://copr.fedorainfracloud.org/coprs/mcepl/vim8/
#
# Run these commands on CentOS 7.
# Add this repository:
sudo curl -L https://copr.fedorainfracloud.org/coprs/mcepl/vim8/repo/epel-7/mcepl-vim8-epel-7.repo -o /etc/yum.repos.d/mcepl-vim8-epel-7.repo
# Upgrade Vim to vim 8:
@snsnsjsn
snsnsjsn / gcc_compile.sh
Created April 17, 2016 14:53 — forked from dogukancagatay/gcc_compile.sh
Scripts for compiling compilers gcc-4.8.3 and llvm-clang-3.4.
#!/usr/bin/env bash
#####################
## Set build prefix and source code dir
#####################
BUILD_PREFIX="/home/dogukan/local"
SRC_DIR="/home/dogukan/src"
BUILD_DIR="/home/dogukan/src/build"
@snsnsjsn
snsnsjsn / 0_reuse_code.js
Created February 18, 2016 05:08
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console