habd.as

Code

Open source software shared with the community.

Sites

Websites developed for fun and profit.

Unbrick a Micro SD Card using Tails and macOS Mojave

7 minute read Published

Learn to dual-boot a Mac using a second operating system running Linux and use it to troubleshoot hardware problems by unbricking a Micro SD card.

Recently, while creating a physical back-up of my Mac, I ended up corrupting the Micro SD card I was using to perform the back-up operation. This translated into a one line cautionary alert inside the related blog post:

Caution: DO NOT attempt to remove the SD card or adapter during this process.

Turns out removing an SD card during a 100+ GB 77,000 file transfer from a Mac to an SD card isn’t the best idea – despite what a five year-old might tell you.

After several hours of toiling with Disk Utility, diskutil and dd on macOS the furthest I got was to experience the same issues as another individual who posted on Apple Exchange 3 years ago - their question unresolved, until now.

Awesome React Components

7 minute read Updated

Hand-picked components and libraries to help you build your next hot app.

One of the best parts of building with React is discovering new and awesome open source components to use. Rather than just throwing the kitchen sink at you, here’s a short list of React components and libraries I feel are truly awesome.

Coding Mass Destruction

2 minute read Enclosure Published

GitHub's new policy on the use of its services for the creation of WMDs.

Gitea announced just last week gitea.com was now live and accepting user registrations while the Gitea development team prepares for their eventual move off GitHub. I was excited to see this as, just a few days prior, I sent some encouragement after myself leaving GitHub. Then I signed-up.

Blocking MinerBlock

4 minute read Published

How to cloak your Webminer from the MinerBlock browser extension.

MinerBlock is a browser extension which alters the content of a webpage in an attempt to prevent a handful of crypto miners from running.

To function MinerBlock must be installed and left running in the browser while a user surfs and it must be trusted even though extensions can get you hacked.

Consolidate a Jekyll site with Hugo

8 minute read Published

How to migrate a website hosted on Jekyll into an existing Hugo site.

Three years ago I started a website called hackcabin.com to scratch an itch after discovering Hugo and starting development on After Dark. At the time my primary website was running Jekyll and build times were nearing the 2-3 minute mark for little more than 70-80 blog posts.

Adeng Adeng, GitHub

3 minute read Published

Why I deleted a 10 year-old GitHub account and how I expect it will improve my development workflow in the Saka New Year.

The P20 Pro blinked itself on the morning after Nyepi, alarm sounding as the Hindu island of Bali reopened at the first new moon in March. I looked over at the planning board on the wall. Unlike the day prior, it was now filled with cards ready to be transitioned to the DONE column. Leaving GH wasn’t one.

Singapore ICA Officials Interrogated and Deported Travelers During 2018 Holidays

9 minute read Enclosure Published

Detained by ICA at Changi and deported to Indonesia, how I avoided being forced to fly to the United States after a routine visit to Singapore.

The events described herein occurred on and around November 11th, 2018. They are true and can be corroborated with visual and audio recordings. Identities of some ICA officials involved known but withheld out of fear of retaliation.

Enclosed: 17 minute audio interview with filipino man explaining how ICA “terrorized” his 65 year-old mother during a birthday trip to Singapore.

Brew Install Missing Formulas

5 minute read Published

How to recover deleted Homebrew formulas following a brew upgrade.

Okay so I was trying to upgrade to the latest version of Hugo today on macOS and didn’t have the time nor the patience to read man brew again.

tldr brew didn’t show how to install a specific version of a formula so I did what any reasonable person would do and read Jake Trent’s downgrading post so I knew how to go back after an upgrade.

Then I ran a brew upgrade hugo to get the latest Hugo version…

JAMstack Frameworks, Tips and Tools

14 minute read Updated

Frameworks, tools and tips for brewing up a hot website.

Thinking about cooking up the next Smashing Magazine? Maybe you’re looking for front-end tools to build a new kind of JAMstack site? Perhaps you’ve just decided to taking a breather from building with React and Angular for a bit. Whatever the reason you just landed on an awesome list. And it’s chock-full of open goodies for developers to build websites with.

Managing Passwords on Android

2 minute read Updated

How to secure your passwords and keep them synced between devices.

After hacking Android onto an HD2 previously running Windows Mobile I quickly became challenged with the task of recalling passwords for frequently used apps – apps like Telegram, ProtonMail, Binance, Snapchat you name it.

And although long-term password management may feel like a burdensome task to some a steadfast approach is critical for security and relatively painless for anyone who’s been using a KeePass port the last decade.

Swarm Clusters on Digital Ocean

9 minute read Updated

How to set-up a two-node Swarm cluster on Digital Ocean using Docker Machine.

Lately I’ve been learning more about cloud architecture and related tooling. Stuff like Lambda, Serverless, AWS CLI and – now that it’s a part of Docker Machine – container orchestration with Docker Swarm clusters.

As an AWS user I’m particularly geeked about the Docker Private Beta, which makes it possible to experiment with Swarm using Amazon Web Services. But rather than waiting for a private beta we’re going to experiment with Docker Swarm using one of my favorite prototyping tools apart from the RPi: Digital Ocean.