How to embed Python code in C program

Python is one of the most popular programming languages due to its simple syntax, ease of learning and cross-platform support. Besides, many high quality Python libraries and modules are available at your disposal, allowing you to do heavy lifting with only a few lines of code. This makes Python one of the most productive ways […]
Continue reading…

 

Linux vs. Windows device driver model: architecture, APIs and build environment comparison

Device drivers are parts of the operating system that facilitate usage of hardware devices via certain programming interface so that software applications can control and operate the devices. As each driver is specific to a particular operating system, you need separate Linux, Windows, or Unix device drivers to enable the use of your device on […]
Continue reading…

 

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…