RSSAmplifier

Blog

Salvatore's Blog

It works on my computer.

sal.devRSS feed ↗10 posts

Latest posts

Setting Up macOS for a Developer

In this post, I’ll share the key tools and configurations I use when setting up a new macOS environment for software engineering. Applications I’m a fan of Firefox and a bunch of other tools, but I’ll keep this to developer-related tools. iTerm2 I believe it is better than the built-in Terminal. Probably. Configure the following shortcuts from this tutorial . ⌥ ⌫ for deleting a word ⌥ ← for going…

Running Rust on Android with UniFFI

You don’t want rust in your android, but you might want Rust in your Android. Background I like Kotlin, and I’m very impressed with the content being written in Rust . I knew it should be possible to call Rust from my Android app. Because I love fighting with the compiler I wanted to see if I could get it working for fun. (I got it working!) I wrote this blog post so others could try it out, and…

Set up a free Mastodon-ready server in under 20 minutes with Pleroma + Fly.io

Run a Pleroma server on Fly.io ’s free tier. Pleroma can use Mastodon apps and federate with Mastodon servers. I wanted to run my own ActivityPub server. I like self hosting. I don’t like spending money. For a while I had tried setting up Mastodon but I didn’t get super far. I had a pretty rough cold for the last two days and suddenly I had a free schedule to figure this out. I ended up pounding…

4 macOS Screenshot Tricks To Impress Your Co-Workers

Here are 4 tricks that I’ve found to make my life easier and help me communicate better with my co-workers. 1. Store screenshots in a folder on your Dock 📂 How do you keep your desktop from being overrun with screenshots? The macOS default is to just dump the images next to everything else you store. If, like me, you take a lot of screenshots, your desktop can quickly fill up. The solution: store…

How I added the Kotlin Interactive Shell to Homebrew (and you can too)

I really like ki , but I didn’t want to run the shell script every time. Other folks felt the same , so I ended up writing this Homebrew formula . Here’s an abbreviated version of how I did it. How does Homebrew work? Homebrew is a package manager and artifact builder. All of the programs/tools/packages that core Homebrew knows about are located at brew --repo homebrew/core repository. The…

How to make a live wallpaper on Android

Let’s create a very very very basic live wallpaper on Android. Background on Backgrounds Android has had live wallpapers since Android 2.1 (Eclair, API 7) which was released in January of 2010 1 . If you were using Android back then, you might have remembered this gem of a wallpaper. 2 Step 0 - Prep an Android project Create an Android project using the creation wizard. I used all of Android…

Powers of Tau Ceremony

I got to take part in a crypto ceremony that I heard about on Radiolab. It was surprisingly easy to participate. What is the Powers of Tau Ceremony? I won’t pretend to understand. The digital currency group, The Zcash Foundation, posted an announcement late last year that explains it, but the main thing I got was this. The best part is that the Powers of Tau […] can scale to hundreds (or even…

Updating Jekyll Formats

It’s 2017; my site needed to stop looking so 2013. Thank you, Andrew Three and a half years ago, my buddy who is into design, Andrew , had a pretty swanky personal website. I thought it looked nice, so with his permission, I forked it, and pretty much took out his content and added my own. At first I was proud of it, and tried to add content to it. I even wrote a post on how to change the keyboard…

Customizing Your Mac Input Source Icon

Motivation Pair programming is pretty common around Square , and I’ve had the fortunate experience of pairing with my manager, Xavier . Now, if (you have a Mac and) you’ve ever had to type in a different language, you know that there is a flag in the top right corner that signifies the layout. The U.S. traditional Qwerty layout that we all know and love. A layout for people who want to try new…

Eventful First Sunday in San Francisco

Good Morning Having gone to bed early, David and I get up with no problem and head on down towards Market Street around 8:15AM. Google Maps informs us that our BART (Bay Area Rapid Transit) train will arrive at 8:29AM and will whisk us over to Akeem’s place where we’ll meet up with some other people before heading over to a parade. I took a good long glance at the map, and then cleared my phone…