Skip to content

Instantly share code, notes, and snippets.

View netwood's full-sized avatar
🚀
Working from space :)

Igor Korsakov netwood

🚀
Working from space :)
View GitHub Profile
@netwood
netwood / cdn.conf
Last active August 29, 2015 14:06 — forked from tx2z/cdn.conf
# -------------------------------------------------
# CDN CONFIGURATION
# -------------------------------------------------
# Show "Not Found" 404 errors in place of other NGINX errors
error_page 403 /404;
error_page 404 /404;
error_page 405 /404;
error_page 500 501 502 503 504 /404;
location /404 {
@netwood
netwood / 0_reuse_code.js
Created August 7, 2014 06:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console