technology

Awesome React Boilerplates

7 minute read Updated

Awesome React starter kits to kick your app development into high gear.

Not interested in reinventing the wheel? Neither am I. Here’s a short list of awesome boilerplates – sometimes called starter kits or seeds – for getting your React applications off the ground in a hurry.

These boilerplates weren’t taken from any list, however awesome it might be. Rather, they’ve gained enough mindshare to find me outside The Stream.

So without further ado…

Reaction Commerce — Getting Started

10 minute read Updated

The Unofficial Guide to getting started with Reaction Commerce v3.

Reaction Commerce is a full-stack, self-hosted commerce stack which can run for as little as $10 on your own VPS. Think of Reaction Commerce as what WooCommerce might’ve become had it not been dependent on PHP/WordPress and instead was rewritten using modern coding languages and development techniques.

Using self-hosted commerce is like having your own personal Shopify, WIX or BigCommerce right at your fingertips. Only there’s no monthly costs to worry about just to use it. And there’s no vendor lock-in which would otherwise make it too difficult or risky to switch between platforms when the need arises.

With commerce goliaths like Amazon doubling quarterly profits in 2020 while, at the same time snubbing their own FBA customers, it’s high time you took a hard look at your e-commerce and take control of your own commerce destiny. In this post I will show you how to set-up your own self-hosted Reaction Commerce stack on a VPS with as little as 2GB of RAM or about $10/month.

Redirect non-www to www Traefik v2

4 minute read Published

How to create cool URIs using Traefik 2 with Docker labels.

I like cool URIs that don't change so whenever I’m making a new website I make sure I put my web content on the www subdomain where it belongs. This of course leaves the domain apex, or root of the domain, empty and user agents don’t always do what comes so natural to us humans — adding a www in front of a domain name.

Computers get even more clumsy when you add HTTPS into the equation and are working with new technologies. So if you’re looking for cool URIs too here’s how to redirect domain.example to www.domain.example with Traefik v2 over both HTTP and HTTPS using Docker labels in a docker-compose.override.yml YAML file:

ACH Payments on Reaction Commerce

7 minute read Updated

How to accept ACH payments using Reaction Commerce.

After learning Mitragynine was the cure for my five year cough I realized most of my stay here in Bali put me a mere 653 miles from the source of the jamu (Indonesian for herbal remedy) I now substitute entirely as a replacement for caffeine. Given my medical journey, location and software engineering background it seems fitting to set-up an online shop to better take advantage of this miracle plant. After some trial and error the platform I’ve landed on for commerce is called Reaction Commerce. And in this post I’ll show you how to use it to set-up a simple ACH payment system using Reaction on your own website.

Hiding Apps in the Deepin DDE Launcher

3 minute read Published

How to hide or modify main menu apps in Deepin Desktop Environment.
While getting my Invisible Arch set-up I cycled through a few desktops before settling happily on a now very slick and stable Deepin V20, still in beta. Given I’m shifting back and forth between Deepin and GNOME every so often I ended up having multiple apps with the same or similar names appearing in the menu system. To remedy that it’s possible to hide apps shown in the launcher. To hide or modify apps appearing in the Deepin launcher menu install a package called alacarte from the package repository.

Getting Started with Yew for Rust

4 minute read Published

Rust framework for creating multi-threaded front-end web apps with WebAssembly.

Today we’re going to create a starter website using Yew for Rust. This should take you about 20-30 minutes depending on the speed of your Internet connection and computer. At the outset you will have a website so bleeding edge you didn’t even feel the cut. Kind of like how Node developers didn’t see Deno coming…

To get started install or upgrade Rust. If you don’t have Rust installed, you can install it from the stable channel using the following command:

Living Without a SIM Card

4 minute read Updated

A year later. Getting by without a SIM card in my smartphone.

Subscriber Identity Module. That’s what “SIM” stands for. I acquired my first SIM when I was 17 at a T-Mobile outside Chicago when I got my first cell phone, the Nokia 1110, the best-selling phone of all-time.

A few years later I was working in Chicago and almost everyone in the office had an iPhone. But a few people had Android phones. Their phones did so much my dumb phone couldn’t do. Though having grown up in an analog world the idea of the phone doing everything concerned me in that I would grow dependent on it.

Onion Sites Vivaldi Browser Android

2 minute read Published

Surf the Web more privately on Vivaldi browser for Android.

For the last three years I have been living in a predominantly Muslim country where pornography is censored. And I’m not just talking the obvious sites like PornHub. Reddit and Vimeo – both of which contain porn – are also censored.

If not being able to access any of the above websites seems unfree to you consider the fact you too are are being censored on a daily basis. The censorship most of you experience just isn’t as obvious because you’ve grown accustomed to paywalls, cookie disclaimers and the occasional reCAPTCHA.

(Rolling Down) Katamari Drive

2 minute read Enclosure Published

Using FFMpeg to combine CC-licensed works.

Inspired by a chiptune topic on ZeroNet I downloaded one of the songs shared using youtube-dl but wasn’t satisfied with the quality of the video encoding. The song on the other hand was great. And thankfully the author’s website was still up so I could download the original MP3 and creating a new video.

I spent a few hours learning FFMpeg from the comfort of the chair behind my Invisible Arch. The manpages for FFMpeg include tons of diagrams and examples so cobbling something together wasn’t as hard as I’d expected. Once I was satisfied with the result I transitioned over to my 2019 Mac to share the video…

Moving GPG Keys Privately

4 minute read Updated

How to privately move your GPG keys from one machine to another.

If you’re a software developer working ethically you’re almost certainly using GnuPG to sign your work. And if you’ve been at it for any length of time you’ve almost certainly been forced to switch machines. Unless your aim is to create a new identity for each machine you use (please don’t) you need a simple, repeatable strategy moving GPG keys privately. Let me show you how.