github...
sqlcmd -S <ip> -d <dbname> -U <username> -P <password> -I
github...
sqlcmd -S <ip> -d <dbname> -U <username> -P <password> -I
{ | |
"bindings": [ | |
{ | |
"authLevel": "function", | |
"name": "req", | |
"type": "httpTrigger", | |
"direction": "in" | |
}, | |
{ | |
"name": "$return", |
azure storage cors set -a <storageAccount> -k <accountKey> --blob --cors '[{"AllowedMethods":["GET","OPTIONS"],"AllowedOrigins":["*"],"AllowedHeaders":["Accept","Accept-Encoding","Accept-Language","Access-Control-Request-Headers","Access-Control-Request-Method","Cache-Control","Connection","Content-Type","DNT","Host","Origin","Pragma","Referer","User-Agent","x-ms-blob-content-type","x-ms-blob-type"],"ExposedHeaders":[],"MaxAgeInSeconds":60}]' |
git_branch='`git rev-parse --abbrev-ref HEAD 2> /dev/null | sed s/^/\ \|\ /`' | |
emojis=(🐶 🐺 🐱 🐭 🐹 🐰 🐸 🐯 🐨 🐻 🐷 🐮 🐵 🐼 🐧 🐍 🐢 🐙 🐠 🐳 🐬 🐥) | |
emoji='`echo ${emojis[$RANDOM % 22]}`' | |
PS1="\[\033[0;36m\]\T | \W$git_branch | $emoji > \[\e[0m\]" |
###Expose IIS or IISExpress running in a Parallels Windows VM to your OS X host
####Rename your virtual machine
In your Windows VM, go to Control Panel
> System
> Advanced system settings
> Computer Name
and click Change
. Name this whatever you like, e.g. devserver. Restart your VM.
####Add an ACL rule
Open CMD or Powershell as administrator. Add a URL ACL entry for your new name on the port of your choice, e.g.
netsh http add urlacl url=http://devserver:8080/ user=everyone
####Add a firewall rule