Hi, I am

Yeo Chai Heng

 

I was born in and am living in Singapore,

an island city-state with beautiful skylines.

 

I am currently employed as a Solutions Engineer @ PayPal

 

I am also a Management of Technology student @ NUS

I build things with tools from the computing world:

I write on my blog:

Rendering multiple checkboxes with WTForms and Bootstrap

When you use WTForms and Bootstrap, you can quickly build up the dashboard for your own content management system with Python.

This is because WTForms provide several out-of-the-box implementations for rendering some basic fields that for capturing form data.

However, rendering multiple checkboxes can be open to different UI implementations based on users' preferences. Therefore, different fields and widgets are available in WTForms to cater for different ways of displaying a form input to the user.

Given these points, let's see how we can render multiple checkboxes with WTForms and Bootstrap.

How I repaired one of my corrupted git repository on gogs git server

While trying to commit my codes to my Raspberry Pi gogs git server, I got a rejection:

! [remote rejected] master -> master (missing necessary objects)

error: failed to push some refs to 'http://192.168.1.115:3000/org/a-project.git'

In addition to that, I got a HTTP 500 when I try to view the repository details page via the dashboard.

Since I can view my other repositories on my gogs git server, something must be wrong with a-project.git.

Given that, here are the steps that I took to rectify the issue.

Installing Netflix app on a Chinese made projector device running Android

If you have access to Chinese e-commerce websites like Taobao or AliExpress, then you may be able to get devices at more affordable prices.

In order to watch Netflix films at the comfort of your bed, you may get a projector device.

Even though you got one running Android, you may not have the Netflix app or even the Google Play store.

Since we are all paying for Netflix subscription, Netflix provided an app just for such situations.

Given that, head over to this Netflix help article and follow the instructions.

How to minimise payment fraud on your e-commerce store

If you are running an e-commerce store, then you can accept payments from your customers through a payment gateway.

When you accept payments on your e-commerce store, you will also want to reduce or even prevent payment fraud.

Indeed, payment fraud can have huge financial impact on your business.

Therefore, it is important for you to look at how you can minimise payment fraud on your e-commerce store.

Given that, let us explore how we can reduce payment fraud on our e-commerce stores.

That's all for now...

If you wish to know more about me, you can visit these websites: