Translate

Image of Beginning Google Maps API 3
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Android Wireless Application Development
Image of Linux Kernel Development (3rd Edition)

Korn Shell Launcher for Windows Subsystem for Linux

According to Microsoft, the Windows Subsystem for Linux (WSL) is a new Windows 10 feature that is essentially a compatibility layer which enables you to run native Linux command-line tools and utilities directly on Windows 10, alongside your traditional Windows desktop applications. Currently a beta feature, it is scheduled to be officially released in the Windows 10 Anniversary Update which is due CY2016Q3. There is no support for Linux GUI-based or TUI-based tools, utilities or applications not is any planned. When WSL is enabled, a Canonical-created Ubuntu user-mode image (currently named trusty-server-cloudimg-amd64-root.tar.gz and based on Ubuntu 14.04 Long-Term Support) is

Unico Theming Engine on Fedora 16

GNOME 3.2 on Fedora 16 ships with only one GTK+ 3.x theming engine, i.e. Adwaita, which is used to theme the bland GNOME 3 default theme (also called Adwaita.) This post shows to how to add the Unico theming engine to Fedora 16 so that you can make use of the many excellent themes that use or can use the Unico engine. For example, here are two themes which are currently unavailable for GNOME 3 on Fedora 16 but which are nicely rendered by the Unico theme engine. This is the Zubitwo theme: and this is the Adwance theme: What

Gold Linker

It is a bit strange that the Gold linker is still not the default linker on Red Hat, Fedora or Ubuntu or any of their downstream distributions. Gold has been around for a number of years, having been first released to the open source community in early 2008. It was developed by Ian Lance Taylor and a small team at Google. Gold is drop-in replacement for the traditional BFD (Binary File Descriptor) based linker on X86 and X86_64 platforms. It links object files up to five times faster than the BFD linker. On very large builds such as the Chromium

Programmatically List Installed .deb Packages

While RPM packages have a robust ecosystem around them for programmatically retrieving information about package metadata, the Debian package management system is sorely lacking in this respect. Here is a simple C example which demonstrates how to programmatically list all installed Debian packages. #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <dpkg/dpkg.h> #include <dpkg/dpkg-db.h> #include <dpkg/pkg-array.h> #include "filesdb.h" const char thisname[] = "example1"; int main(int argc, const char *const *argv) { struct pkg_array array; struct pkginfo *pkg; int i; enum modstatdb_rw msdb_status; standard_startup(); filesdbinit(); msdb_status = modstatdb_open(msdbrw_readonly); pkg_infodb_init(msdb_status); pkg_array_init_from_db(&array); pkg_array_sort(&array, pkg_sorter_by_name); for (i = 0; i <