Skip to content

Instantly share code, notes, and snippets.

View dprothero's full-sized avatar

David Prothero dprothero

View GitHub Profile
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
cinst googlechrome
cinst firefox
cinst fiddler4
cinst git-credential-manager-for-windows
cinst console-devel
cinst poshgit
cinst nodejs.install
@dprothero
dprothero / gist:224a4752faa6c1797526
Last active September 9, 2015 18:51 — forked from nsilvah/gist:a7a31f017de098a79f38
DatePicker directive to fix timezone issues
app.directive('datepickerLocaldate', [function () {
var directive = {
require: 'ngModel',
link: link
};
return directive;
function link(scope, element, attr, ngModel) {
scope.$watch(
function(){
  1. Decide on a subdomain to use with ngrok. This makes the whole process easier.
  2. Open up a Command Prompt in Administrator mode and run the following command to register the URL with HTTP.sys replacing "modernie" with your subdomain and ##### with your VisualStudio/IISExpress application's port.
netsh http add urlacl url=http://modernie.ngrok.com:#####/ user=everyone
  1. Edit your applicationhost.config. The easiest way to is start up the site and right-click the IISExpress icon in the System Tray. Click "Show All Applications" and select your website running at localhost:#####. Click the path next to "Config" to open the file in an editor.
  2. Search for you site's <bindings> configuration. The easiest way is to search for *:#####:localhost, which should bring you to the <bindings> section for your site. Edit them to include the following: