Skip to content

Instantly share code, notes, and snippets.

View EmmanuelTsouris's full-sized avatar

Emmanuel Tsouris EmmanuelTsouris

View GitHub Profile
@EmmanuelTsouris
EmmanuelTsouris / screen-stuff.md
Created June 7, 2016 22:37 — forked from gesellix/screen-stuff.md
screen and Docker for Mac
screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty



screen -AmdS docker ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
screen -r docker
# enter, then disconnect with Ctrl-a d
screen -S docker -p 0 -X stuff $(printf root\\r\\n)
screen -r docker
@EmmanuelTsouris
EmmanuelTsouris / Angular2-on-Windows2008
Created May 22, 2016 04:54
Hosting an Angular 2 App on Windows 2008 (IIS 7)
#Allowing the Plus (+) character in a URL for Angular2 html5 Routing
By default, IIS 7 denies requests with certain characters in the URL. The plus (+) sign is one of those illegal characters. You can disable the setting for your web app using the web.config, basically setting allowDoubleEscaping to true.
Before making this change in production, be sure to research and understand the security implications for your specific environment, server, and web application.
Example location in web.config
```
<configuration>
<system.webServer>
<security>