Quantcast
Channel: SOS
Browsing latest articles
Browse All 53 View Live

Useful git shortcuts

Over the years I’ve found myself following a near identical workflow with Git, and I finally got around to making shortcuts for these common tasks. You can find these all in a Github repo at...

View Article



Image may be NSFW.
Clik here to view.

Lightweight authentication and upload to Google Cloud

Github – https://github.com/shaneosullivan/gcloud-storage-json-upload NPM – https://www.npmjs.com/package/gcloud-storage-json-upload Authentication to the Google Cloud, as well as uploading to it, is...

View Article

sms-splitter – Intelligently split SMS messages

At Promise Engineering, we’ve open sourced our code that does intelligent SMS message splitting.  It can do useful things like ensuring messages are split on a space character, and that template tokens...

View Article

Blazing fast tests with Firebase

At Promise, we’ve built some good infrastructure to let us move fast, and I’ve written a post about one of the most effective: getting a 15X speedup in our testing framework. Read more at...

View Article

Firebase strips all request cookies

A painfully wasteful discovery today was that, when you are using Firebase Functions to serve your code, it strips all cookies from the request object.  The only hack around this is to use a specially...

View Article


Gitme.me brings joy to your code reviews

I recently shipped a fun Chrome extension called Gitmeme.  It brings joy to your code reviews on Github by making is easy and fun to add Gifs and memes to your comments. Get it from https://gitme.me...

View Article

Specifying a default form submit button that works with Safari

When you have a HTML form with multiple submit buttons, if the user hits their Enter button, it’ll submit the form and pretend that the first submit button in the form was clicked. Given that the...

View Article

Image may be NSFW.
Clik here to view.

The story of how Google could have killed Facebook with the flick of a switch

As we near the end of this decade, and more importantly the end of the hell that was 2020, I realised two things. First, I survived catching Covid-19, and secondly that I had a good story about the...

View Article


Uploading a signed video to Cloudinary: a code example

Cloudinary is a fantastic cloud service for storing, serving and transforming images and videos. However the documentation for uploading an image or video from the browser, in a secure fashion, are...

View Article


Forwarding an email with attachments using SendGrid and Formidable

SendGrid.com is a great service for sending emails programmatically, but it also has an InboundParse feature that will call your webhook for any emails sent to your domain. It can be useful to forward...

View Article

Image may be NSFW.
Clik here to view.

Building Countdoku, a multiplayer Sudoku Web app

tldr: I’ve built a multiplayer Sudoku game which you can play at Countdoku.app. Read on if you are interested in the technical details, (they’re cool, honest!) Many years ago I became interested in...

View Article

Image may be NSFW.
Clik here to view.

Kidz Fun Art – Tablet app for kids

I’ve built a fun new app for young kids, called Kidz Fun Art. Get it at https://kidzfun.art. I’m a software engineer, but far more importantly I’m the happy dad of two amazing girls, currently 4 and 6...

View Article

React.js: The Documentary

In mid-2022 I had a great time taking part in a documentary about the JavaScript framework ReactJS by the good people at Honeypot, along with many wonderful engineers who also played a part in its...

View Article


React.js: The Documentary & Q&A

In 2022 I had the great pleasure to chat with Ida Bechtle (https://twitter.com/BechtleIda) as part of a retelling of the early story of the creation of the React.js JavaScript library (I wrote about...

View Article

Image may be NSFW.
Clik here to view.

Using Bun.js as a bundler

Bun.js is a new (as of 2023) JavaScript runtime that is still very much in development, with it’s primary focus being on extreme speed. I’ve been following it for a while but until today haven’t had a...

View Article


Image may be NSFW.
Clik here to view.

Instant colour fill with HTML Canvas

TLDR: Demo is at https://shaneosullivan.github.io/example-canvas-fill/ , code is at https://github.com/shaneosullivan/example-canvas-fill . The Problem When building a website or app using HTML...

View Article

Image may be NSFW.
Clik here to view.

Lightweight NextJS example of uploading files to Google Cloud Storage

Many years ago, back in 2018, I wrote a tiny NPM package called gcloud-storage-json-upload, which lets you authenticate with Google Cloud Storage and upload a file without needing to install any huge...

View Article


How to clean up after your NextJS dev server

Sometimes you need to modify files when building a web application that must be reverted before committing. In my case I’m building a Chrome extension that reads from a NextJS based web service, and...

View Article

How to list all files in a browser’s Origin Private File System

In case you’re working with the Origin Private File System on a browser whose dev tools don’t yet support browsing the files (all browsers as of Nov 2023, though Chrome does have an unofficial...

View Article

Image may be NSFW.
Clik here to view.

Quick chicken soup recipe for sick people

Thanks to ChatGPT for this recipe with no stupid SEO in it. Total time to make: 80 minutes if you’re a normal slow chopper of vegetables (like me), 50 minutes if you’re super fast with a knife. For a...

View Article
Browsing latest articles
Browse All 53 View Live




Latest Images