I was born in and am living in Singapore,
an island city-state with beautiful skylines.
I am currently employed as a Presales Specialist @ SAP
I am also a Management of Technology student @ NUS
I build things with tools from the computing world:
I write on my blog:
When you create your own WordPress theme, one of the things of provide for is the ability to style image alignments.
By default, the WordPress Editor will include one of the predefined CSS classes when we add images to a post or page.
Therefore, by providing the CSS styles for each of these classes, we will be able to style the image alignment of our WordPress pages and posts.
Given these points, let us look at the CSS styles for styling image alignment in our WordPress pages and posts.
When you use WordPress to house your thoughts, you get the flexibility to update sections of your WordPress site through the WordPress dashboard.
For example, I can change the content within the sticky portion of my sidebar as and when I need to. Such content can be provided through the various WordPress Widgets that are available in my WordPress installation.
So how can we mark sections of our WordPress themes for displaying Widget content?
With this in mind, let us look at how we can allow arbitrary Widget content to be added to sections of our WordPress theme via the WordPress dashboard.
You want a portion of your sidebar to stick as you scroll down your web page.
When you reach the footer of your web page, you want that portion to stop just above the footer of your web page.
In this case, you can use jQuery to help you achieve this behaviour.
Given that, this post shows how to make a portion of your sidebar sticky as you scroll till the footer of your web page with jQuery and some CSS styles.
One of the demo stations in my office needs to run applications that receive video and voice from the user. Since we have several Windows 10 laptop lying around, we decided to use one to run the applications.
Given that the Windows 10 laptop is to be hidden in a cabinet, I need to use an external webcam with microphone.
However, the integrated camera and microphone can be chosen by the applications that I run on that laptop.
So how can we make applications on a Windows 10 laptop to use the camera and microphone of your webcam?
This post shows how I made applications on my Windows 10 laptop use the camera and microphone of my Logitech C525 HD Webcam.
When we need to create a HTTP client that communicates with a HTTP server through certificate-based authentication, we will typically have to download a certificate, in
.pem format, from the server.
After we had downloaded the
.pem file, the HTTP client will use the private key and certificate to authenticate itself with the HTTP server. Sometimes, the HTTP client will need to decrypt the private key with a password/secret first.
So with a
.pem file and a password/secret, how can you create a HTTP client in Python 3 to send a HTTP request to the HTTP server?
In case you need it, this post shows how to send a HTTP request with client certificate + private key + password/secret in Python 3.
When you create an API endpoint that generates a QRCode with Flask-RESTPlus, you may want to deploy it onto Cloud Foundry.
However, when I first tried to do so, I was greeted with a No API definition provided when I accessed the Swagger Api portal page.
So why is there a "No API definition provided" error for Flask-RESTPlus app on Cloud Foundry?
In case you are facing such a problem, this post discuss how I had managed to solve the "No API definition provided" error for my Flask-RESTPlus app on Cloud Foundry.
That's all for now...
If you wish to know more about me, you can visit these websites: