hurraaaaaaaaaa I got phpED 5.0

May 17th, 2007 4 comments

phpED

At last I got my phpED (license copy). Thanks goes to Hasin Hayder.

Hope it will help me to make batter experience with PHP.

Soon i will write review on phpED 5.0

Categories: My Computer, My Works, PHP, Programming Tags:

Speedup your apt

April 13th, 2007 No comments

Apt is the best friend for any deb dependend linux like debian , ubuntu etc.

You can speed up your apt by searching the nerestrepositery of apt (for your distro/linux)

I tested some tools to do this, APT-SPY shows the best performance 🙂

From manpage:

apt-spy is a program that tests a series of Debian archive mirrors for bandwith. It writes an /etc/apt/sources.list with the fastest server.

Run this command as su or root next thing will done by apt-spy, it will write a new /etc/apt/sources.list and the olde one will be backup with sources.list.bak

apt-spy -d unstable -n 5

Categories: Debian, Debian GNU/Linux, Linux, Tricks, ubuntu Tags:

My Desktop

February 27th, 2007 7 comments

snapshot1.png

Click on the image to see large and clear view.

Categories: My Computer Tags:

subversion installation (1.4.3)

February 7th, 2007 2 comments

A great post about subversion of hasin brother.

On the new version of subversion 1.4.3 u will need to do some thing more. svn-1.4.3 cann’t be install as service. U have take help from 3rd party tools.

Two of them are:

  • SVNService is a free tool written by Magnus Norddahl (not found)
  • SrvAny is avaliable free of charge from Microsoft

or u can use “sc” command to add subversion as service..

Here is the example:
sc create svnserve binpath= "c:svnservesvnserve.exe --service --root
c:repos" displayname= "Subversion" depend= tcpip start= auto
These command must be entered as a single line.

Here bindpath is the where the svnserve.exe is installed, –root is the root directory of
repository, displayname is the name that will display on the windows service list, start = auto is used to start this service on system startup.

Hope it will help you 🙂

Installing ttf fonts on Debian or Ubuntu Linux

January 31st, 2007 15 comments

Here is the simple step to install ttf font on Debian or Ubuntu or debian based linux.

First of all make a font directory to store the fonts. Better use “/usr/share/fonts/ttf”

So make the font directory:

Debian (login as root or use su):

mkdir /usr/share/fonts/ttf

Ubuntu:

sudo mkdir /usr/share/fonts/ttf

If u want to install the ttf font from windows, simple copy them from c:\windows\Fonts

Debian:

mkdir windows
mount /dev/hda1 windows
cd windows/Fonts
cp *.ttf /usr/share/fonts/ttf

Ubuntu:

mkdir windows
sudo mount /dev/hda1 windows
cd windows/Fonts
sudo cp *.ttf /usr/share/fonts/ttf

Now u need to generate the fonts.scale fonts.dir, so u have to install the ttmkfdir and mkfontdir.
Debian:

apt-get install ttmkfdir

cd /usr/share/fonts/ttf
ttmkfdir > fonts.scale
mkfontdir

Ubuntu:

sudo apt-get install ttmkfdir

cd /usr/share/fonts/ttf
sudo ttmkfdir > fonts.scale
sudo mkfontdir

Most of the works finished. U only need to add the font path to xwindows.

Debian:

nano /etc/X11/xorg.conf

Ubuntu:

sudo nano /etc/X11/xorg.conf

then add the fontpath to xorg.conf

FontPath “/usr/share/fonts/ttf”

Now restart ur display manager or total system.
Debian:

/etc/init.d/gdm restart

Ubuntu:

sudo /etc/init.d/gdm restart

If nothing goes wrong, ur done. Congrutulation!!!!!!!!

Categories: Debian, Linux, My Works, ubuntu, unix Tags:

i joined somewherein

January 19th, 2007 9 comments

After waiting around 2 month, i joined somewherein as web application developer, this 15th January. I had to pass 3 level interview. Now i am really happy to get chance to work with hasin hayder (php guru).

Categories: My Works Tags:

2D transformation of triangle

December 25th, 2006 No comments

Today i passed 15 hours to complete my Computer Graphics Project, my subject is “2d transformation of triangle”. Thanks goes to tania and razul to help me in this project.

you can check my project: doc code

Categories: C/C++, My Works Tags:

openSUSE DVD

December 24th, 2006 3 comments

u will be happy to hear that, i successfully made the openSuse DVD from the 5 CDs. So u can collect it from me. if u need, please replay by comments.

Categories: My Works, openSUSE Tags:

openSuse 10.2

December 16th, 2006 2 comments

i downloaded the openSUSE10.2 (5 CDs) , if u need a copy please let me know.

Categories: openSUSE Tags:

check ur windows pc’s uptime

December 7th, 2006 No comments

I am totally linux/*nix lover, but for my friend i was searching the function to findout the uptime of a windows pc.

Open Start ->Run->cmd

and type “Systeminfo | Find “Up Time” and enter.

Here is the example

uptime win
Another one is : http://support.microsoft.com/kb/q232243/ (but it need to download another tool, so boring)

Categories: Windows xp Tags:
64 queries in 0.115 seconds