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
Category: PROGRAMMING
Code beautification nightmare
Programmers 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
One 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
This 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
Complexity 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
Some musl for your C programs
musl is a lightweight C standard library implementation for Linux. If you are looking for an alternative of glibc musl is worth your time. The project is maintained by the musl community and is under active development at the time of writing. Several standard libraries are implemented in musl. Continue reading Some musl for your C programs
GitKraken: the missing Git client
Though most Linux devs may prefer git from the command-line, it doesn’t hurt to try a client with a beautiful GUI. GitKraken might be the client you always wanted to check out. Continue reading GitKraken: the missing Git client
splint: C static analisys
For decades lint has remained the most used static analysis utility for C. splint (Secure Programming Lint) has been around for some years now and is regarding as the modern version of lint. In addition to coding gotchas, splint also checks for security vulnerabilities, which is a very significant aspect of modern programming. Continue reading splint: C static analisys
how2heap: learn heap exploitation
Many of the deadliest hacks and malware use stack and heap exploitation techniques to gain privileged access to a computer or destroy everything on the disk. If you are a budding white hat hacker or the developer of an industry-grade software, you must learn how they work and the techniques to counter those issues. how2heap is a collection of C programs which explain the working principles behind heap attacks. Continue reading how2heap: learn heap exploitation