Skip to content

Instantly share code, notes, and snippets.

Brian Lee digital-drifter

Block or report user

Report or block digital-drifter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@digital-drifter
digital-drifter / gist:148b949b6433cde7aa1f6bbbac74ba1e
Created Aug 3, 2018
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
View gist:148b949b6433cde7aa1f6bbbac74ba1e
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~
@digital-drifter
digital-drifter / cors.nginxconf
Created Jul 30, 2018 — forked from pauloricardomg/cors.nginxconf
Nginx configuration for CORS-enabled HTTPS proxy with origin white-list defined by a simple regex
View cors.nginxconf
#
# Acts as a nginx HTTPS proxy server
# enabling CORS only to domains matched by regex
# /https?://.*\.mckinsey\.com(:[0-9]+)?)/
#
# Based on:
# * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html
# * http://enable-cors.org/server_nginx.html
#
server {
You can’t perform that action at this time.