Showing posts from January 2010. Show all posts
Jan 31
A few Windows hacks
Posted by Matthew at 8:14 pm on January 31, 2010 in tech | 3 Comments »

Useful Tips

Change XP Start Menu Text

Follow these steps to change your start menu text from the default ’start’ to whatsoever you may desire. First you’ll need to download and run Resource Hacker.

1. Within Resource Hacker, navigate to C:\Windows\explorer.exe and open it.

2. Expand the String Table folder and you should see a bunch of numbered folders.

3. Expand number 37 (or 38 for Windows Classic theme) and click on 1033 with the little gear next to it. In the right panel, replace the text ’start’ with anything you want. I changed mine to ’stop.’

4. Click on the ‘Compile Script’ button.

5. If you want to change the text that appears when you hover over the start button, expand folder 34 and change the default ‘Click here to begin’ to something like ‘Click here to get real!’ Compile changes.

6. You can also change the Windows icon on the start button to something else while you’re at it. First, collapse the String Table folder and expand Bitmaps at the top of the list.

7. Open 143 and click on 1033, where you’ll find the default Windows icon. To replace this you will need a 25×20 image with a .bmp extension.

8. Go to ‘Actions’ in the file menu and click on ‘Replace bitmap,’ then browse to your replacement file. Select it and hit ‘Replace.’

9. You are now ready to save your work. Go to ‘File’ and select ‘Save as’. Save it as something other than explorer.exe, such as hammertime.exe (mine) or explorerhack.exe.

10. Now to modify the Registry so your system uses the hacked file instead of the default explorer.exe. Open the Run dialogue (Win+R) and type ‘regedit’ without quotes. Hit Enter.

11. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon, and in the right pane you should see the entry ‘Shell.’ Double click on this and replace the text ‘explorer.exe’ with the name of your hacked file.

12. Close the Registry Editor and log out. Log back in and you should be set! Enjoy.

Here’s my end result:

modified start menu text

N.B. from TheElderGeek.com:

A number of users have written to say that when the text on the Start Button is changed, the Search function from the Start Button (right click) context menu ceases to function. That’s true, it does, and if I ever used that particular function I’d have been aware of the problem. I don’t use it, so I wasn’t aware, but now you’ve been warned. As far as I know there are no other caveats associated with the modification.

(Re)Enable Task Manager

If for some reason, virus or otherwise, your Task Manager has been disabled, open ‘regedit’ in the Run dialogue (Win+R). Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr, and make sure it’s set to 0.

Lock Workstation Shortcut

Sometimes you don’t want to have to hit Ctrl+Alt+Del and click ‘Lock Computer’ in order to lock your workstation. Sure, you could use Win+L, but maybe those features are disabled on your *cough* school network. At any rate, here’s a cool way to make a shortcut on your desktop that does just that.

1. Right-click on your desktop, select New and Shortcut.

2. In the location field, type “rundll32.exe user32.dll,LockWorkStation” without quotes.

3. Name it whatever you want (Lock Workstation, for example) , and you can give it a cool lock icon from shell32.dll (see below).

shell32.dll

Speaking of which, shell32.dll may be copied between Windows versions (rename as shell32xp.dll or something to distinguish it), allowing you to use the XP icon resources for Vista, or some other combination. To use one of these icons for a shortcut, just right-click, go to Properties and Shortcut, then Change Icon. Click on Browse and navigate to C:\Windows\system32\shell32.dll, or shell32xp.dll for your new icons.

Fun Pranks

Change Icon to Shutdown

This simple prank changes an icon so it shuts down the computer. This can of course be useful, but is best for changing an icon someone usually uses to surprise them (lol). Right-click on the desktop, select New>Shortcut, and type C:\Windows\system32\shutdown.exe -s -t 60 -c “A deadly virus has taken control of your computer.” The 60 denotes seconds until shutdown, and can be replaced with a different value. The text in quotes is a message that accompanies the shutdown command, and it can also be replaced with something of your choice, like “kthxbai.” Alternatively, you can omit the -c parameter and text and set the -t value to 0 for a clean, instant shutdown. Very effective. Oh yeah, and if you should need to cancel the shutdown, hit Win+R and type “shutdown -a” without quotes.

Remove Shutdown from Start Menu

If someone uses the Shutdown option from the Start Menu to shut down their computer, you can throw them for a loop by removing it with a simple registry edit. Open the Registry editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and double click on the ‘NoClose’ entry in the right pane. If it’s not there, right-click and select New>DWORD Value, naming it NoClose. Set the value to 1 to disable the Shutdown button. It doesn’t actually remove it, but it won’t work – even more frustrating. To re-enable, change the value back to 0.

Print Screen Desktop Prank

The classic old standby.

1. Take a print screen (Prnt Scrn key) of the plain desktop and save it in an image editor such as MS Paint. Then set it as the desktop background.

2. Right-click on the desktop, select ‘Arrange icons by,’ and uncheck ‘Show desktop icons.’

3. Finally, right-click on the Taskbar and uncheck ‘Lock the Taskbar’ (if it’s checked). Click on the top edge and drag the Taskbar down as far as it will go. The desktop now looks normal, but is quite unusable.

Virus.bat

Simply type “start virus.bat” without quotes in a text file. Save it as virus.bat. Opening this will start an endless loop that will bog down and basically crash the computer. You can, however, try to kill the processes in Task Manager or log out to recover your system.

Jan 21
How Facebook crunches images
Posted by Nathaniel at 8:48 pm on January 21, 2010 in tech | 1 Comment »

I have found a few things out about what Facebook does to your pictures after you upload them, 100% by my own experimentation. In list format:

  • Scales the image down so that the longest side is 604 pixels if it was bigger than that to start with.
  • Recompress all images as JPEGs at quality 85. I found this out with ImageMagick: identify.exe –verbose filenamehere.jpg. Hat tip to Arjan van Bentem for pointing me to IM. It doesn’t look like 85 is all that bad, by the way, if Wikipedia’s sample JPG compressed photos are anything to go by, but do bear in mind that multiple JPEG resaves will degrade the image quality, since it is a lossy format (but of course just copying or downloading it won’t mess with it at all). Also, Facebook will recompress it even if you upload a JPEG image at the correct size (using quality 85 doesn’t work either; it gets recompressed at 85 again)
  • Converts image to Grayscale mode if it is a grayscale image. I suspect this might make it smaller.

So, beware of decreased image quality if you are uploading a twice-(or more)-saved JPEG. That being said, I wouldn’t worry about it much, since it’s only Facebook. If you have a slow link to the net, I’d say go right ahead. I wrote about sizing your photos down for faster Facebook uploads a while back, so if you need some instructions, here you are.

Oh, and one more thing. I have found that JPEG compression can be used to artistic effect. Orange Peal Design’s site is a good example (in fact, the only one I know about). Gives it a certain feeling and not just a crappy impression. Strange how these things work.

Jan 17
Check up
Posted by Nathaniel at 8:11 pm on January 17, 2010 in life | 1 Comment »

I have a few things to say.

First, I’m a little bit busy. I still don’t consider myself busy by the standards of some of my friends (I have hours and hours of free time, for reals), but it has picked up this year, I think.

Second, I started off this year trying to consistently read the Bible. I don’t think that reading the whole Bible in a year gives you spiritual super powers, although I do think that all of the Bible is worth reading. Also, I think the Bible is worth reading every day. The way I think about it right now is read it every day, get back to it if you missed it, don’t commit suicide or have insecurities if you don’t read the Bible in a whole year. Not that I always do all that but that’s how it’s laid out in my mind right now.

Third, I want to start working out a bit this year. I want to start out with the one hundred push ups training program. It sounds like a very doable, macho, and cool regimen. I did the test several days ago and hit 20. Sad, but it leaves a lot of room for improvement, that being the point of this paragraph. And I haven’t started yet. I blame this weekend (went to Moscow, had Collin over, went to a fireside chat (lame fire… way too low), went to a contra/square dance, went to a missions-themed Sunday School and church service today, ate at the fellowship feast afterwards, and set in on a couple videos and some Q & A. And did some clean-up following that.). That being said, I’m planning a Tue-Thur-Sat schedule for it, so we’ll see how it goes this week.

Fourth, as I think I’ve said before, I want to get some more writers writing here. But here’s the idea I want to get across: it’s not exactly volunteer but it’s not paid and it’s definitely not an internship. I think it is most easily communicated as “I just want to get some friends together and write a sweet blog. And get conversations going.” So hopefully we can get a more official (but not more formal) statement out on that in the near future.

Fifth, leading on the heels of the last para, I’m hoping good things for this blog. It’ll be awesome if we get more writers and I’m looking forward to putting some more effort into writing (I’m thinking post-graduation-from-high-school, which happens early this June). I’m thinking Senior Thesis class may have some redeeming qualities… Anyway, I want to have a discussion with Matthew sometime soon about what he thinks about the blog (past, present, future, probably with emphasis on the last).

Sixth, speaking of school… I almost want to skip this whole graduation thing. I say to myself that I’d be quite happy with a regular end of the school year and beginning of summer. I don’t really know if that’s true. However, best not to dwell on that because I really doubt I’m getting out of this. I am to have a hand in planning it, though, so I can flaunt my influence there (what value it has). And Anna and I are both hoping the other will be valedictorian. Except I think I secretly want to be valedictorian because I keep catch myself writing bits of a speech in my head. Blast.

Seventh, the 29th of December was a bit of a nice date for our family. Finally we got a decent internet connection. Stuck with dial-up for over 10 years. And then finally broadband. Fitting for 2010 I’d say. I think a post relating to the topic may be expected in the future.

I believe that’s all for now. Also, a public thanks to you, Matthew, for your well-written recent posts. While it’s true I’ve always written more posts, I have felt the quality of your posts was very often rather splendid while it was not always so much that way with mine.

Jan 13
Mini-Review: Notes From the Tilt-A-Whirl
Posted by Matthew at 11:26 pm on January 13, 2010 in art, life, theology | 2 Comments »

Notes From The Tilt-A-Whirl: Wide-Eyed Wonder in God’s Spoken World by N.D. Wilson is a wild ride. To be fair, the preface warns the reader with such injunctions as “This book does not go straight,” and “I’ve forgotten to include seat belts, and I don’t know where I left the liability waivers.”

The narrative weaves erratically through reflections on philosophy, quantum physics, wasp villains, and Shakespeare in a stream-of-consciousness format. Interspersed throughout are meteorological observations, insights on everyday life, and stories from the kingdom Animalia. “Have you ever heard a rabbit scream?”

In the chapter titled “The Problem of Evil and the Nonexistence of Shakespeare,” Mr. Wilson deals with the sobering reality of evil. God is the great Artist, and there is black paint in the world. “How can this Artist be good?” The Christian apologetic is presented here in a rambling, poetic style influenced by C.S. Lewis and G.K. Chesterton, and the result is truly a work of art. Notes From The Tilt-A-Whirl is different; it reads with a unique style that well captures the depth and vibrancy of creation, and being thought-provoking while at it. I highly recommend this book, and I think every Christian should read it.

Note (no pun intended) that Mr. Wilson employs a few words that some might find offensive. For some thoughts on Christians and what might be called “strong” language, check out these older blog posts here and here.

True to the title, Notes From The Tilt-A-Whirl takes the form of notes from life, expressing the wonder of God’s world. God’s spoken world. One theme that runs through the book like a thread (and there are many) is that of words. Everyone is given a part in God’s story.

“Our Maker waits. He would have a conversation. What words will we have? We need only one, the One who spoke us.”

Notes From The Tilt-A-Whirl (front cover)

Jan 6
“Taming” Avira and console mode for Linux
Posted by Matthew at 9:02 pm on January 6, 2010 in tech | 1 Comment »

Avira

Two quick things today. First, a tip on how to disable the splash screen and annoying popup “nag” screen on Avira Free AntiVir version 9. To get rid of the splash and nag screens, just follow the instructions here. You can also disable the little update notifier following these instructions. As an aside, this section of the title was loosely derived from a Grand Stream Dreams blog post on Taming AVG Free version 8.

Linux

Next, switching to console mode, a useful tool for Linux users. While it is usually preferable to use some form of GUI for general computing tasks, there are times, even if you’re not running a specialized server or recovering a corrupted machine, when a simple comand-line interface would come in exceedingly handy. You can, of course, open a terminal window to get a text interface, which is great for quickly and efficiently running powerful commands, while looking and feeling hardcore. The advantage here is that you can open other windows and continue using the GUI. However, there are times when a program crashes or the GUI freezes, and dropping to console mode acts as the equivalent of the Windows Task Manager. This can be easily accomplished with the shortcut key Ctrl+Alt+F1, with F1-F6 opening separate terminal instances. You can then terminate the offending program or restart the X server, and return to the GUI with Ctrl+Alt+F7.

Further reading here.

Jan 4
Lorem ipsum dolor sit amet.com
Posted by Nathaniel at 8:00 pm on January 4, 2010 in tech, uncategorized | 1 Comment »

Loremipsumdolorsitamet.com is no longer online. At least not in it’s proper form. However, you can view a copy right here. As the page says upon clicking the [info...] link, “Purely coded in JavaScript. This means you can save this page locally (File → Save As…) for offline use.” Or, online use in a different place.

So, what is it? A filler text generator with a choice of Lorem Ipsum, English, Jabberwock, or Tagalog. Enjoy. Especially if you miss it.

Update: Here is the official new location, I think. Complete with background image and header (yum yum). It seems to have originally been designed by Rico Sta. Cruz. The source code refers to his old site, ambiescent.com. His new site is ricostacruz.com, and Lorem Ipsum is now hosted at a subdomain there.