var val = ($(window).height() + $(document).scrollTop())
Just had severe issues getting my Surface Pro 3 to boot into windows. It got stuck on the Surface splash and didn’t budge from there. Tried forcing it to shut down by holding down the power-button and restarting, but didn’t help. What did help was to do a two button shutdown, which I didn’t realize was a thing…
Step #2 seems to be the key, and ignore any sort of screen flashes or such while you hold the buttons down.
Also, by the way, if you simply hold the volume up button down and press the power button normally, you will get a boot menu, which I also didn’t know about until today…
'Authorization': 'Basic ' + btoa(username+':'+password), but in the proxy script, that header had vanished.
Turns out it was Apache stripping it away. Don’t know if it’s because of security or because Apache thinks that, hey, I’m the one dealing with this stuff so no point sending it to the script. Anyways, seems you can get it back by doing the following in an .htaccess file:
Now the header is passed through to the API successfully and I’m no longer getting 401 Unauthorized back 🙂
Just a note to self…
Needed to gracefully shut down a Windows 7 virtual machine I was connected to through Remote Desktop today and found there was no Shut Down option in the start menu. Apparently by design, generally a good thing, and luckily easy enough to get around:
To cleanly redirect HTTP to HTTPS with IIS, first install the URL Rewrite module, and then add the following to your web.config. Also remember to have bindings defined for your site for both HTTPS(443) and HTTP(80).
Running the following SQL should give you how many days left until your evaluation license runs out. Also tried adding a calculation of when that date is. Either way, beware of off-by-one errors…