I was born in and am living in Singapore,
an island city-state with beautiful skylines.
I am currently employed as an Application Developer @ SAP
I am also a Management of Technology student @ NUS
I build things with tools from the computing world:
I write on my blog:
A programming language give programmers an interface to create computer applications to serve different use cases. On the other hand, a Raspberry Pi is one of the things that a programmer should consider getting.
Raspbian Stretch Lite is the official operating system for programmers to run server applications on a Raspberry Pi. You can use Raspbian Stretch Lite for applications that do not require a graphical user interface.
So what programming languages can you use for building applications for Raspbian Stretch Lite?
This post discusses some programming languages that you can use for building applications for Raspbian Stretch Lite.
To permutate a string is to change the order or arrangement of the characters that the string is made up of. Given that n is the number of characters, there are n! different ways to permutate a given string.
This post shows how we can permutate a string in Python 3.
PHP web applications can utilize Nginx as the reverse proxy server and PHP FPM as the upstream server. Whenever you encounter HTTP file upload issues, limitation in file upload size is one common cause.
This post shows how to adjust the file upload size limit for your application running on a Nginx-PHP stack in Linux.
Creating a search engine to search content across a polyglot website is not an easy task. In order to do that, you need to either:
- take a search query and match it across data repositories from different application processes, or
- have a process that will maintain an index of content from the different applications and search within that content.
Since Google had indexed most of the content in the Internet, Google Custom Search can be the easiest way for us to implement site-wide search. In addition to fast searching, Google Custom Search also comes with AdSense monetization.
In case you need it, this is how you can implement Google Custom Search as a WordPress page without using any plugin.
We use pages in WordPress to hold content of our website that are not specifically time-dependent.
Examples of such content at Techcoil include the about page, disclaimer page and Raspbian Stretch Lite project ideas.
When you want to show content in different page layouts, you can create different customized page templates to show content in different ways.
In case you need a reference, this post describes how to create a custom page template in WordPress.
Since Google had indexed most of the content from my website, Google Custom Search is the easiest way for me to implement site-wide search. In addition to fast searching, Google Custom Search also comes with AdSense monetization.
Given these points and some time on hand, I had recently implemented site-wide search with Google Custom Search.
In addition to building the search page to display the search result, there is a need for a HTML search box beside the top navigation links:
Since I had spent quite a bit of time on building the search box, I decided to document the steps in this post for future references.
With this intention, this is how to make a HTML search box with the input text field and search button within the same enclosing box.
That's all for now...
If you wish to know more about me, you can visit these websites: