[73] Results

Golang : Image to ASCII art example

golang ascii-art image-to-ascii

This tutorial is just for fun and want to relive my DOS programming days for a while. In this tutorial,….... read more


Golang : Convert a rune to unicode style string \u

golang rune unicode convert quote-rune-to-ascii

Continuing from previous tutorial on how to get escape characters or \u unicode style string. These are some….... read more


Golang : Get ASCII code from a key press(cross-platform) example

golang keyboard input ascii

Problem:

Somehow you are feeling nostalgic and played some retro games from the 80s such as Load Runner.... read more


Golang : ROT47 (Caesar cipher by 47 characters) example

golang rot47 caesar-cipher ASCII character-substitution

Here is an example of how to implement the ROT47 - Rotate 47 characters algorithm in Golang. ROT47 is a….... read more


Golang : How to convert character to ASCII and back

golang character rune string ASCII

Problem:

ASCII or American Standard Code for Information Interchange is used to represent characters and device control in computers. How….... read more


Python : Fix SyntaxError: Non-ASCII character in file, but no encoding declared

python syntax-error non-ascii utf-8

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


Golang : Convert string slice to struct and access with reflect example

golang reflect slice-to-struct

Writing this down here for my own future references. Basically, what this code does is to convert a given string….... read more


Golang : Convert []byte to image

golang image convert byte

There are times when you need to convert []byte to image for saving into file purpose. I encountered one of….... read more


Advertisement