≡ Menu

Share Your Knowledge and Write for TGS

Thanks for being a regular reader of TGS. I’m very thankful to have you as part of The Geek Stuff family. I really appreciate the lovely support you’ve provided for TGS.

If you believe that TGS has helped you grow and expand your knowledge, it is time for you to share your knowledge with all TGS readers.
[continue reading…]

How to Use Redis with PHP using PhpRedis with Examples

Redis is an open source, in-memory advanced key-value store. It is one of the fastest NoSQL database. Moreover, Redis cache store is a more advanced data-structure than memcached service.

For using Redis cache, we will have to pick a client. There are many PHP clients listed on its official website out of which phpredis is widely popular.

In this tutorial, we’ll use the API provided by “phpredis” extension to communicate with redis. This article covers the following:
[continue reading…]

C++ Template Functions Explained with an Example Program

Let us assume that we are in the situation where we need to create a function that calculates the absolute value of a number.

When you have a number that is positive, then absolute value of the number is that same number, but if the number is negative, then the absolute value of the number is that number with sign changed.

So, the function, if you work with int data type would be like this:
[continue reading…]

How to Enable JBoss AS 7 to Accept Remote Connections

By Default, when you install and configure JBoss AS 7, the management port 8080 can be accessed only by launching a browser from the system where you’ve installed the Jboss, and going to http://localhost:8080 or http://127.0.0.1:8080

When you connect to the Jboss AS 7 from a remote machine, using the ip-address, it will not work. i.e http://{ip-address}:8080 will not work.
[continue reading…]

How to Use Linux Shutdown and Reboot Command with Examples

This tutorial explains various command line options available for the Linux shutdown and reboot commands.
[continue reading…]

GDB Breakpoints and Watchpoints using awatch rwatch Examples

In this tutorial we’ll cover couple of advanced GDB functions including conditional breakpoints, and watchpoints.

We’ve also used a simple C program as an example to explain these GDB debugger concepts.
[continue reading…]

USB Broadband: How to Connect USB Modem Devices on Linux

Most of the usb dongle in market today comes with the drivers and application to use it in a managed way. The setup of this application is stored in its inbuilt memory. For windows system it autoruns and prompts to install the setup as soon as you plug your USB dongle. But, that is not the case for Linux system.

This tutorial explains two solutions on how to setup USB broadband modem devices on your Linux system.
[continue reading…]

If you are thrown into a situation where someone already installed a Windows Hyper-V server for virtualization, it is helpful to understand how to perform certain basic sysadmin operations like creating a new VM.

Once you’ve installed the Hyper-V server free stand-alone version, you can create a new VM using one of the following methods:
[continue reading…]