Help answer threads with 0 replies.
Go Back > Blogs
User Name



Creating a patch . . .

Posted 05-28-2011 at 01:03 PM by Lufbery (The Slacker's Blog)

Hi all,

I thought I'd share a procedure for making patches that I learned.

Starting with information from a mailing list or newsgroup for a patch, copy the relevant information to a text file and give it a descriptive name with a .patch suffix.
  1. tar -xf file.tar.bz2
  2. mv file file.orig
  3. tar -xf file.tar.bz2
  4. cd file
  5. patch -Np1 ../file.patch # Applies patch from newsgroup or other source with offsets
  6. cd ..
  7. diff -Naur file.orig file >
Senior Member
Posted in Uncategorized
Views 773 Comments 0 Lufbery is offline

java in debian 6

Posted 05-28-2011 at 10:40 AM by sumeet inani

apt-get install default-jre icedtea6-plugin
involves following files
default-jre_1.6-40_i386.deb  default-jre-headless_1.6-40_i386.deb
Check following page in your browser -->

Tested in opera 11.11 , iceweasel 3.5.16
Posted in Uncategorized
Views 2735 Comments 1 sumeet inani is offline

dumping a file in hexadecimal

Posted 05-28-2011 at 04:03 AM by neonsignal

There are several ways to dump a binary as hex values. The following examples generate single byte hex values with no addresses (which can be useful when generating array initialization code).

There is the program od:
od -A n -t x1 file.bin
The '-A n' turns off the addresses, and the '-t x1' sets it to single byte hex formatting.

There is also the program hexdump, which is more flexible in the formatting of the results:
Senior Member
Posted in Uncategorized
Views 383 Comments 0 neonsignal is offline

running mathcad under wine

Posted 05-28-2011 at 03:52 AM by neonsignal
Updated 05-28-2011 at 07:21 PM by neonsignal

Mathcad is a commercial visual mathematics editor that can execute formulae. Because it is what-you-see-is-what-you-get, it makes for a useful documentation tool. I have searched for equivalents in the free software world; Octave is useful for running mathematical models, and TeX can handle the typesetting of complex formulae, but having a visual editor means that working models and their results can be printed out in a human readable form.

The versions of Mathcad run with varying...
Senior Member
Posted in Uncategorized
Views 3164 Comments 0 neonsignal is offline

Lenovo Thinkpad T420 Notebook PC

Posted 05-28-2011 at 02:27 AM by spazticclown
Updated 02-23-2015 at 06:49 PM by spazticclown

Today I received my new Lenovo Thinkpad T420, I will be installing Fedora 15 tomorrow and I will post everything that I find on how everything works and any recommendations. I may also be testing with other distributions (possibly Ubuntu and open SUSE). Any requests?


Laptop arrived and testing as much as I can.
First off it loads Fedora 15 x64 easily. Optimus Graphics do not auto switch and had trouble getting the drivers to take. Looks like nVidia...
Posted in Uncategorized
Views 1712 Comments 0 spazticclown is offline


All times are GMT -5. The time now is 08:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration