Complacency After College

Up until graduation day, everything made sense. I’ll go to class, get good grades, then land a decent paying job so that I can move out of my parents and “start my life”. Amazingly, all of that happened fresh out of college at 22 years old. Back then, a couple of my peers have told me, “Damn dude, you’re living the dream.” In reality, I felt like I was far from it. [Read More]

Install Hyperledger Fabric on Kubernetes

I recently had the “amazing 🙄” opportunity to spend two weeks figuring out how to install hyperledger fabric on Kubernetes. There aren’t many guides on the internet besides this one. Unfortunately, I found it to be very vague and missing some keys steps. For this tutorial, let’s go step-by-step on how to install hyperledger on kubernetes. We are going to use some information from the guide linked above, along with some stuff my team and I were able to figure out along the way. [Read More]

Getting Too Absorbed in Your Side Projects

When I start working on a side project, I fall into a really bad habit of getting too absorbed in it. The second I get home from work, I will start coding and testing for hours until I have to force myself to go to bed with only six hours of sleep at best. All the while, my laundry starts to pile up, my kitchen doesn’t get cleaned, and my social contacts get neglected from any meaningful conversation. [Read More]

Why I Switched From WordPress to Hugo

WordPress isn’t awful. In fact, I recommend WordPress to everyone who wants to start a blog. Despite this, I switched from WordPress to Hugo a couple of weeks ago. The real reason came down to cost and simplicity. Cost Running a WordPress blog meant that I needed a good shared hosting environment with a MySQL server and PHP execution. I first tried Hostgator, and it was sufficient enough while my blog had less than a hundred of visitors per month. [Read More]

Happiness and Anticipation

I am beginning to see the relationship between happiness, anticipation and dopamine. Dopamine is a neurotransmitter that is responsible for reward-driven behavior and pleasure seeking. (Psychology Today). When we get a hit of dopamine, we feel good! Anticipation is the simple act of looking forward; usually to a pleasurable experience but it could also be negative. In my previous post about Proven Ways to be Happy Again, I mentioned this thing called hedonic adaptation. [Read More]

Scientifically Proven Ways to Be Happy Again

During the winter holidays (peek depression season), I took a free online course called The Science of Well-Being offered by Yale University. It was actually recommended in a HackerNews comment that I came across in a thread about different MOOC (Massive Online Open Courses) to take. Other than my obsession with self help porn, I took this course because I wanted to learn on how to be happy again with life. [Read More]

Read System Environment Variables in Angular

A few weeks back I was working on a project where I needed to read system environment in Angular 7 from a Docker container before it builds. After days of searching, I came across a solution from multiple sources on the internet. Keep one thing in mind, you will only be able to inject environment variables before your Angular app builds. Unlike Nodejs, you will not get real time access because you are running in an browser environment. [Read More]

How to Setup Search on Hugo

Setting up search your static site built using Hugo or Jekyll is not as difficult as it sounds. If your static site is hosted on GitHub pages (which mine currently is), then you will not be able to use php or any server side scripting. Therefore, we must rely on a pure javascript solution. Using Lunr.js Lunr is a popular library used to parse through data and return the most accurate match based on a search query. [Read More]

Ebooks are not social

If you are trying to be more social, consider investing in traditional books over EBooks. I know this sounds crazy, and no, Amazon did not pay me to say this. Ebooks are missing an important aspect that we have always took for granted in traditional book. There is no easily visible cover! This means people have no idea on what you’re reading. With traditional books, its out in the open for everyone to see. [Read More]
ebooks 

How to download any video from any site for free

You have probably discovered that downloading videos from certain websites is hard. If you try to download a video from youtube, you have to use one of the ad-infested free YouTube video downloaders. Other sites like Facebook, Instagram and Tumblr are even harder to find downloaders for. Luckily, there is a free and open-source program that will end your struggles and help you download and video from any site for free. [Read More]