≡ Menu

Ramesh Natarajan

Slice is an essential component of Go programming language. When writing a go program, for most common use-cases, you’ll be using slice instead of array. An array is fixed in size. But slices can be dynamic. The number of elements in a slice can grow dynamically. But, keep in mind that slice uses array in [...]

{ 0 comments }

To use AWS CLI, you need to first make sure your AWS access key credentials are configured properly. Once you have your AWS access_key_id and secret_access_key, you can either manually add them to the credentials file, or use aws configure command to set it up on your local machine. This tutorials explains all the options [...]

{ 1 comment }

To get a good handle on Go programming language, it is essential to understanding arrays and slices. If you are developer, or sysadmin who is new to Go, it is important to understand the following key differences in how array is handled in Go when compared to other language: You cannot change the size of [...]

{ 2 comments }

Looping through stuff is an important aspect of any programming language. In several of our previous tutorials, we explained in detail various loops including python for loop, for loops in c programming, loops in awk scripting, loops in bash shell scripting, etc. The focus of this article is on how to loop through stuff in [...]

{ 1 comment }

Happy New Year 2018 – From Geek, Dolls and Penguins

Happy New Year to all Geeks from Me, My Daughters (Diya and Neha), and our Penguins. We wish you and your family a happy, healthy, and joyful New Year. At TGS, our goal is to educate you on Linux and open source technologies. We are committed in publishing high quality articles on an on-going basis. [...]

{ 116 comments }

15 mysqlbinlog Command Examples for MySQL Binary Log Files

In MySQL or MariaDB, anytime you make a change to the database, that particular event is logged. For example, when you create a new table, or update data on an existing table, those events are stored in the binary logs. Binary log is very helpful in MySQL replication, where the main server will send the [...]

{ 1 comment }

One of the important feature in Chromebook is that you don’t need to manually update the Chrome OS. Chrome OS updates the OS in the background on an ongoing basis. This way, you’ll always be running the latest version of the Chrome OS. But, there may few situations where you may want to view the [...]

{ 2 comments }

7 Nginx Rewrite Rule Examples with Reg-Ex and Flags

Ability to change (rewrite) incoming URL into a different URL based on your criteria is an essential feature for any webserver. Nginx rewrite is very powerful and flexible. In this tutorial, we’ll explain the following examples on nginx rewrite: Nginx Rewrite Example Using $1, $2, .. Creating Controller File Using Nginx Rewrite Rewrite Break Flag [...]

{ 0 comments }