Tutorials
Golang : Shuffle array of list
Continue from previous tutorial on how to shuffle an array of strings, to shuffle array of list is….... read more
Golang : Shuffle strings array
Okay, the previous tutorial on how to shuffle elements inside an array does not work with strings array.….... read more
Golang : Display advertisement images or strings on random order
This is a Golang add on for my previous tutorial on how to display random advertisements with PHP….... read more
PHP : Shuffle to display different content or advertisement
Problem :
Your website serves advertisement and you are looking for ways to display different images or content each time….... read more
Golang : Check from web if Go application is running or not
When we run some processes in the background to perform certain tasks and it would be a good idea to….... read more
Golang : Dealing with backquote
Just a quick tutorial note on how to deal with backquote in Golang or rather a note for myself :P
….... read moreGoogle Chrome : Your connection to website is encrypted with obsolete cryptography
Problem :
While checking out if my SSL certificates installed correctly. I noticed that Google Chrome labelled the SSL….... read more
Javascript : Read/parse JSON data from HTTP response
This is just a quick note on how to parse JSON data with Javascript. The JSON data is generated in….... read more
Golang : Decode XML data from RSS feed
Was looking for a way to decode RSS feed XML data today and here is the code for the tutorial….... read more
Golang : Get password from console input without echo or masked
Found this package https://github.com/howeyc/gopass that allows Golang developers to build text based application that takes in password without….... read more
Get file size in Go
Our mouths have limited size and we still need to cut up our food into edible chunks before putting into….... read more
Javascript : Generate random key with specific length
Was looking for a way to generate random string with Javascript today and also wanted to limit the random string….... read more
Golang : How to add color to string?
Back in the days of DOS ( before GUI was popular), programmers use colors to decorate text based application to….... read more
Golang : How to create new XML file ?
This is a follow up tutorial for XML and continue from previous tutorial on how to read XML….... read more
Javascript : How to replace HTML inside <div>?
Problem :
How to use Javascript to replace the HTML codes?
While attempting to show different content to visitors equipped….... read more
Golang : Verify token from Google Authenticator App
One of the steps to implement 2FA(two-factor authentication) is to verify the token generated by app such as Google Authenticator….... read more
Golang : How to implement two-factor authentication?
Nowadays, having a password no longer protects your account or website been hacked. This is because password is a "something….... read more
Golang : Shortening import identifier
In Golang, we often import external packages from third party sources and ended with import statement that look like this….... read more