List partition types in Linux with fdisk

A quick tip, you can find about all partition type in your system by typing “fdisk -l” (as root). For example :

fdisk

With this command fdisk lists partition type in all disks without you having to mount them.

What can you do with these information?
You can use it as a clue to mount your partition. fdisk also list the device name of the corresponding partition thus making your job easier to identify which device contains the data that you want to find.

[tags]tips,tutorial,fdisk,linux,partitions,ubuntu,debian[/tags]

PayPerPost – an Innovative way to blog and get paid

Finally, I’m glad that my blog was accepted in PayPerPost, a relatively new service which allows your to earn money while blogging. PayPerPost is a truly innovative way to spread buzz across the internet.

How do you earn money by blogging? Simple, all you need to do is register your website with PayPerPost and awaits them to accept you. To make sure that you can earn continuously, you must make sure that you checked categories that most suited you. Writing for the sake of getting the money alone won’t do much good to your visitors and blog.

I love PayPerPost because they give you the freedom to choose from a number of reviews/buzz (called: opportunities) to write about, this way you can handpick which opportunities that is better suited for your style and way of writing and remember theme consistency is important for your blog.

And yes, PayPerPost works both ways too, if you have a product, services or something that you want people to talk about, then you can sign in as an advertiser. You can select the amount of payment you like to pay bloggers, write in some specifications and let them talk about your products and you’ll have your ads on blogs in no time.

So go ahead and try PayPerPost now

[tags]blogging,blog,payperpost,earnings[/tags]

Burn CD images in Linux command line

This tip will be brief, it concerns about writing bootable linux iso images to CDROM. What you need is cdrecord, cd-writer drive, blank cd-r and iso image (and maybe mkisofs).

Howto burn ISO images to CD
Insert the blank CD-R, and run

cdrecord -v speed=4 dev=/dev/cdrom ubuntu-6.10-desktop-i386.iso

and you’re done.

Howto burn (backup) files to Data CD
You’ll need mkisofs and cdrecord to burn your data files to a CD,

Run,

mkisofs -r -J -o yourbackup.iso /home/path_to/your_files

cdrecord -v dev=/dev/cdrom  -data  yourbackup.iso

and that’s the easiest way to burn cds on command-line linux.

[tags]linux,cdrom,iso9660,joliet,ubuntu,cdrecord,mkisofs,debian[/tags]

Optimise your openoffice files with KJar

Hi, I found a way to optimise the size of OpenOffice.org files. The OpenOffice.org file format (*.odt, *.odp, *.sxw, etc) uses series of xml files to describe the content of documents. These files are package into a JAR file (similar with zip file format) which uses deflate compression algorithm.

Though OpenOffice.org files are relatively small, it is interesting that you can make the file even smaller by recompressing the documents file using a better optimized deflate implementation.

One such implementation are made by Igor Pavlov for his 7zip application, which is used by AdvanceMAME to create a suite of application,AdvanceCOMP to recompress deflated files. However this implementation are not coded to handle the zip file variant (JAR) used by OpenOffice.org.

One alternative is to use the KJar recompressor which uses Ken Silverman deflate implementation (kzip/kunzip). The application itself is non-free and only available as Win32 binary (*.exe), however it can be adapted for use with wine.

How to compress OpenOffice.org files?

Simple, just rename your document file to .jar, and run kjar on it. The process will take a while and on average I’m able so save up to 15% -40% openoffice file size, which is about 60KB for 500KB OpenOffice file. My record is able to save 54% of the original filesize (from 1354KB to 420KB), that’s a lot of saving there.

Maybe some of you think that this is unimportant, but as for me, i’m always interested in how much space that I can squeeze on a 500+ page documents :)

Download KJar at : http://supremej2me.bambalam.se/guides/optimization-tools/kjar/

[tags]openoffice,optimization,opendocument, odf,deflate,compression[/tags]

tremulous – addictive open source FPS game

These past few days I’ve been hooked up playing Tremulous, an open source First Person Shooter (FPS) game. The objective of the game is to protect your team’s base and eliminate the enemy base. You can choose one of the two sides, either as member of human team or as an alien species.

trem1.jpg
trem2.jpg
trem3.jpg

Each side has it own unique abilities; the humans have long-range weaponry and the aliens have powerful melee attack and high body hitpoints The game uses GNU/GPL Quake III engine and only requires modest 3D hardware acceleration.

Tremulous is indeed a fun and addictive game, those who want play tremulous with me can look me up in Tremulous Basic Server #1 through #3 (low pings for me).

Download tremulous at : http://tremulous.net available for Windows and GNU/Linux operating system

[tags]games,quake,tremulous,quake 3, open source,FPS,linux,windows[/tags]

The OpenCD 4.0 has been released

opencd4.png

TheOpenCD project has just announced the release of OpenCD 4.0. Softwares featured on OpenCD 4.0 includes :

  • OpenOffice 2.0.4
  • PDFCreator 0.9.3
  • GIMP 2.2.13
  • Azureus 2.5.0.0
  • Mozilla Firefox 2.0
  • 7-Zip 4.23

TheOpenCD is a collection of Free and Open Source Software that runs on Microsoft Windows. It aims to provide high quality and well tested software that is free from restrictive license for people to use.

Hopefully by the time openjdk is ready, TheOpenCD will include a precompiled Java Runtime runtime too for running open source Java programs such as Azureus.

[tags]open source, free software, foss, opencd, firefox[/tags]