SSH Agent in macOS Sierra

I upgraded to macOS Sierra this weekend. The upgrade was mostly painless; I only had to switch from Karabiner to Karabiner Elements to customize my keyboard.

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 .ssh/config file:

Host *
        IdentityFile ~/.ssh/name_of_my_private_key_file
        AddKeysToAgent yes

Now on to the next problem!

Google Play Music / Avast: fix uploads from a Mac

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.png

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!

avast-shields.png

How to create Tiny Planets (photo spheres) in Android 5.0+ (Lollipop)

When Android 4.2 was released, one of my favorite features was the new Camera app and its Photo Sphere option. It allowed you to take 360-degree panorama pictures, and you could then use the photo editor to create a “tiny planet” from this panorama. I actually published a few here on my blog:

When Android 5.0 (Lollipop) was released, it appeared that the option was gone from the editor. You could still create Photo spheres, but I couldn’t find a way to create the Tiny Planets. Lucky for me, I finally found the option back!

If, like me, you can’t locate the option anymore and would love to create your own little worlds again, without having to use a third-party app, follow the steps below.

How to create a tiny planet in Android 5.0+

Yeah B***h, Magnets!

Crazy what you can do with an Arduino, and some imagination! ?

Note: the post title is not related to any Marvel movie, but I’m sure more than a few of you will know where this comes from ?