Skip to content

Instantly share code, notes, and snippets.

View williampratt's full-sized avatar

William Pratt williampratt

View GitHub Profile
@eugene-kim
eugene-kim / minimap_setting.py
Created October 26, 2017 16:31
Hide minimap in Sublime Text 3 by default.
# -*- encoding: utf-8 -*-
# Save it as minimap_setting.py in the User directory (in Preferences -> Browse Packages).
# Then, you just add "show_minimap": false in your settings and you're good to go!
import sublime
import sublime_plugin
class MinimapSetting(sublime_plugin.EventListener):
@michiel
michiel / cors-nginx.conf
Created July 5, 2011 10:41
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#