[29] Results

Golang : Create and resolve(read) symbolic links

golang os-symlink symbolic os-readlink

Creating new symbolic link for a file and resolving(read) symbolic link back to the origin file is pretty straight forward….... read more


Golang : Read directory content with filepath.Walk()

golang os

Golang's filepath.Walk function allow a program to traverse a directory content and tree with ease. In this tutorial, we will….... read more


Javascript : Get operating system and browser information

javascript browser-version get-visitor-os whichbrowser

Problem :

You need to find out your visitor's browser and os version. How to do that with Javascript or….... read more


Golang : Intercept Ctrl-C interrupt or kill signal and determine the signal type

golang os-signal interrupt ctrl-c os-kill

Problem :

Your server needs to perform some clean up operation or flush everything in memory to disk before shutting….... read more


Golang : Get command line arguments

golang flag os

Basically there are two ways to get arguments from the command line in Go.

The first way is via….... read more


Golang : Launch Mac OS X Preview (or other OS) application from your program example

golang mac-os-x preview-app os-exec open

Problem :

You are building a program that specifically target an operating system and you want to invoke another application….... read more


Golang : Test file read write permission example

golang write-permission read-permission os-openfile os-ispermission

Problem :

You need to test if a file has the correct write or read permission before performing write or….... read more


Quicker ways to access OS X System Preferences

mac-os-x system-preferences

There are many options available in the System Preferences that allows customisation of your OS X. However, there are times….... read more


Advertisement

Advertisement