2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 13,000 times in 2014. If it were a concert at Sydney Opera House, it would take about 5 sold-out performances for that many people to see it.

Click here to see the complete report.

How to create bare minimum Debian Wheezy rootfs from scratch

Originally posted on olimex:

debian-wheezy-download

In this post we will explain how you can create your own Debian rootfs with pre-installed packages of your choice, which to allow tiny Linux images to be created.

All steps below should work on any Debian host (Debian/Ubuntu etc) and are verified with Ubuntu 12.04LTS.

First of all you need to install the support packages on your pc

sudo apt-get install qemu-user-static debootstrap binfmt-support

Next you need to choose the version of Debian in this case we are building a wheezy image.

targetdir=rootfsdistro=wheezy

Now we will build first stage of Debian rootfs :

mkdir $targetdirsudo debootstrap --arch=armhf --foreign $distro $targetdir

Next copy the qemu-arm-static binary into the right place for the binfmt packages to find it and copy in resolv.conf from the host.

sudo cp /usr/bin/qemu-arm-static $targetdir/usr/bin/sudo cp /etc/resolv.conf $targetdir/etc

If everything is right we now have a minimal Debian Rootfs

sudo chroot $targetdir

Inside the…

View original 313 more words

Playing MIDI files in Ubuntu

sudo apt-get install timidity timidity-interfaces-extra

timidity awesometune.mid
timidity -ig

Building Linux Kernel

1) Obtain Linux Source code
——-> 1.1) Obtain as a single file

Kernel is hosted at kernel.org. You can download the latest kernel from
ftp://ftp.kernel.org/pub/linux/kernel/

$ wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.13.5.tar.xz

——-> 1.2) Clone using git

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git

2) Configure
——-> 2.1) Old Config

$ make oldconfig

——-> 2.2) Custom Config

$ make menuconfig

3) Building

$ make -j4

4) Installing

# make modules_install install

Launch other application from your application in Android

protected void launchApp(String packageName) {
	Intent mIntent = getPackageManager().getLaunchIntentForPackage(packageName);
	if (mIntent != null) {
		try {
			startActivity(mIntent);
		} catch (ActivityNotFoundException err) {
			Log.d("Shingu","App not found");
		}
	}
}

Get List of Installed packages in Android

To get the list of packages installed in the android, use below code.
More details @developer.android.com

protected void print_installed_pkgs() {
	final PackageManager pm = getPackageManager();

	//get a list of installed apps.
	List InstPackages = pm. getInstalledPackages(PackageManager.GET_META_DATA);

	for (PackageInfo packageInfo : InstPackages) {
			Log.d("Shingu", packageInfo.packageName);
	}
}

பிராத்தனை | கோடிட்ட இடங்களை நிரப்புதல் – சுமதி ராம்.

பிராத்தனை
—————
ஒரு நாளும் பள்ளி பேருந்தில்
ஏற்றி விடாத
அப்பா வாய்க்கப்பட்ட மகள்,
பார்த்து விடக்கூடாது,
பேருந்திற்காக காத்திருக்கும்
தன் மகளின் பள்ளி சீருடையை
சரி செய்து கொண்டிருக்கும்
ஏதோ ஒரு அப்பாவை.

– சுமதி ராம்.

 

Translation :

Title : Entreaty

A girl, whose father has never sent her in a school bus,
Should not see, a father who lovingly adjusts his daughters uniform,
while waiting for her school bus.

This is a poem by Sumathi Ram, Director Ram‘s Wife in her Poetry collection titled “Koditta Idangalai Niraputhal“.

Follow

Get every new post delivered to your Inbox.