Blank Page Technology

My home on the internet

I cofounded HappyFunCorp in 2009. We do product engineering for individuals, startups, growing companies and established concerns. We’ve launched over 200 products. We’ve learned a lot. I’d like to share some of that here.

This site is about product engineering from the technology perspective and other things that I find interesting.

I have three children and a dog.

Recent posts

Setting up IPFS on a chromebook

Connecting to the world

Published January 7, 2019 #howto #ipfs

Lets look at how to run an ipfs node on a chromebook. We are using the linux container for this, and in order to get the experience right we’ll need to install some chrome extensions to make it work seamlessly. IPFS is a distributed hypermedia protocal that is a way to access and share data using it’s cryptographic key. This way, it doesn’t matter where you get the data from, since you know that if it matches the key, then the data is what you requested.

Reading time: about 3 minutes

Read more...

Image Manipulation in Firebase

its all javascript

Published November 23, 2018 #firebase #howwo #javascript #images

We can manipulate images using JavaScript directly, which can be run both on the server or browser environment. Lets take a look at how we’d do this using create-react-app and firebase. We will deploy a function on firebase that will download the user’s avatar, manipulate the image and overlay it with a mask, and then spit out an image. Project Setup First make sure that you have nvm installed. We’ll need a different version of node for create-react-app then we will for firebase functions.

Reading time: about 6 minutes

Read more...

Implementing Serverless OAuth

for JAM Stacks and static sites

Published November 12, 2018 #howto #static_sites #functions #firebase

Most of the serverless platforms have their own forms of authentication, but it might not support the specific service that you are looking to use. Lets go through how we can build a react single page app, hosting on firebase, that talks to the unsplash service directly. It will be hosted on firebase stoage, and with a tiny bit of firebase functions to tie it together. How oauth works Here is the overall process:

Reading time: about 13 minutes

Read more...

Adding Facebook Login with react

you can’t escape it

Published October 30, 2018 #howto #facebook #react

Sometimes you just can’t get away from facebook. Here’s a quick tutorial on how to add facebook login to your react app. First you need to create a facebook app, which is an involved process especially if you want to let, you know, other people log in to your app. Getting your app approved and otherwise up and running here is left as an excersize for you to figure out.

Reading time: about 3 minutes

Read more...

Automating hugo builds using CircleCI

Let someone else run your build server

Published October 29, 2018 #static_sites #hugo #howto

Here's a simple CircleCI configuration to pull down the latest version of your hugo site on GitHub commits, build it, and then push it to github pages.

Reading time: about 2 minutes

Read more...