Skip to content

Instantly share code, notes, and snippets.

View lwl5219's full-sized avatar

Jolin lwl5219

  • LineKong
  • ChaoYang, BeiJing
View GitHub Profile
@lwl5219
lwl5219 / sublime-text-3-windows-shortcuts.md
Last active October 23, 2018 01:28 — forked from mrliptontea/sublime-text-3-windows-shortcuts.md
[Sublime Text 3 - Shortcuts] (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line
@lwl5219
lwl5219 / remotefiles.conf
Created January 13, 2019 02:33 — forked from bennylope/remotefiles.conf
nginx remote file proxying
location ~* ^/remote-files/(http[s]*://)(.*?)/(.*) {
# Do not allow people to mess with this location directly
# Only internal redirects are allowed
internal;
# nginx has to be able to resolve the remote URLs
resolver 8.8.8.8;
# Location-specific logging
#access_log /usr/local/etc/nginx/logs/internal_redirect.access.log main;