Skip to content

Instantly share code, notes, and snippets.

View vaalentin's full-sized avatar

Vaalentin vaalentin

View GitHub Profile
@vaalentin
vaalentin / .ycm_extra_conf.py
Last active October 5, 2018 10:29
c++11 YCM config file
import os
import ycm_core
flags = [
'-Wall',
'-std=c++11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
@vaalentin
vaalentin / tmux-cheatsheet.markdown
Created March 3, 2016 23:01 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@vaalentin
vaalentin / .htaccess
Created April 9, 2017 10:47 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/