Tutorials
Golang : How to write backslash in string?
Alright, below is a simple tutorial on how to write backslash in Golang. Nothing special, just writing it down here….... read more
Golang : Experimenting with the Rejang script
Someone informed me that I should take a look at the Rejang script(not to be confused with the .... read more
Golang : Example of how to detect which type of script a word belongs to
In one of my projects, I need to detect if a word that cannot be translated is of Arabic or….... read more
Golang : Converting individual Jawi alphabet to Rumi(Romanized) alphabet example
Recently I've been busy enhancing my Jawi to Rumi converter and I found out that some Jawi words cannot….... read more
Golang : How to detect if a sentence ends with a punctuation?
Problem : I need to detect if a line ends with a punctuation mark or not. How to do that?
….... read moreLinux : How to fix Brother HL-1110 printing blank page problem
Alright, just a minor problem and putting down the solution here on how to fix the issue of Brother HL-1110….... read more
Golang : How to pass map to html template and access the map's elements
For this tutorial, we will learn how to pass a map to text or html template and learn how to….... read more
Golang : Executing and evaluating nested loop in html template
Alright, just a minor problem and putting the solution here on how to fix this problem for future reference. Basically,….... read more
Golang : How to call function inside template with template.FuncMap
Alright, just a simple tutorial on how to call your own function inside HTML template. For this example, we will….... read more
Golang : Pagination with go-paginator configuration example
Here is an example that you can use as reference on how to configure go-paginator properly. The snippets below….... read more
Golang & Javascript : How to save cropped image to file on server
While building my web application to manage my tenants and rental properties, I need a solution to capture the cropped….... read more
Golang : How to use if, eq and print properly in html template
Alright, just a simple problem that took me a while to get it right. Putting the solution down here for….... read more
Golang : How to pass data between controllers with JSON Web Token
For this tutorial, we will explore how to pass data between controllers using JWT(JSON Web Token).
One of the problems….... read more
Golang : How to login and logout with JWT example
I am now in the process of building a web application to help myself in managing my tenants in a….... read more
Golang : Check if a file exist or not
In this tutorial, we will see how to check if a file exist or not before performing further operation.
checkfileexist.go
….... read moreLinux : How to install driver for 600Mbps Dual Band Wifi USB Adapter
Bought this 600Mbps Dual Band 2.4G / 5G Hz Wireless Lan USB PC WiFi Adapter 802.11AC from Lazada and….... read more
Linux : How to set root password in Linux Mint
Alright, just a minor note for my own future reference. Just received my Dual Band USB Adapter today and encounter….... read more
Golang : How to get username from email address
Just need a simple solution to extract the username from a given email address. The code below uses strings.Split()
function….... read more