Archive: Windows
April 6, 2008
Windows Mobile del.icio.us plugin

If you're a del.icio.us power user and you use Windows Mobile, you've probably missed the del.icio.us plugin that's available in desktop browsers like IE and Firefox. Dale Lane took this problem as a challenge and coded a nice little Pocket IE plugin that adds a del.icio.us submittal form to the browser's menu.
This is not as trivial as I expected - it took hundreds and hundreds of lines of code just to get a new entry in the Internet Explorer's menu that gets me access to the web browser object as an IWebBrowser2. And (perhaps especially so for someone who has been getting a little lazy with Java and C#! ), some of it is a little intricate and complex.Still, once done I could use my access to the browser to launch my "post to del.icio.us" form and prefill it with the URL and page name of PIE's current page. From there, the form uses the public del.icio.us API to send all the info off to my del.icio.us list.
It's written in C++ and he's zipped up the full Visual Studio project. Based on the difficulty and lack of great documentation for doing something like this, this is actually a pretty solid find. If you want to make a PIE plugin, this would be a good place to start.
A del.icio.us plugin for Windows Mobile (or C++ is a pain)
Pocket IE del.icio.us plugin and source
Posted by Jason Striegel |
Apr 6, 2008 07:53 PM
Blogging, Mobile Phones, Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 31, 2008
Faster Windows shutdown

It pretty typical for Windows to take a minute or two to shutdown. Most of this wait is due to the OS being extra patient, waiting for all of your applications to safely close. So when an application hangs during shutdown, you are forced to twiddle your thumbs until Windows decides that enough time has elapsed to force-kill the application.
It turns out that most of these arbitrary timeout periods are configurable through the registry and Dennis O'Reilly has posted some easy tweaks that will force Windows to shut down a lot faster.
The registry keys in question are "HKEY_CURRENT_USER/Control Panel/desktop/WaitToKillAppTimeout" and
"HKEY_CURRENT_USER/Control Panel/desktop/HungAppTimeout". The first controls the amount of time, in milliseconds, to wait before killing applications at shutdown, and the second is the amount of time to wait before killing a hung application.
There are some other registry adjustments that can be made which will automatically end running tasks and speed up killing hung services. Check the link below for the nitty gritty.
Shut Down Windows in an Instant
Posted by Jason Striegel |
Mar 31, 2008 08:10 PM
Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 30, 2008
Assign USB drives to a folder
When a drive is mounted in Windows, it's normally assigned the next available drive letter, and using the disk management tool, you can force a disk to use a specific drive letter. It turns out you can even take this one step further and map a drive to a directory/folder path on another disk.
With this hack, you can have your external USB disk show up on "c:\usb", or anywhere else you like. Here's how:
- Open the disk management utility: Start->Run>diskmgmt.msc
- With the USB disk inserted, select the drive from the list.
- Right-click and select "Change Drive Letter and Paths"
- Click add and select the "Mount in the following empty NTFS folder"
- Browse to the folder you want the disk to mount beneath
Now when the disk is inserted, it will always show up mounted beneath the directory of your choosing.
This could come in handy if you have a folder that's filling up your disk. Normally if you move it to another disk, it affects a bunch of paths (especially if it's your program files or something on your desktop). With this tip, you could add another drive, move the contents of the directory to it, and then mount it beneath the former directory.
Assign USB Drives to a Folder [via Lifehacker]
Posted by Jason Striegel |
Mar 30, 2008 08:29 PM
Windows |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 11, 2008
N64 emulation: better than the real thing

Racketboy has a great article showing off some of the capabilities of the modern N64 emulator. If your machine is fast enough, most of the available emulators will really give you a noticeable resolution boost and better looking anti-aliased models. Using the Rice Video plugin with the Project64 emulator, you can even swap out the textures for some games with user-created texture packs.
I still use the real hardware (is the N64 considered "retro" now?), so before seeing this, I hadn't even considered emulation for this platform. That all changed when I saw the Mario64 mod shown above. The selection of available emulators is impressive, and there are open source emulators available for just about every platform. I'm currently playing a game under Mupen64 on my iMac and it's pretty flawless. My only wish is that all computers came, by default, with a nice joystick like they did back in the 80s.
Enhance N64 Graphics With Emulation Plugins & Texture Packs - Link
Project64 Emulator - Link
Rice Video Plugin - Link
Mupen64 Emulator (cross-platform, open source) - Link
Posted by Jason Striegel |
Mar 11, 2008 10:35 PM
Gaming, Linux, Mac, Retro Gaming, Virtualization, Windows |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 9, 2008
Command line Twitter
You can easily update your Twitter status from the command line using cURL. The Tech-Recipes blog posted this handy command line hack:
With cURL installed, you can post to Twitter from the terminal window by using the following syntax:
curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xmlYou will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted.
Consider this: instant messaging is the new talk (phone for my VMS peeps) and Twitter is the new finger. It's nice to see at least one of these handy communication tools make its way back to the command line.
Posting to Twitter from the Terminal Window - Link
cURL downloads - Link
Posted by Jason Striegel |
Mar 9, 2008 09:39 PM
Linux, Mac, Ubuntu, Windows |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 7, 2008
Run Linux apps in Windows with andLinux

andLinux is a Ubuntu distribution that used the coLinux kernel, a Windows port of the Linux kernel which allows andLinux to run natively inside Windows without any virtualization software. After downloading, you basically just run the install Wizard. When your machine reboots, an extra taskbar icon will be waiting for you to launch and install pretty much any standard Linux application.
The coLinux kernel can be launched as a service and it runs in the background with a dedicated amount of RAM allotted to it. During the install, you create a folder to house the andLinux Ubuntu installation's root directory. If you need to access the full C drive from Linux applications, it's just a quick entry in the /etc/fstab.
When you've got everything running, the end result is really seamless. The Linux applications each run in a standard window, just like your Windows apps. There's no switching between operating system windows. Xterm, Konquerer, Amarok, whatever—It basically just works.
The installation is pretty simple, and there's also a nice tutorial at Tinkernut that runs you through the installer and shows you how to use Synaptec to easily install other Linux applications. If you're primarily a Windows user, but you miss all the great open source apps and command line tools that are available in Linux, this is worth the 700MB download.
andLinux - Link
Using andLinux (video) - Link
Posted by Jason Striegel |
Mar 7, 2008 08:07 PM
Linux, Ubuntu, Virtualization, Windows |
Permalink
| Comments (3)
| TrackBack
| Digg It
| Tag w/del.icio.us
March 4, 2008
Ram dump over Firewire

Unlike USB2, the Firewire spec allows devices to have full DMA access. By impersonating the appropriate device, a PC can essentially obtain full read/write access to another machine's RAM, just by connecting the two machines with a Firewire cable. Adding to the recent discussion about the insecurities of physical access and Princeton's cold-boot RAM dump demonstration, Adam Boileau released a Linux Firewire utility that will give you immediate Administrator to an XP machine:
It's two years later, and I think anyone who was going to get the message about Firewire has already got it, and anyone who was going to be upset about it has got over it. Besides, according to Microsoft's definition, it never was a Security Vulnerability anyway - screensavers and login prompts are - as Bruce says - about the Feeling of Security. Anyway, today's release day for Winlockpwn, the tool I demoed at Ruxcon for bypassing windows auth, or popping an admin shell at the login window....
- Yes, you can read and write main memory over firewire on windows.
- Yes, this means you can completely own any box who's firewire port you can plug into in seconds.
- Yes, it requires physical access. People with physical access win in lots of ways. Sure, this is fast and easy, but it's just one of many.
- Yes, it's a FEATURE, not a bug. It's the Fire in Firewire. Yes, I know this, Microsoft know this. The OHCI-1394 spec knows this. People with firewire ports generally dont.
Adam's tools include a few Python apps that can copy and impersonate Firewire device signatures, dump RAM on a remote machine, bypass Windows authentication, and extract BIOS passwords. It's not exactly comforting, but I've got a new appreciation for Firewire now. This is the sort of access that used to only be possible by creating hardware that physically connects to the PCI bus. Now all you need is a cable and a laptop.
Firewire, DMA & Windows - direct memory access over Firewire - [via] Link
Posted by Jason Striegel |
Mar 4, 2008 07:08 PM
Cryptography, Data, Linux, Network Security, Windows |
Permalink
| Comments (4)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 25, 2008
Make a remote connections to Windows Home Server

Windows Home Server may seem like an unusual piece of software, but it's worth playing around with if you are considering a home server for your Windows systems. You can get a 120-day evaluation version from Microsoft, and OEM versions are available from retailers like Newegg.com. Here's a Windows Home Server hack from Preston Gralla's Big Book of Windows Hacks. This one shows you how to connect remotely to your home server so you can keep an eye on things back at home. Hack #129 - Link

Related:
- Big Book of Windows Hacks @ the Maker Store - Link
- Big Book of Windows Hacks--New from Make: Tips & Tricks for Unlocking the Power of Your Windows PC - Link
- Hack #156 from Big Book of Windows Hacks: strip down your Windows installation - Link
- Big Book of Windows Hacks #16: a grab bag of Vista interface hacks - Link
Posted by Brian Jepson |
Feb 25, 2008 12:49 PM
Excerpts, Hacks Series, Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 23, 2008
Remote file access through email
Shantanu Goel put a proof-of-concept Outlook macro together that will send you files in response to a specially formatted email. The idea is that you can activate this and leave Outlook running on your computer at work and if you are offsite and need to grab a document it's only an email away.
This project came into being after reading this post at lifehacker (original post and solution here). It listed a method to retrieve mails on your home/office PC by sending a "magic email" to it, but it was only for mac's. Seeing that people wanted it for windows as well, I thought of making something up during lunch time at office.
If you think about it, this is kind of a clever way to get around a corporate firewall. It'd be funny to add some directory listing functionality to it and formalize an email file transfer protocol.
Remote File Access Through E-Mail -Link
Posted by Jason Striegel |
Feb 23, 2008 08:07 PM
Life, Mac, Network Security, Windows |
Permalink
| Comments (2)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 21, 2008
SIXAXIS hacks
Hackszine reader IraqiGeek writes:
I made an application that uses libusb-Win32 and PPJoy to map the Sony Sixaxis into a windows joystick with the accelerometers working and mapped.Unfortunately, the gyro on my sixaxis seems to be faulty. So, while the code is already there to read the gyro data, it can't be used for anything.
The installation process is not exactly the shortest, but I've made a step-by-step how-to describing it.
I did a little digging and there are a couple of other noteworthy SIXAXIS hacks. In addition to IraqiGeek's driver, there is another Windows SIXAXIS driver that people are using with some success. I also was able to find a third Windows driver which contains full source, in case you want to do something more interesting than play games.
Speaking of more interesting, there also exists an open source library for Linux. If you check out the above video, you can see that a gumstix embedded computer is using the SIXAXIS input to control a number of servos.
The six R/C servos are connected to a Gumstix board with built-in Bluetooth module. Inertial measurements from the SIXAXIS are received directly through a PF_BLUETOOTH socket (not through the joystick API, due to HID descriptor issues). Heuristics explicitly discriminate between two types of motion (rotation or translation).
The author was even able to use this setup to control a small helicopter. Pretty cool stuff, I must say.
Anyone know if the SIXAXIS sensor data can be easily polled with an Arduino? Maybe this could be a be a cheap option for a 6DOF IMU.
Using the PlayStation 3 controller in Bluetooth mode with Linux - Link
SixAxis source driver for Windows - Link
Use your SIXAXIS on Windows (ps3sixaxis_en.exe)- Link
WinSIXAXIS (IraqiGeek's libusb/PPJoy driver) - Link
Posted by Jason Striegel |
Feb 21, 2008 07:28 PM
Electronics, Gaming, Linux, Windows |
Permalink
| Comments (1)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 9, 2008
Add an "Open with Notepad" option to the right-click menu

The How-To Geek posted this easy Windows registry hack that will add an "Open with Notepad" option to the right click menu for all files:
Open regedit.exe through the start menu search or run box, and then browse down to the following key:
HKEY_CLASSES_ROOT\*\shellRight-click on "shell" and choose to create a new key, calling it "Open with Notepad". Create a new key below that one called "command". Double-click on the (Default) value in the right-hand pane and enter in the following:
notepad.exe %1
The other option is to drag a shortcut to the Notepad application to the "Documents and Settings\Username\SendTo" folder. I dig how the registry hack adds it right to the top of the context menu, though. More often than not, I want to open a file with Notepad, regardless of its default file association, so it saves some time having this at the top of the list.
Add "Open with Notepad" to the Context Menu - Link
Posted by Jason Striegel |
Feb 9, 2008 08:01 PM
Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 7, 2008
FART: easy grep-like utility for Windows
The Find And Replace Text utility is a handy little command-line tool to have if you're a Windows user. It can function as a simple grep-like utility for quickly searching through whole directories of files, and you can also use it to perform mass search and replace operations on a file or group of files.
The command format is fart <options> filename search <replace>. Basic options are -r (recursive), -c (print filename and match count), -i (ignore case), -n (print matched line numbers), --c-style (interpret backslashes as c-style characters).
For example, let's say a Linux buddy of yours sent you a bunch of html files and they have unix line endings that are barfing in notepad. One simple command fixes the problem, replacing all the newlines with a full PC carriage return, line feed combo:
fart --c-style *.html \n \r\n
Or perhaps you need to quickly track down some work that is left to be done throughout a big project directory. You can use fart to recursively search a directory and spit out all the file names and line numbers containing the text "TODO":
fart -nr * TODO
It's easy to see how you could shoot yourself in the foot with this one. Make sure to fart with caution and back up your files before doing a big search and replace.
FART @ SourceForge - Link
Posted by Jason Striegel |
Feb 7, 2008 09:55 PM
Lifehacker, Windows |
Permalink
| Comments (5)
| TrackBack
| Digg It
| Tag w/del.icio.us
February 5, 2008
Wii Drum Kit
The Wii Drum Kit is another great example of a tangible user interface made possible with the Wiimote. The latest version adds support for the Nunchuck, so you can use both hands to play your virtual drum kit. This one is a Windows application, and source is available at the This is Not a Label blog.
The Wiimote + Nunchuck combination seems like the perfect interface for an air drum. Different gestures are used to trigger a specific drum, so the high hat is a flick to the side, the snare is a forward hit, etc. There's no kick pedal, of course, but the fist stamping motion that's used is a reasonable alternative.
Wii Drum Kit - Link
Control Your Applications With a Wiimote - Link
Posted by Jason Striegel |
Feb 5, 2008 07:18 PM
Gaming, Music, Windows |
Permalink
| Comments (0)
| TrackBack
| Digg It
| Tag w/del.icio.us
January 23, 2008
Disable the speaker beeps on Windows
Aaron Tiensivu has posted the commands you need to know to shut off the Windows speaker beep temporarily or for all time.
To temporarily disable the PC Speaker beep:
net stop beep
To disable the PC Speaker beep for good (until you undo this setting):
sc config beep start= disabled
Now you don't need to run out of the room screaming next time you make a mistake at the Command Prompt that would normally make the hills come alive with BEEP BEEP BEE BEEEP BEEEEP. One liners: Disable the PC Speaker beeps in 200x/XP/Vista - Link
Posted by Brian Jepson |
Jan 23, 2008 03:00 AM
Windows |
Permalink
| Comments (2)
| Digg It
| Tag w/del.icio.us
January 15, 2008
Unlimited ripping of Netflix "Watch Now" movies

A while ago we wrote about removing the DRM from Netflix "Watch Now" movies. At the time, it involved wading through a bit of HTML source to find the target video URL. Since then, a couple of important things have happened: a Greasemonkey script was written that makes it a bit easier to download and process the DRMed WVM file, and more importantly, Netflix is now allowing unlimited downloads.
What can you do with this? Well, you can download a number of videos ahead of time and then watch them at your leisure, especially if you travel a lot and are offline for extended periods of time. It also means you can convert the files to mp4 format for playing on your mac, iPod or Apple TV device. Or maybe you were hoping to finish that documentary you were making about the strange facial expressions of Sylvester Stallone and needed a few more clips to splice into your film...
How To Rip Netflix "Watch Now" Movies - Link
Netflix Downloader Greasemonkey Script - Link
Posted by Jason Striegel |
Jan 15, 2008 09:20 PM
Cryptography, Video, Windows, iPod |
Permalink
| Comments (2)
| TrackBack
| Digg It
| Tag w/del.icio.us
Bloggers
Welcome to the Hacks Blog!
Categories
- Ajax
- Amazon
- AppleTV
- Astronomy
- BlackBerry
- Blogging
- Body
- Cars
- Cryptography
- Data
- Education
- Electronics
- Energy
- Events
- Excel
- Excerpts
- Firefox
- Flash
- Flickr
- Flying Things
- Food
- Gaming
- Gmail
- Google Earth
- Google Maps
- Government
- Greasemonkey
- Hacks Series
- Hackszine Podcast
- Halo
- Hardware
- Home
- Home Theater
- iPhone
- iPod
- IRC
- iTunes
- Java
- Kindle
- Knoppix
- Language
- LEGO
- Life
- Lifehacker
- Linux
- Linux Desktop
- Linux Multimedia
- Linux Server
- Mac
- Mapping
- Math
- Microsoft Office
- Mind
- Mind Performance
- Mobile Phones
- Music
- MySpace
- MySQL
- NetFlix
- Network Security
- olpc
- OpenOffice
- Outdoor
- Parenting
- PCs
- PDAs
- Perl
- Philosophy
- Photography
- PHP
- Pleo
- Podcast
- Podcasting
- Productivity
- PSP
- Retro Computing
- Retro Gaming
- Science
- Screencasts
- Shopping
- Skype
- Smart Home
- Software Engineering
- Sports
- SQL
- Statistics
- Survival
- TiVo
- Transportation
- Travel
- Ubuntu
- Video
- Virtualization
- Visual Studio
- VoIP
- Web
- Web Site Measurement
- Windows
- Windows Server
- Wireless
- Word
- World
- Xbox
- Yahoo!
- YouTube
Archives
Recent Posts
- 64HDD - PC hard drive for your Commodore 64
- Manipulating Mac keyboard LEDs through software
- Tresling - arm wrestling game controller
- SwashBot - robot from a helicopter
- HOWTO - fix a broken NES
- Turn an ATX power supply into a lab PSU
- Second Life on an Apple II
- Nice overview of the YouTube API
- Javascript Super Mario
- Automatic outbound link analytics with jQuery
www.flickr.com
|





Recent comments