How to Create Models in Mongoose

Started working on a existing project built using MEAN.IO, and Mongoose framework was used as well. I found its documentation a little confusing, so here’s what I found out after doing some research.

Read More

How to Make Zsh Shell Look Nice on Mac Terminal

I have already blogged about bash alternatives, Fish shell and Zsh in my previous blog here. I have only started using Zsh recently due to recommendations from a colleague, so thought I’d give it a try. This blog is mainly focusing on how to make Zsh look nice, so no tutorial on installing it.

Read More

Why Testing Isn't Enough

A lot of people talks about the benefits of Test-Driven Development, how great it is when you compare it with non-test driven development. People would give a massive list of advantages of using TDD. For me these are the core reasons:

Read More

4 Tips for Front-End Web Developers

I read a very interesting article today on how to be a good front-end web developer, and make your pages load faster. I don’t like to make other people read pages and pages, so here’s 4 tips I thought is the most important take away for me:

Read More

How to Use Tabs in Vue-Strap

Vue-strap is a repository that contains a set of native Vue.js components based on Bootstrap’s markup and CSS. This is all very well and good, however, the second I tried to use this I came across issues.

Read More

Regex for Getting the Host of a Website

I ran into this problem where we wanted to strip away the url of different sites to its root url. On top of that I also wanted to remove anything before the domain name, for example for staging.domain.com I only want domain.com from it.

Read More

Shell Alternative to Bash

Came across something called Fish Shell today, and after Google search took me to this page on unix-shells I realised how many different variation there are I can choose from. Each having their benefits, so far it seems ZSH has very good customisability and Fish Shell has very good out of the box experience with no configurations.

Read More

Mobile and Hybrid App Testing Tool - appium.io

Came across this free app testing tool today, currently not much use for me as I mainly work on web related projects. But hopefully will be working on mobile projects in the future and this will be very useful. Just want to mention that this is a automation test framework from what I have seen so far, so not meant to be used to do manual testing.

Read More

Convert PDF to Tables

I recently needed to convert PDF documents which contains tables. From what I could find, there are only two good solutions out there:

  • https://pdftables.com - A web app that could convert a PDF document to CSV file. Simply upload the file and wait for it do its magic. However, this is no longer free for everyone to use. After the free trial ends, a fee is needed to keep using its service.

Read More

A Useful Tool When Working With Regular Expression

I was working with replacing strings using Regular Expression today and I found this amazing tools which saved me a lot of trouble. It allow custom text string to perform the regular expression on, and you can toggle between 3 different regular expression syntaxes: PHP, JavaScript and Python. There are also useful tips on the right hand side as well as a regex syntax look up table. Overall, a very handy free tool.

Read More