≡ Menu

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 Ruby.

Happy New Year 2018 – From Geek, Dolls and Penguins

[Ramesh, Kids and Penguins]

Happy New Year from Me and My Daughters (Diya and Neha)

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.

389 Directory Server is a super fast open source enterprise LDAP Server.

In this tutorial, we’ll explain how to install and configure the LDAP client on Linux which will talk to your 389 directory server.

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 data from the binary logs to the remote servers.

You’ll also be dealing with binary log files when you are performing any kind of recovery operations in MySQL.

mysqlbinlog command is used to view the content of the binary log in a readable user friendly format. You’ll also use the mysqlbinlog command to read the content and pipe it to other mysql utilities.

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 current version of the Chrome OS, and if it is old, forcefully update Chrome OS to the latest version.

7 Nginx Rewrite Rule Examples with Reg-Ex and Flags

Nginx RewriteAbility 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:

  1. Nginx Rewrite Example Using $1, $2, ..
  2. Creating Controller File Using Nginx Rewrite
  3. Rewrite Break Flag in Location Context
  4. Adding Question Mark to Nginx Rewrite Replacement String
  5. If Context and Rewrite Directive
  6. Nginx Rewrite Flags Examples
  7. Capture Nginx Rewrite Hits in Error Log File


389 Directory Server389 Directory Server is an open source enterprise LDAP Server.

This can handle very huge volume of data. One of the huge benefit of 389 LDAP server is that it is lighting fast and process upto handle several thousands of operations per second.

This has several advanced features including asynchronous multi-master replication for horizontal scaling, which in-turn provides provides 100% fault tolerance and extremely high throughput.

Also, keep in mind that this supports TLS, SASL for authentication and transport. 389 Directory server is fully LDAPv3 compliant.

This tutorial explains how you can install and configure 389 directory server on your Linux environment.

AWS EC2 UserData CLIIn Amazon AWS, all the activities that you perform to manipulate your EC2 instances from AWS Console web interface can also be performed from command line using aws cli utilities.

The command is aws. You can use the ec2 option in the aws command to manipulate your ec2 instances.

This tutorial specifically covers about UserData in EC2. We’ve shown the CLI examples for the following:

  1. Launch a New EC2 Instance without UserData from CLI
  2. Create a new EC2 Server Instance with UserData from CLI
  3. View the UserData of an existing EC2 Instance from CLI