[29] Results

Golang : Error reading timestamp with GORM or SQL driver

golang gorm mysql mariadb timestamp parse-time

Problem :

It is common for application to read from database these days and sometimes a missing parameter in the….... read more

Golang : Convert date or time stamp from string to time.Time type

golang string-timestamp convert time-parse

Problem :

You have dates or time stamps in string format(usually from database) and you want to convert them into….... read more

Unix/Linux/MacOSx : Get local IP address

unix linux macosx ip-address

Problem :

How to find out my MacOSX/ Linux / UNIX system ip address, subnet and related networking information from….... read more

Golang : How to get time from unix nano example

golang time unix-nano utc-from-unix-nano

Just an add on to previous tutorial on how to get time in milliseconds. This is a short….... read more

Golang : Configure crontab to poll every two minutes 8am to 6pm Monday to Friday

golang crontab polling linux unix

Was very busy lately working on a new project for a client. One of the key requirements in the project….... read more

Golang : Handle or parse date string with Z suffix(RFC3339) example

golang Z-suffix UTC-date convert-timestamp RFC3339

You want to convert a RFC3339 date string with Z suffix such as 2016-09-01T15:23:01Z to Golang's time.Time date type.

.... read more

Linux/Unix/MacOSX : Find out which application is listening to port 80 or use which IP version

linux lsof unix macosx port-number

Problem :

You need to find out which Linux/Unix or MacOSX applications are listening to port 80( or any other….... read more

Linux/Unix : fatal: the Postfix mail system is already running

ubuntu linux unix postfix fatal-error

Problem :

Postfix throws out this error message :

fatal: the Postfix mail system is already running

when attempting….... read more