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 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 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…

 

Most popular open-source projects hosted at GitHub

GitHub is the most popular open source project hosting site. Earlier this year, GitHub reached a milestone in the history of open source project management by hosting 6 million projects over which 3.5 million people collaborate. You may wonder what the hottest open source projects are among those 6 million projects. In this post, I […]
Continue reading…

 

How to set up C/C++ development environment in Eclipse

If you are a C/C++ developer looking for C/C++ IDE to work with, you can consider Eclipse-based IDE. Eclipse boasts of an extensible plug-in system for customizing IDE to support various programming languages including Java, C/C++, etc. Eclipse CDT is one such plugin which converts Eclipse into a fully functional IDE for C/C++ developers. Eclipse […]
Continue reading…

 

How to version control /etc directory in Linux

In Linux, /etc directory contains important system-related or application-specific configuration files. Especially in a server environment, it is wise to back up various server configurations in /etc directory regularly, to save trouble from any accidental changes in the directory, or to help with re-installation of necessary packages. Better yet, it is a good idea to […]
Continue reading…