Skip to main content

Posts

Showing posts from December, 2006

Create your own Pixel Button - No image editing required!!

Do you want a cool pixel button for your blog or website? Don't know how to handle image editing softwares such as GIMP/Photoshop? Or perhaps just plain lazy to create your own manually? If yes, this site can help you. It automatically generate a pixel button based on the spec you gave to the generator. Its easy and simple. They even gave away its sourcecode!.

This StumbleUpon button,

was created using the tool. (I couldn't find one that matches my taste from the official site, so I brew it myself)

Using Tsocks to tranparently use SOCKS proxies in applications

There are not many applications out there supports SOCKS proxy for traffics. Usually people will try to find similar application that have SOCKS support if they need it. To Linux/BSD users, there is a dirty trick to do make virtually any console and some X applications to use SOCKS proxy transparently by preloading certain libraries before executing the application. One of those libraries is Tsocks.

Step 1 : Installing
Simply extract the tarball, then, use the magic spell everyone familiar with to install it. ./configure
make
sudo make install
Afterwards, create a config file named tsocks.conf in /etc/ . Refer the examples given together with the source tarball for guidance on how to write the config. For those who just want a quick and basic config and lazy to open the examples, I've provided it below.

# This is the configuration for libtsocks (transparent socks)
# Lines beginning with # and blank lines are ignored
#
# This sample configuration shows the simplest (and most common) use of
#…

HOWTO: Building an X-less Azureus Dedicated Box using Fedora

Do you have an old unused box sitting still in the storage without nothing useful to do with it?. Are you a heavy torrent'er? Are you tired of torrent (especially Azureus) eating up your personal computer resources and makes everything goes slow?. This Howto will guide you in converting that unused box of your into something useful - An advanced dedicated Azureus torrent box controlled through SSH and web-based interface!!.

First and foremost, there are a few issues I would like to highlight.
- This guide is not targeted for a total newbie, however, I wont stop newbies to try it. Its a good learning experience
- Azureus requires Java, and Java eats resources more. So, you'll need a box with around 200Mhz processor with more than 128MB RAM
- The webUI of Azureus is a simple UI for starting/stopping downloads and uploading .torrent files, we will depend mostly on the TelnetUI for adjusting configurations
- Don't use the java that provided together with Fedora (GCJ) , because it e…

Earthquake at Taiwan : Internet in Malaysia and several south east asia countries down

The recent Richter 7.1 earthquake in Taiwan have caused a submarine cable fault between Shantou, China and Tanshui, Taiwan and between Lantau, Hong Kong and Chongming, China. This occurrence have severely damage communication between several south-east asian countries - including Malaysia - and Taiwan, Japan, Korea, and United States.

you can read the announcement from TMnet here .
And the news from niser here

I noticed the connection became alarmingly unstable early this morning. At first I thought it was a problem within the country until one of my friend in Terengganu pm'ed me and saying the same connection instability happened there. Then I checked the TM website and saw the earthquake announcement.

The connection was severely unstable during the morning, and gladly its becoming better as time goes. However, connections frequently timed out and interrupted a lot of my downloads and website loads.

I hope this situation will be fixed by the time I'm back at college. If not, Its …

Psalms of Planets : Eureka Seven

I just finished watching this Eureka Seven this afternoon ( yup, I'm kindof late) , and it was GREAT!. The series was a little bit slow in the beginning , but as the series develop , I grew to love this anime. The storytelling , the character development , everything, was done greatly if not perfect. The series gets interesting by each passing episodes of a total of 50 episodes.

The story is about a boy, Renton Thurston, who lives with his grandfather Axel Thurston in a city called Bellforest, until one day, a mecha , piloted by a mysterious girl, crashed onto his house. Starting from that day, his life changed and he set on an adventure with the girl, Eureka and a group of ex-military renegades The GekkoState. The story revolves around his relationship with Eureka , the conflict between the GekkoState and the Federation , and the mystery of the Coralians.

The storyline have plenty of high-flying mecha battles, confusing yet interesting scifi element, heart-touching conflicts, and l…

Lolifox - Firefox for anime lovers

Yeah2, i know, the name sounds kindof erotic. But well, its their rights to put that name isn't it?. I got to know about this browser from a post at our new UTP-OSS Google Group so i decided to try it.

A visit to lolifox's site is a little bit of a disappointment. There are no screenies .. me wanna see screenies .. haha .. frankly, screenshot is one of the most effective way to bring people to use gui based apps .. Also, there a very little information about what are the uniqueness of this firefox fork/mod besides having some large collections of anime bookmarks and a modified interface for ftp/gopher browsing..

I downloaded the linux version of the browser to give it a try, there are no rpm/dep packages, the binaries is only compressed in a tarball - like hows firefox is packaged. Okay, this is a small matter, its not going to become a system's web browser anyway.

These are the screenshots from my first run of the browser. Nothing much impressive, it looks 90% like the va…

Getting Flash Player 9 BETA

If any of you are still sticking with the old Flash Player 7 , I think it almost time to upgrade yourself now. Flash Player 9 BETA for linux have been released for quite a while already, and they also have released a standalone player for it.

The installation step is simple .. just go to http://labs.adobe.com/downloads/flashplayer9.html and download the tarball .. extract it .. and copy libflashplayer.so to ~/.mozilla/plugins .. restart your browser and ure done ..

I know .. its sumthing that a little bit too easy for those geeks out there (its clearly stated in the readme on how to do it) .. I'm kindof out of idea on what to write though .. *sigh*

Automatic Firefox Update in Linux

I guess everyone noticed that Firefox in Linux does not auto update using its update engine, and you'll need to use yum, apt, emerge, etc to update it. This is due to the reason that firefox from distribution packages is made to be installed into as read-only to the users. You can *fix* this problem by installing firefox into your home folder. By doing this, it allows firefox to be overwritten and make the update work. It worked for my Firefox2 on FC6.

You can read my guide in installing apps in your home folder here

as for me , I install firefox in ~/local/opt/firefox2 and a symlink to the firefox startup script in ~/local/bin

Btw, if you are using a compositing manager (eg. compiz/beryl ), you might need to add these two lines into the firefox startup script - right after the GPL notice - to keep firefox from crashing when opening sites with Adobe Flash
XLIB_SKIP_ARGB_VISUALS=1
export XLIB_SKIP_ARGB_VISUALS

G'luck and enjoy~ :)

HOWTO: An organized way to install programs @ your home folder

Installing stuff in linux usually requires root access .. this is true especially when the program which you want to install is a later version that the one that already installed in the system ..

As for some people, they might not want to pollute their RPM/DEB/put-a-packaging-system-here installations with installation from source tarballs and making the system hard to maintain using their distribution's package tools

However, it is not impossible for users to seamlessly install/upgrade programs into their own home folder, leaving the main system untouch .. you only need the program's source code , a compiler , and the development libraries ...

NOTE: This method may work with most programs out there that uses the ./configure script, however, some applications might refuse to work in this environment.

NOTE2: This article is targeted to people who already know their way when using linux. Its not targeted to newbies. However, I wont stop newbies from trying this. Its a good learning…

Starting service after the login screen is loaded

GDM early login have been mising from Fedora for quite a while now .. I kindof missed it because it makes Fedora "appears" booting up faster ..

Being impatient, (and bored), an idea came out to my mind to do a script that might give similar function to GDM early login .. but with a little bit twist -> instead of we make the GDM start earlier, why dont we make the services start later? ... and so, postinit script was born ... Its juz a simple shell script that allow users to define what services they want to start later after GDM is loaded ..

These are the script , I packaged it for Fedora Core 6, other distros may use it , but it might require some tweaking in the code.

postinit-1.0-1.src.rpm
postinit-1.0-1.noarch.rpm

Usage:
postinit add [servicename]
- This adds a service into the postinit list
postinit del [servicename]
- This removes a service from the postinit list
postinit list
- This shows what services is set to be run using po…