How to debug a C/C++ program with Nemiver debugger

If you read my post on GDB, you know how important and useful a debugger I think can be for a C/C++ program. However, if a command line debugger like GDB sounds more like a problem than a solution to you, you might be more interested in Nemiver. Nemiver is a GTK+-based standalone graphical debugger […]
Continue reading…

 

How to browse and search API documentation offline on Linux

For a programmer, good API documentation is worth more than a library of programming textbooks. If you are an avid developer, you probably want to make your life easier by keeping all necessary API documentation right at your fingertips. Most IDEs provide brief tooltips or IDE-specific ways of incorporating API documentation. However, these are mostly […]
Continue reading…

 

How to debug a C/C++ program with GDB command-line debugger

What is the worst part of coding without a debugger? Compiling on your knees praying that nothing will crash? Running the executable with a blood offering? Or just having to write printf(“test”) at every line hoping to find where the problem is coming from? As you probably know, there are not many advantages to coding […]
Continue reading…

 

How to compress and minify CSS and JavaScript from the command line

For web designers, publishers and developers, one cannot stress enough the importance of keeping web pages or web applications as lightweight as possible. There are various design strategies and client/server-side techniques that can be exploited to achieve this goal. One relatively simple and straightforward technique is “code minification”. This is the process of eliminating unnecessary […]
Continue reading…

 

How to develop cross-platform mobile apps on Linux

The last few years have witnessed dramatic growth of the mobile market, mostly driven by a large selection of applications. As consumers, we all hate to see some kind of market monopoly by any one platform. The more competition, the more innovation. As developers, we have mixed feelings about cross-platform development. Cross-platform development has several […]
Continue reading…

 

How to install web-based real time collaborative document editor on Linux

There are many tools which allow a group of users to collaboratively edit a document as a team. Version control systems such as Git or Subversion are common tools that enable collaborative editing. However, these tools only support “asynchronous” collaboration, where any change is made to a local copy, which is later merged, on demand, […]
Continue reading…

 

How to identify CPU processor architecture on Linux

Multi-core processor architecture becomes increasingly popular nowadays. This trend is accelerated by the need for supporting multi-tenant hardware virtualization, high-performance computing applications, and Internet-scale workloads in data centers. As a server administrator and cloud architect, you must be aware of the CPU processor architecture of servers, so that server applications can take full advantage of […]
Continue reading…

 

How to diff and merge files or directories on Linux

There are many cases where you want to compare and/or merge two files or directories. For example, you may want to compare two distinct backup snapshots; merge two different versions of a document; diff two configuration files for troubleshooting, etc. While version control systems can handle this kind of situations easily, it is probably an […]
Continue reading…