Skip to content

Instantly share code, notes, and snippets.

View acepukas's full-sized avatar

Aaron Cepukas acepukas

View GitHub Profile
@kairyu
kairyu / gist:ef9decdd3c35d3e5e318c735b755f279
Last active November 18, 2019 02:23
Compile Vim 7.4 on Cygwin
apt-cyg install make automake gcc-core gcc-g++ python python3 ruby-devel lua-devel tcl-devel libncurses-devel libiconv-devel cscope
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-pythoninterp \
--with-python-config-dir=/usr/lib/python2.7/config \
--enable-python3interp \
--with-python3-config-dir=/usr/lib/python3.4/config-3.4m \
--enable-perlinterp \
--enable-luainterp \
@iauns
iauns / gist:6276455
Created August 20, 2013 02:26
An example of my .ycm_extra_conf.py which includes several modifications. See: http://iauns.com/b?summary=false&articles=2013_08_Vim_Plugin:_YouCompleteMe
import os
import ycm_core
# These are the compilation flags that will be used in case there's no
# compilation database set (by default, one is not set).
# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
flags = []
# Set this to the absolute path to the folder (NOT the file!) containing the
# compile_commands.json file to use that instead of 'flags'. See here for
@micho
micho / nginx.conf
Last active September 29, 2023 16:38 — forked from unixcharles/nginx.conf
nginx config for http/https proxy to localhost:3000
First, install nginx for mac with "brew install nginx".
Then follow homebrew's instructions to know where the config file is.
1. To use https you will need a self-signed certificate: https://devcenter.heroku.com/articles/ssl-certificate-self
2. Copy it somewhere (use full path in the example below for server.* files)
3. sudo nginx -s reload
4. Access https://localhost/
Edit /usr/local/etc/nginx/nginx.conf: