Unison is a great little tool to synchronize files between your local machine and a remote server. It’s free, open-source, and cross-platform. I use it every day to develop Jetpack. However, until very recently I couldn’t use it to work with files on this very site. I’m hosted with Webfaction, a great hosting provider for developers who want flexibility without having to deal with server administration. A lot of packages are already installed and configured on my server for me. Unison is not available by default, so I had to install it myself. Luckily, Webfaction lets you do that!
I’m very careful with the things I install on my computer, and the extensions I used in Google Chrome, my browser of choice.
asgds_modal ID. That’s pretty bad. ?
If you use that extension, you’ll want to deactivate it right now!
I’m now back to using the Network tab of the Developer tools for that kind of work, unless some of you know of a good extension I could use?
I like CloudFlare. They offer tools to protect your site, and a lot of their services are even free. For the most part, it’s a service you set once, and forget about.
That doesn’t mean you can’t have a little fun with it from time to time, though!
While tweaking my CloudFlare settings this morning, I decided to add a little Page Rule to redirect some of my site’s most dedicated bots to a very special YouTube page…
But when trying to update my remote development environment this morning, I ran into the first issue:
ssh-agent didn’t seem to work anymore. My keys were not added to my keychain when accessing my remote sandbox with
ssh -A mysandbox.
After a bit of googling, I found my answer. To fix the issue, and make sure I could use my keys even when connected to a remote sandbox, I added the following to my
Host * IdentityFile ~/.ssh/name_of_my_private_key_file AddKeysToAgent yes
Now on to the next problem!
Google Play Music is my music player of choice: it’s available everywhere, fully compatible with my Android device, and allows for easy download and upload of tracks. Its lucky mixes are also always on point. I use the free version for now, but I plan on switching to the Paid version once YouTube Red is available in Hungary (one can dream, right?). I believe the paid version gives you access to a library that’s way bigger than Spotify.
Google Play Music can be used via the web, or via a Chrome Extension. You could even use this Electron app if you wanted to. You can also use those tools to upload music from your local computer. However, that upload feature won’t work if you also happen to use Avast Mac Security. When you try to upload, you’ll receive the following error:
Can’t establish a secure connection
It seems that its Web and File System Shields block all uploads. To solve the issue, open Avast Mac Security, go to Preferences, and disable both shields. Don’t forget to turn them back on once you’re done with the upload!
I just got a new computer, and wanted to install everything from scratch instead of copying data from my old machine. However, I didn’t want to spend hours going from site to site, downloading disk image files, opening them, installing a software, deleting the dmg file, and so on. Luckily, Homebrew and Cask were here to help! Here is the shell script I came up with.
Fresh coat of paint for my blog: new theme, new logo, new version of PHP, and HTTP/2!