Skip to content

Instantly share code, notes, and snippets.

View kanatzidis's full-sized avatar

Gregori Kanatzidis kanatzidis

View GitHub Profile
@kanatzidis
kanatzidis / pushstate.nginxconf
Created April 3, 2016 19:19 — forked from aotimme/pushstate.nginxconf
Nginx config file to support pushState.
# pushState friendly!
# The setup:
# * website name is `site.com`
# * the API for your running on localhost:3000
# * the root for API calls is at `/api`, and you have authentication routes with root `/auth` (both go to localhost:3000)
# * javascript app is located at `/path/to/javascript/app`
# Assuming you have your server for API calls at localhost port 3000
upstream api_sitecom {
server localhost:3000;
@kanatzidis
kanatzidis / alias.cmd
Created January 14, 2017 17:38 — forked from benjamine/alias.cmd
Aliases for windows command line
::
:: Aliases for windows command line
::
:: Installation:
::
:: - create a folder for your aliases (eg: ```c:\cmd-aliases```)
:: - add that folder to your PATH variable
:: - save this script as setalias.cmd on that folder
:: - run "alias" to see usage
::