This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Force HTTPS" enabled="true"> | |
<match url="(.*)" ignoreCase="false" /> | |
<conditions> | |
<add input="{HTTPS}" pattern="off" /> | |
</conditions> | |
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" /> | |
</rule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def escape_XML(str) : | |
str.replace('"',"\042") | |
str.replace('&',"\046") | |
str.replace("'","\047") | |
str.replace('<',"\074") | |
str.replace('>',"\076") | |
return str | |
def ssml_break(msec): | |
return '<break time="'+str(msec)+'"msec/>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .gitignore for ASP.NET MVC / Windows Azure development | |
# Original file: https://gist.github.com/3318347 by @codingoutloud | |
## Github doc on ignoring files: https://help.github.com/articles/ignoring-files | |
## The man page for .gitignore (referenced by github): http://man.cx/gitignore | |
## Of possible interest (can be complex): https://github.com/github/gitignore | |
# Troubleshooting | |
# 1. If you add a .gitignore file to an existing repo (or significantly change one), you may want | |
# to force it to act as though the new/updated .gitignore was in force the whole time. | |
## http://stackoverflow.com/questions/1139762/gitignore-file-not-ignoring |