Reset a lost root password in under 5 minutes
Apr30

Reset a lost root password in under 5 minutes

A system administrator can easily reset passwords for users who have forgotten theirs. But what happens if the system administrator forgets the root password, or leaves the company? This guide will show you how to reset a lost or forgotten root password on a Red Hat-compatible system, including Fedora and CentOS, in less than 5 minutes. read...

Read More
Create a Linux desktop application with Ruby
Apr30

Create a Linux desktop application with Ruby

Recently, while experimenting with GTK and its Ruby bindings, I decided to write a tutorial introducing this functionality. In this post, we will create a simple ToDo application (something like what we created with Ruby on Rails) using the gtk3 gem (a.k.a. the GTK+ Ruby bindings). You can find the tutorial’s code on GitHub. read...

Read More
Elegant solutions for everyday Python problems
Apr30

Elegant solutions for everyday Python problems

Python offers a unique set of tools and language features that help make your code more elegant, readable, and intuitive. By selecting the right tool for the right problem, your code will be easier to maintain. In this article, we’ll examine three of those tools: magic methods, iterators and generators, and method magic.  read...

Read More
PCGen: An easy way to generate RPG characters
Apr30

PCGen: An easy way to generate RPG characters

Do you remember the first time you built a role-playing game (RPG) character? It was exciting and full of possibility, and your imagination ran wild. If you’re an avid gamer, it was probably a major milestone for you. But do you also remember struggling to decipher an empty character sheet and what you were supposed to write down in each box? Remember poring over the core rulebook, cross-referencing one table with a class...

Read More