rpl & regexxer: search, replace strings


Developers need to search and replace strings in multiple files frequently. While there are several combinations of commands, sed, awk etc. to do that, the default Ubuntu repos come with 2 relatively unknown specialized gems to search and replace text in several files at a time. Let’s check them out! Continue reading rpl & regexxer: search, replace strings

Code beautification nightmare

hacker_compProgrammers develop unique styles of coding over years. While some of those might actually be useful, there are some widespread styles around code beautification which range from being redundant to problematic. I will keep the examples in this article limited to C but they may apply to other languages too. Continue reading Code beautification nightmare

asciinema returns to python from go

asciinema_compOne of the most handy and beautiful software on Linux, asciinema, has decided to end its adventures in go and return back to python. The devs have decided to revert back to the last stable version with python, v0.9.8 along with some of the fixes done meanwhile. The go branch will be left unmaintained. Continue reading asciinema returns to python from go

Linux for developers

tux_compThis piece must read a bit biased. Professionally I’ve been into full-fledged development on Windows for a few projects but I’m using Linux for more than a decade and I favour it to proprietary operating systems. There’s a reason Linux is known as the hackers’ OS (besides the fact it’s also the most hackable OS). This article is to explore the benefits of using Linux as a developer on a reference distro like Fedora or Ubuntu or openSUSE. Continue reading Linux for developers

CudaText: light code editor


If you are looking for a lightweight code editor with a lot of perks, try CudaText. Despite its small footprint, CudaText comes with a lot of features you’ll find only in advanced code editors. A plugin based architecture makes the editor extensible with many more possibilities. CudaText is written in Lazarus. The Linux GUI is written using GTK2. Continue reading CudaText: light code editor

Measure ‘complexity’ of C programs

hacker_compComplexity is a GNU utility to calculate the complexity of a C program. It’s similar to the McCabe scoring (ref tool: pmccabe) with extra considerations on the scoring scheme. Complexity can be used as a means to analyze a C program and detect areas to improve or simplify or the amount of effort required to understand a piece of code. Complexity is written in C. Continue reading Measure ‘complexity’ of C programs