• Getting Too Absorbed in Your Side Projects Mar 14 2019
    Does anyone else get too absorbed in side projects that you forget about life

  • Why I Switched From WordPress to Hugo Mar 11 2019
    I decided to switch from WordPress to Hugo for lower cost and simplicity.

  • Happiness and Anticipation Mar 09 2019
    The link between happiness and anticipation is becoming clear through the reward system of dopamine

  • Scientifically Proven Ways to Be Happy Again Mar 06 2019
    I took a course that discussed proven ways to be happy again with life. Here is a summary of my findings.

  • How to Setup Search on Hugo Mar 04 2019
    Here's how to setup search using lunr on your static Hugo your Jekyll site

  • Ebooks are not social Mar 03 2019
    When it comes to Ebooks vs traditional books, I often find that traditional books are better because they invite conversation.

  • JWT Tokens in Express and NodeJS Apr 22 2018
    The JSON Web Token (JWT) is the easiest standard for protecting APIs and passing in claims data. A JSON Web token allows the server to verify the authenticity of the user and provide them access to protected API routes and data. A simple JWT flow goes as follows: The user sends login credentials to the server The server verifies user against the database then returns a JWT token if valid The user sends that token in the header with every request to API.

  • React Login with Google Firebase Apr 04 2018
    There are many opinionated solutions for building a React Login with Google Firebase. I generally prefer an approach where the user isn’t shown the main UI until he is logged in. And if the user logs out, we immediately kick him back to the login screen. Luckily, this isn’t hard to do at all. Dependencies The only dependency you will need is the Firebase API. You can install this form the Node Package Manager.

  • How to build a Chrome Extension Mar 28 2018
    Chrome extensions are really cool. They allow the user to extend the capabilities of their browser and can incorporate really well into existing apps. So let’s take a look at how to build a Chrome Extension in less than 10 minutes. Chrome Extensions are written in Javascript, so I recommend that you have a basic understanding of Javascript before proceeding with this tutorial. What we’re building We are going to build a simple chrome extension that will allow you to search google for any text that you highlight on a page.

  • Blockchain and Decentralization will NOT fix the Internet Mar 26 2018
    Stop saying that blockchain and decentralizing everything will fix the Internet. There has been a lot of news around Cambridge Analytica abusing Facebook profile data, and Facebook for mining user data without explicit permission. Yes, I agree that these are very bad things that need to be addressed. And I also agree that while Facebook is at the front-lines of this digital privacy war, we could also blame many other companies like Google, Twitter, Amazon, etc for similar practices.

  • React Native StackNavigator Tutorial Mar 26 2018
    I have spent hours trying to figure out how to actually use the React Native Stacknavigator to navigate between screens. All the tutorials and guides seem to be missing important information, and the official React Native documentation is truly lacking in substance. So I want to save you some headache and give you a quick and easy setup to using the React Native StackNavigator. You need to Eject If you created your react-native project using the command:

  • Google Poly API Javascript and NodeJS Mar 26 2018
    Google has been working on an interesting project called Poly. With Poly, you have access to hundreds of 3D objects that can be used to build VR games or with AR content. The interesting about Poly is that all of the graphics are available on demand. Think of it like Google Fonts just for 3D objects. So let’s take a look at how you can get started with Google Poly API Javascript and NodeJS bundle.

  • React Context API Mar 22 2018
    I’m sure you have probably heard of the fancy new React Context API. It’s a new way for you to manage application state. If you are building a large react application, you have probably encountered a problem where you needed to access and share data across multiple components. For example, we might have information on the currently authenticated user that multiple components need information on. To solve this issue, you might use a library like Redux or Mobx.

  • React Native Android App Receive Data from Share Intent Mar 07 2018
    This whole problem started when I was working with an app in React Native. I wanted the app to be able to open when it received data from another app through the “share with” intent. For example, if I share an URL through the YouTube app, I wanted my app to be recognized as one of the apps that could handle the URL and open it. I am going to spoil the fun and tell you that there’s no easy way to do it straight through javascript with React Native.

  • Typescript Getter and Setter Mar 07 2018
    This is something that you probably don’t ever think about, but getters and setters are implicit on every javascript object. For example, if we take the following: person = {}; = 'Dave' //uses the implicit setter on the object console.log( //uses the implicit getter The above code is something that you have probably have seen very often in javascript. However, this doesn’t give you much control over how properties are accessed or defined.