[66] Results

JavaScript/JQuery : Detect or intercept enter key pressed example

javascript jquery detect-enter-key-pressed

Problem :

You created a text input box and want detect(or rather intercept) if the user pressed the enter button.….... read more

Golang : Output or print out JSON stream/encoded data

golang json-stream write-to-responsewriter content-type

Problem :

You need to produce JSON stream or JSON encoded data to web browser or client. How to do….... read more

Golang : Detect face in uploaded photo like GPlus

golang openCV detect-faces-in-photo google-plus upload


You have an app or website that allow users to upload their profile photo to your server. However, you….... read more

Which content-type(MIME type) to use for JSON data

javascript jquery header content-type mime-type

Problem :

Your program sitting in your web server is pumping out JSON data. You need to set the correct….... read more

Binded - Easy peasy copyrighting tool for content creators

binded content-creators copyright protect-your-work

Alright, you like to create digital content and upload them online. You are known as a content creator. People such….... read more

Golang : get the current working directory of a running program

golang executable file-path

Problem :

You are looking for way to get the folder/directory of the running program.

Solution :

Use https://bitbucket.org/kardianos/osext.... read more

Golang : Check to see if *File is a file or directory

golang file directory

Sometimes, we need to write codes that is robust and flexible enough to handle different situation. For example, if a….... read more

Golang : Simple File Server

golang file-server

Got a request from a developer friend yesterday on how to open up part of his machine and turn into….... read more