Skip to main content

Posts

Showing posts from 2007

Howto change the windows LOGON screen

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ CurrentVersion\Winlogon]

Value Name: LogonType
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = Classic Mode, 1 = Welcome Screen).

Create a new DWORD value, or modify the existing value, called 'LogonType' and edit the value according to the settings below. Reboot

Batch rename files

Windows :
There are a lot of utilities out there But the best is ExplorerXP which has an elaborate renaming scheme allowing to
a) TRIM the filenames from front or end
b) find and replace text patterns
c) Number the files -> this is extremely useful if you downloaded a lot of wallpapers with a jungle of messy names. Just select them and rename as nature01.jpg , nature02.jpg .... auto numbering.

Linux:
Use rename command
http://linux.die.net/man/1/rename
http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal

rename day0 beach day*.avi

Output :
day01.avi renamed as beach1.avi
day02.avi renamed as beach2.avi
day03.avi renamed as beach3.avi

In Ubuntu the syntax in different. It uses the syntax of sed

rename -v 's/day0/beach/' day*.avi

-v verbose
-n dry run. Doesn't change filename just shows how the change would look.

UT2004 errors : game shutdown

UT2004 Build UT2004_Patch_[2004-07-27_14.28]

OS: Windows XP 5.1 (Build: 2600)
CPU: AuthenticAMD PentiumPro-class processor @ 2171 MHz with 1023MB RAM
Video: RADEON 9700 PRO (6458)

Failed to enter Entry: Can't find file for package 'XGameShaders'

FIX : the installer is bogus it is not extracting all files had to do a manual unzip of all *.utx.uz2 files
there is a program in ut2004/system folder called ucc.exe it is the decompressor for uz2 files. So copy all *.utx.uz2 files to system folder and run "cmd" command
g:\...\ucc decompress *.utx.uz2

Teach Yourself Visual C++ 6 in 21 Days

A totally free online course on VC++ can be found here :-
http://serghei.net/docs/programming/c++/ty%20visualC++6%2021%20days/ewtoc.html (has images)

Download with Surfoffline (or HTTRACK) and then convert to pdf by adobe acrobat professional.

PROBLEM :- the pictures are JavaScript popup which acrobat cannot convert to file
FIX :- open each file in FrontPage. Find & Replace .
For example :-

Find <A HREF="JavaScript:popup('01fig01.gif')">  & Replace with <img border="0" src="../ch01/01fig01.gif" width="480" height="360">   

Get rid of these-> causes the smaller images to stretch.
<img border="0" src="../ch01/01fig01.gif" >

The absence of width & height specs causes the browser to auto-adjust the images.

Here is what you would do :-

1>Find :    <A HREF="javascript:popUp('     ::  Replace :    <img border="0" src="   :: Click replace all.
2&…

Why avi files get locked and how to delete locked files ?

First we should know why files get locked?
this is caused by the Windows XP Shell Media Extension (shmedia.dll), which provides statistics and thumbnails for media files. Problem is, sometimes shmedia gets stuck on a file, and since it runs inside of Explorer, that file is effectively locked until you restart or logoff. And even that doesn't help, because after restarting, opening the folder causes it to lock the file again. Using Process Explorer from sysinternals.com is the easiest way to confirm that Explorer is holding the file open.

Deleting the file via the command-line, rather than navigating to the folder in Explorer, should work.
If you're not a fan of the command-line and don't DEL the file that way, an alternative solution is to temporarily unregister shmedia.dll (regsvr32 /u shmedia.dll), restart, delete the file, and then re-register the extension (regsvr32 shmedia.dll). This is cleaner than hacking the registry to blow away the extension. I always just leave i…

How to change a folder icon ?

You have seen custom icons appear on CDs of magazines.
here's how you set ur own custom icon to show as image on a desired folder

paste the icon file (eg. TOD.ico) in the folder
create a desktop.ini file with the contents
[.ShellClassInfo]
IconFile=< icon name >.ico [ eg. TOD.ico ]
IconIndex=0
make it hidden to prevent its accidental deletion

with every misc CD you burn you can paste these 2 files.Whenever you insert the CD you see the icon in explorer
(go on to burn a custom CD with your image as the icon)

Linux Distros

KNOPPIX : ftp://ftp.cise.ufl.edu:21/pub/mirrors/knoppix/ : Knoppix is the best Live-CD out there in comparison to Ubuntu & a plethora of others because it is Debian so extremely user-friendly & the graphics blows you off. Those who are used to using Red Hat or Fedora Core can immediately see the difference. In comparison to Ubuntu it has a superuser mode. That is very relaxing cause you can now mount FAT32 file systems from HDD in RW mode (mount -t vfat -o rw /dev/hda1 /mnt/hda1). The superuser mode can be turned on by logging in as knoppix 2 at the boot: prompt

live-cd audio : ftp://ftp.tpnet.pl//d7/ftp.suse.com/i386/live-cd-9.2


winlinux : ftp://80.50.248.77/d0/winlinux/2003/WinLinux2003FreeVersion.exe : Claims to run from within Windows. One word of caution. These guys might be purposely leaving out the layout.bin file so after downloading almost 350 MB you cannot install the thing. It might be a trick to persuade users to buy their product.

GeeXboX :
Use this Linux to turn t…

LYRICS OF CHANDRABINDOO

___________________________________________________________________

SWEET HEART FROM AAR JAANI NAA(T-SERIES)
-- SWEETHEART --

Pratham college-er din ta
Aajo thik e mone poRey scene ta
Dada didi haath dhorey siNRi tei bose poRey
Aamar chokh ta ghorey bon bon bon bon

Sweetheart, I am seating alone
Sweetheart, for me there is none

DhoNk gile chole gelo pratham maas
Meye dekhlei feli deergho-shwash
DhoNk gile chole gelo pratham maas
Meye dekhlei othe nabhishwash
Meyera bheeshan smart poRey chhoto mini-skirt
Aamar e je sheet korey kon kon kon kon

Sweetheart, I am seating alone
Sweetheart, for me there is none

Taarporey kete gelo maas chaar
Fuse holo je kato future
Bandhura purse khule eke oke taake tole
Aamar pran ta korey chon mon chon mon

Sweetheart, I am seating alone
Sweetheart, for me there is none

Ekdin lawn theke beriye
Ek tanayaar dike taakiye
Hawt korey ki je holo magaj ta ghurey gelo
Taar kaaner saamne kori ghyan ghyan ghyan ghyan

Sweetheart, I am seating alone
Sweetheart, for me there is none

Taarpore cla…

Some quotes

"Like many women my age, I am 28 years old" By Mary Schmich

"Age is a number and mine is unlisted" By Anonymous

"Birthdays are good for you. The more you have, the longer you live." By Anonymous

"Grow old along with me! The best is yet to be, the last of life, for which the first was made" By Robert Browning

"The secret of staying young is to live honestly, eat slowly, and lie about your age" By Lucille Ball

"Those who love deeply never grow old; they may die of old age, but they die young." By A.W. Pinero

"Growing old is mandatory; growing up is optional" By Chili Davis

"Men are like wine. Some turn to vinegar, but the best improve with age." By C.E.M. Joad

"Birthdays are good for you. Statistics show that the people who have the most live the longest" By Larry Lorenzoni

Online video conversion

Here's an alternative way to directly convert into MOV ( or any other format) online directly without first downloading and then using a third-party software to do the job.
Alternative procedures :
1> go to http://www.zamzar.com/ and paste the youtube url .
2> Install zamzar toolbar. Then go to the youtube url i.e. load the video then click the link in bookmark toolbar.

LaTeX for powerpoint - Tex4ppt

A powerful plugin for powerpoint has come around which enables to write mathematical and scientific presentations easily.
No need to use "prosper" anymore because it is easier to write formulas in that.
The softwares for writing equations in powerpoint presentations :
1> MathType.
2> Texpoint.
3> Tex4ppt.
The first one is bogus, the 2nd one isn't free.
The last one Tex4ppt is what we need.
An excellent tool.
Just have to do a google search to locate it.
In case people reading this is as lazy as me it is:
TeX4PPT
It needs MilkTeX to be installed for it work though.


Thanks to tuhin (he found it out) and moumita (she informed me).

Bhalo lage na

dhut time's boring and drag to do the presentation.
The most bring part is that I don't know what I want to do and what would make me happy. Confused to the brink. Finished 1 and a half Harry Potter though in 3 days. Charming :)
Want some songs to cheer me up But the damn hard disk is choked to neck with files. Talk about entertainment as an incentive to work nowadays.