[13] Results

Grep : How to grep for strings inside binary data

grep binary text string

Grep or Global Regular Expression Print is a very useful Unix/Linux command that I've practically used everyday. So, recently a….... read more

Golang : Interpolating or substituting variables in string examples

golang interpolate substitute text-template variables string

For this quick tutorial, we will explore how to interpolate(substitute) actual data into variables inside a string. Will keep these….... read more

Golang : Capture text return from exec function example

golang os exec capture-return-text stdout


You want to capture the text result return by exec function. How to do that?


The code….... read more

Golang : Turn string or text file into slice example

golang text-string convert-to-slice delete copy append

Alright, I need to parse a large number of text files that contain some raw data generated by a machine.….... read more

Golang : Get remaining text such as id or filename after last segment in URL path

golang filepath-base basename extract-remaining-text-after-slash


Retrieving the last segment/part or the remaining text after a slash in the URL or filename in a path….... read more

Golang : Grab news article text and use NLP to get each paragraph's sentences

golang grab-html-text paragraph nlp trade fx

This tutorial is a slight improvement over the previous tutorial which uses prose natural language processing library to get….... read more

Golang : Join lines with certain suffix symbol example

golang suffix join-lines raw-text-data-files

For this tutorial,we will learn how to join lines of text into a string and also explore the option to….... read more

Golang : Auto-generate reply email with text/template package

golang auto-reply-email text-template artificial-intelligence

Problem :

You have customers that ask question via email that sometimes bordering repetitive questioning or simply refused to read….... read more