Simple fix for the GitHub Desktop application opening, but the window appearing off screen. I tried ALT+M to move, etc, without any luck. The easiest way I found: Close the app and go to: %APPDATA%\GitHub Desktop\ Delete window-state.json Restart. That’s it.
Open CMD as Administrator: Export AppPools All %windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml Single %windir%\system32\inetsrv\appcmd list apppool “MyAppPool” /config /xml > c:\myapppool.xml Export Sites %windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml or in txt format (not very useful) %windir%\system32\inetsrv\appcmd list site > c:\sites.txt
When using BASH on WSL, by default it will constantly beep at you while using the TAB key, etc. Here’s how to remove it: nano ~/.inputrc Scroll down and remove the # comment from: #set bell-style none Close and re-open Bash. Vi also has a bell sound (I prefer Nano for whatever reason). In that… Continue reading Remove annoying beep sound on Windows Subsystem for Linux
There are a few tips and tricks I found for this installation. Here are the details. Check Windows Version First, here’s the entire Microsoft section on WSL. I highly recommend reading through it. There are various differences between the latest Windows 10 updates, so this might not work for your version! I’m on Windows 10… Continue reading How to install Apache and PHP 7.2 on Windows Subsystem for Linux
PHP Manager is a useful tool for configuring PHP in IIS. It is no longer supported, however, and a Registry trick is required to install it. Overview PHP Manager allows you to configure multiple versions of PHP for multiple VHosts on an IIS server. While it adds some overhead to the configuration, it can be… Continue reading How to install PHP Manager in IIS 10 or higher
The most interesting part about this is how much Microsoft wants to become the de facto web dev environment that Mac currently rules and this little change speaks to that. Here’s the MSDN blog describing the changes. In addition, however, is the Windows Subsystem for Linux. What MS has done is allow a “native” version… Continue reading Microsoft updates Notepad to cover more ground in the Mac dev war!
Windows Subsystem for Linux has started to make Windows into an actual development platform! It’s not there yet, but it is getting there. Although I really appreciate how *nix and Macs have created the majority of dev workflows, I am excited to be able to use an upgradable $500 Windows 10 laptop instead of a… Continue reading How to reset Ubuntu login Microsoft WSL
This is about resetting the MySQL 5.7 root password in Ubuntu 16.04 LTS You probably tried something like this: sudo service mysql stop mysqld_safe –skip-grant-tables & And then got something like this (stangely, exists is misspelled in the output):  5599 2018-03-02T21:36:41.292413Z mysqld_safe Logging to syslog. 2018-03-02T21:36:41.294798Z mysqld_safe Logging to ‘/var/log/mysql/error.log’. 2018-03-02T21:36:41.296902Z mysqld_safe Directory ‘/var/run/mysqld’… Continue reading mysqld_safe Directory ‘/var/run/mysqld’ for UNIX socket file don’t exists.
Notepad++ is a terrific, free alternative to NotePad and it is multipurpose. I love the tabbed interface and, especially, not having to save every tab on close. What you can’t do in Search in Files is easily filter out file extensions to search (well, actually, there’s a good chance you can create your own function… Continue reading Find all file extensions in a folder on Windows 10 using PowerShell
Here’s my reasoning of what Net Neutrality is so important: Those who control the medium control the message. The following are easy ways to understand the entire argument against keeping Net Neutrality: Hollywood came to exist because it could control manufacturing and distribution of content through cinemas/theaters. The invention of the motion film medium meant that stage and then… Continue reading Why Net Neutrality Is So Important