Tutorials

python.pngPython : Convert(cast) bytes to string example

28th October 2015

Problem :

You want to convert or type cast bytes variable to type string variables in Python. How to do….... read more



chrome.jpgChrome : ERR_INSECURE_RESPONSE and allow Chrome browser to load insecure content

28th October 2015

There are times when you try to access some web pages such as pages with SSL/https/secured/encrypted pages but with some….... read more



python.pngPython : Convert(cast) string to bytes example

28th October 2015

Problem :

You have couple of string variables in Python and you want to convert or type cast the string….... read more



macosx.jpgMac OSX : Get a process/daemon status information

28th October 2015

Problem :

You need to get status information about a process or daemon running on Mac OS X environment to….... read more



golang.pngGolang : Get escape characters \u form from unicode characters

26th October 2015

Problem :

You want to get the escape characters (\u form) from unicode characters(utf-8). How to do that?

Solution :

.... read more



python.pngPython : Print unicode escape characters and string

26th October 2015

Couple of examples on how to print unicode string in Python. Nothing fancy, but it helps to explore the ways….... read more



golang.pngGolang : How to print rune, unicode, utf-8 and non-ASCII CJK(Chinese/Japanese/Korean) characters?

26th October 2015

Problem :

You want to print rune, unicode or CJK(Chinese/Japanese/Korean) characters with Golang, but you are getting funny result. How….... read more



golang.pngGolang : How to check variable or object type during runtime?

25th October 2015

Problem :

You need to determine the type of data your program is getting from the user input or the….... read more



golang.pngGolang : Get today's weekday name and calculate target day distance example

25th October 2015

Let's calculate how long it will take to reach Friday from today using switch evaluation. The code sample below will….... read more



python.pngPython : Fix SyntaxError: Non-ASCII character in file, but no encoding declared

22nd October 2015

Don't really know why Python couldn't handle non-ASCII characters in the source code well by default. Encounter a syntax error….... read more



python.pngPython : Delay with time.sleep() function example

22nd October 2015

It has been a while since I look at Python code. Need to read up a legacy code left by….... read more



ubuntu.pngLinux/Unix : Commands that you need to be careful about

22nd October 2015

Many people got caught up by the "startup" bugs and are learning how to develop their own web application or….... read more



macosx.jpgMac OSX : Get disk partitions' size, type and name

22nd October 2015

Something when wrong with my Mac today and I need to find out all the disk partitions information on my….... read more



codeigniter.jpgCodeIgniter/PHP : Create directory if does not exist example

22nd October 2015

Problem :

How to check if a directory exist or not? If not, how to create a directory?

NOTE :

.... read more



jquery.pngJavaScript/JQuery : Redirect page examples

21st October 2015

Notes for future references on how to redirect pages with JavaScript or JQuery. Sometimes, the simplest task is the hardest….... read more



golang.pngGolang : List all packages and search for certain package

21st October 2015

Problem :

You need to find out if a server has the packages that you need to run or compile….... read more



mariadb.pngMariaDB/MySQL : Form select statement or search query with Chinese characters

20th October 2015

Continue from the previous tutorial on how to handle non-ASCII characters in URL. Just a note on how….... read more



golang.pngGolang : Generate 403 Forbidden to protect a page or prevent indexing by search engine

20th October 2015

Got a question from a Golang newbie. He is asking how to protect certain directory or page from being accessed….... read more



Advertisement