RSSAmplifier

Blog

Moncef Belyamani's Coding Guides

Coding guides for beginners and beyond.

moncefbelyamani.comRSS feed ↗6 posts

Latest posts

Automate GitHub API Calls With Ruby, Keyboard Maestro, and 1Password CLI

One of the perks of the “Ultimate” version of Ruby on Mac is access to the private GitHub repo. As a developer — especially one who loves automation — it was tempting to try to completely automate inviting new Ultimate customers to the repo. To do that would require implementing a custom checkout that captures the customer’s GitHub username, so I can then pass it on to the Paddle…

Automate Context Switching With Bunch

You sit down to work on a feature, and wake up your Mac. Oh hey, Slack is open. You decide to check it real quick. 30 minutes later, you remember what you wanted to do and close Slack. Then you switch to the terminal, cd to the project directory, open up the project in your favorite text editor, run the server, open the app in a browser, and arrange all the windows on your screen the way you like…

How to Install (Or Get Rid Of) therubyracer on M1 or M2 Macs

UPDATE : An updated version of this post now lives on the Ruby on Mac blog If you’ve been banging your head against a wall trying to install therubyracer gem on an Apple Silicon Mac (M1 or M2), then you’ve come to the right place. From talking to Ruby on Mac customers and other Ruby developers, a common pain point is not being able to run legacy Rails apps on M1 Macs. This is due to…

Quickly Act on Selected Text With PopClip and Its 180+ Extensions

PopClip was originally released in 2011, but I didn’t hear about it until four years ago, and I’m sure there are still a lot of people who don’t know about it. It’s one of the many useful apps you can discover and quickly install with the “Ultimate” version of Ruby on Mac . You can pick and choose from hundreds of Mac apps, fonts, and dev tools in the included…

Paste Text on Sites That Block It Without Extensions or Browser Hacks

It’s 2022, and there are still annoying sites that block pasting into form fields, for passwords, or your bank’s account and routing numbers. If you look up how to bypass this copy-paste restriction, the three most common solutions all have downsides: Use a browser extension, that might only work in certain browsers and only on some sites Change the Firefox configuration settings,…

Automate Copying and Pasting the Current Page Title and URL with Keyboard Maestro

An action I perform multiple times per day is adding web page links to my Obsidian daily notes . I keep track of everything interesting or useful I come across. When I first started my daily notes habit, I would manually copy the URL from the browser, then switch back to Obsidian, then format the link in Markdown format, and if I wanted the full title of the web page, I would go back to the…