[20] Results

Golang : Find and replace data in all files recursively

golang search-recursively search-and-replace filepath

Alright, this tutorial is an enhancement of previous tutorial on how to search for file recursively with wildcard support. In….... read more


Elastic Search : Return all records (higher than default 10)

php elastic-search elastic-search-default-size

Problem :

You only get 10 results from elastic search query and you suspected that there should be more results….... read more


Golang : Search folders for file recursively with wildcard support

golang search-recursively wildcard filepath

Ok, here is an example on how to search for a file starting from a target directory and recursively search….... read more


Javascript : How to replace HTML inside <div>?

javascript replace-HTML div

Problem :

How to use Javascript to replace the HTML codes?

While attempting to show different content to visitors equipped….... read more


Golang : Read a text file and replace certain words

golang read replace

Problem :

You have a text file with some words that you need to replace with another word.

Solution :

.... read more


Golang : Setup API server or gateway with Caddy and http.ListenAndServe() function example

golang caddy api listen-and-serve gateway

Writing this down for my own future references and hopefully it can be useful to you too. This is a….... read more


Find and replace a character in a string in Go

golang replace strings

String manipulation functions are a must have for a programming language and Go has plenty of them. In this tutorial we will see how to….... read more


Golang : Remove dashes(or any character) from string

golang remove-dash strings-replace

Problem :

You have a string with dashes in between and you want to remove all the dashes. How to….... read more


Advertisement