Start MySQL server without user authentication and networking, this allows to connect without credentials from localhost only. Run using the same user account the MySQL daemon runs under to avoid permission problems (probably, sounds reasonable doesn’t it?) Connect to MySQL with no credentials: Reload authentication: Change root password: MySQL 5.7.6 and later: MySQL 5.7.5 and earlier: … [Read more…]
The instructions on how to automatically mount NTFS drives/volumes as Read/Write on El Capitan 10.11
Bash script for Linux to check a share is mounted, attempt recovery and remount.
The instructions on how to automatically mount NTFS drives/volumes as Read/Write (originally found on Stack Exchange: http://apple.stackexchange.com/a/180248) worked great. However after installing software updates to 10.10.4 (at present) this stopped working and reverted to mounting as read-only. Most likely that the /sbin/mount_ntfs binary was replaced and the link to the osxfuse/ntfs-3g version removed. Relinking got it … [Read more…]
Adds an item to Windows Explorer context menu (the menu that appears on right click) so that the selected folder can be opened as a project in Sublime Text. It’s really very useful!
Use the hg convert command to make a new repository from a sub directory and retain the change history.
Name resolution broken? It was for me using IOS8 or OS X Yosemite to connect to a corporate Windows Server 2008 PPTP VPN. It worked fine before the upgrades using IOS7 and Mavericks, hostnames ending in .local resolved fine and remote desktop connection worked fine. After googling, I began by thinking the problem was caused … [Read more…]
A while ago I inherited a bunch of VB6 code to fix and maintain. I decided to migrate to Python scripts over time but in the interim needed VB6 setup. Here is what I did to make the Visual Studio 6 IDE usable for my purposes.
Quick start logging. Here are some short examples of logging in Python 2.7.
To get the greatest speeds from AirDrop it is usually best to disconnect from the wireless network and take advantage of the peer-to-peer nature of AirDrop. This can be achieved by either deleting the network from Network Preferences, which is not convenient at all, or by using the airport utility.