Secret Keys for WordPress on Azure

When creating a new WordPress (WP) site for Azure from the gallery, you are requested to enter deployment keys such as: AUTH_KEY, SECURE_AUTH_KEY, etc.     You can use the following WP API to generate random keys for you: https://api.wordpress.org/secret-key/1.1/salt However, the above API includes the $ character, which Azure in turn does not allow.   Use the…

4

How to Disable Autocorrect in IE11

Regardless of autocorrect settings in Windows 8.1, some words like “Company”, “Desktop”, etc. get capitalized automatically. This is more of an issue for users that use more than one language to communicate, such as German OS and writing in English. Note: This issue has been fixed during the Dezember 2013 patchday. To manually fix this:…

3

Fix Store App in Windows 8.1

Sometimes, after upgrading to Windows 8.1, the Store App may not start. It might still show the number of available updates on the Live Tile. Starting the app may show a progress ring but it may not finish loading.   To fix this, run the following in a Command Window (CMD) to re-register the Store App:…

137

How to Setup Windows Azure (Server 2012) as an SSTP and L2TP VPN Provider

———- windows.azure.com 1. Create new Windows Server VM using “Quick Create” 2. The DNS name, username and password will be used to connect to the VPN 3. A0 or A1 VM (starts at around $10/month or free with an MSDN subscription, no charge for stopped VM, billed by the minute) 4. Add HTTPS endpoint (TCP 443) 5….

37

How to start Windows Phone 8 Emulator without Visual Studio

Sometimes you need to start the WP emulator outside of VS. For example when developing web sites and testing them in the mobile version of Internet Explorer.   Here are the commands that you can store in a shortcut: Windows Phone 7: “C:\Program Files (x86)\Microsoft XDE\1.0\XDE.exe” “C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Emulation\Images\WM70C1.en-US.bin” /VMID {A9939106-C9EA-48B3-B242-8CC158F08096} Windows Phone 8:…

7

How to optimize WordPress popup-on-hover menus for touch devices

Many web sites have menus that are displayed on hover. On touch-enabled devices, there is no mouse and thus no hover effect. On those menu elements, set the tag property aria-haspopup=”true”. When an Internet Explorer 10 (Windows 8, Surface, Windows Phone 8, etc.) user on a touch-enabled device first taps on the element, it will behave…

3

JS: Improve performance when starting IE using Visual Studio

When developing web sites in VS, I always start IE by pressing F5 or by right-clicking on the HTML page and clicking on “View in Browser”. Recently, I was experimenting with HTML5 code to copy the frames of an MP4 video, reverse the frame data and render it back on a canvas. The code uses…

2

How to escape the Facebook White Screen of Death

When you create a page for your business, etc. using your Facebook account, you can click on “Use Facebook as <Your Page>” to manage it. Sometimes, this leads to a white page, also known as “White Page of Death”, “Blank Screen of Death”, “Blank Page of Death, etc. This blank page does not contain any…

138

Run 32-bit Remote Desktop (RDP) on Windows 64-bit

 Create a .bat file with the following three lines: @echo off set WinDir= start C:\Windows\SysWow64\mstsc.exe   The environment variable WinDir will only be deleted locally and temporarily, for the session that starts mstsc.exe and not for the entire system. This prevents the 32-bit version from finding the 64-bit version and starting it, which is what…

2

JS: Dots are bad, M’kay?

When the return value of a function is needed multiple times, and the value is a constant, a variable should be used to cache it. In JavaScript, every dot that appears in a statement is equivalent to a function call.   Run the following code and you should see a 20% to 50% performance increase,…

1