Installing GRUB in USB Flash Drive

GRUB (GRand Unified Boot) loader is a boot loader for multiple operating system. It is one of the most popular bootloader for GNU/Linux operating system (the other is LILO). GRUB flexibility and easy-to-configure boot parameter has made it the default choice for most of GNU/Linux distros.

This article highlights yet another GNU GRUB usefulness in booting GNU/Linux inside a portable USB Flash drive : Installing GRUB on a USB flash memory key

gnu,linux,grub,bootloader,tips,tutorial

Translate Mypapit blog in 9 different languages

Thanks to Jibone post and tips, I manage to install Simple Thoughts? WordPress translator plugin, which enables language translation in my blog to 9 different languages. The translation itself is done by Google Language tools and the translation can be expected to be a bit way off.

You just need to click at any of the flag icon to translate this website to your desired language, for example, clicking the French flag will translate this blog into french, and so on. Happy perusing!

Using Scanners in GNU/Linux

I’m sure that some of you will be planning to buy scanners that could work in the operating system of your choice. The easiest way to get your scanner working under GNU/Linux is by using SANE (Scanner Access Now Easy) backend, which is supported by the GIMP project.

Personally, I use the budget Canon LiDE-20 model, which I use for scanning documents and photos for my collections. Here’s is the list of scanners supported under GNU/Linux : Scanners supported by SANE

The article listed below discussed about how to get scanners work with your GNU/Linux operating system : Getting scanners to work with Linux

Recommended Product
The CanoScan LiDE 20 USB flatbed scanner is one of the world’s most compact flatbeds, yet it offers big performance and big savings. Just over an inch high, it packs all the features you need to scan images, copy documents, and e-mail your favorite photos, all with one-touch operation.

scanner,gnu/linux, hardware,linux,tips,sane

How to use diff and patch in your project

Diff and patch are two separate tool that are often use together, particularly in software development. The use of these tools can ease up the process of recording differences and applying changes between two files.

diff is a tool that can be use to create a “diff” or “patch” file that contains differences between two files. Though diff can write into many different format, most people will prefer the unified format as it is easier to work with.

patch is another tool that complements diff, it will apply the differences in the “patch” file to the target file. Think of it is a way to “patch” your old files with newer modifications.

The guide below is the simplest way to use diff and patch. Though the information provided here is incomplete, I believe it can get you started in using them in your project.

How to use diff

The basic use of diff is,
diff -u original.txt modified.txt > file.patch

If you want to use diff against two source tree, the command is,
diff -rupN original modified > program.patch

How to use patch

To apply the patch, change into the same directory as the unmodified file and execute
patch < file.patch This is how to apply patch to an entire directory, patch -p0 < program.patch Patch applied can be simply removed by adding the -R switch, patch -p0 -R < program.patch patch -R < file.patch For the explanation of using the -p parameter, please read Applying patch to other directories

Other reference : LinuxJournal

unix,guide,tips,diff,patch,tutorial

Ittutor Mozilla search plugin

I don’t know if anybody has done this, but I’ve hack a Mozilla search plugin for Ittutor forum. Ittutor is a Malaysian forum that focuses on computer related topic and other discussions.

This search plugin is to be use from within Mozilla suite or Mozilla Firefox browser, or any browser that supports Mozilla Mycroft extension

Forum Ittutor

You can get it here : Forum Ittutor Search Plugin

Get Mozilla Firefox Here