Daily Archives: May 31, 2009

TypingWeb Offers Free Typing Lessons [Keyboards]

Whether you’re an able but slow touch typist, or you never graduated beyond hunting and pecking, TypingWeb is a free and easy to use online typing tutor that will help you hone your keyboard chops.

There is no registration necessary, you can dive right in and try out the basic lessons. Registering for an account lets you save your progress and other statistics. Along with a clean and easy to use interface, what sets TypingWeb apart from other free typing tutors is the ability to change the language and keyboard layout. Want to learn Dvorak without tearing your current keyboard apart? Learning to type on a keyboard other than an English QWERTY layout? Swap out the keyboard in the settings section.

TypingWeb is structured to take you from the home row all the way to efficiently using infrequent keys and key combination. There are also actually enjoyable typing games, unlike the lame typing games you may recall from grade school typing tutors. TypingWeb is free, but if you want to get rid of the ads, you can pay a one-time $9.99 fee to turn TypingWeb ad-free. Thanks Kratos!





Digest authentication with Apache

This article is in continuation with previous and talks about setting up digest authentication with Apache.

There are few changes compared to the steps for Basic authentication.

1. Generating the password file for digest auth.

htdigest -c digest.txt secret prash

digest.txt is the password file, secret – the realm and prash is the username.

2. Create htaccess.acl under c:wampwwwdigest-auth with following data

AuthUserFile C:wampbinapacheApache2.2.11bindigest.txt
AuthName "Protected by Digest auth"
AuthType Digest
AuthDigestProvider file

<Limit GET POST>
require valid-user
</Limit>

‘AuthDigestProvider file’ is an additional property that needs to be mentioned for proper working of digest authentication.

3. And, last but not the least. Enable auth_digest_module by un-commenting the following line if its already commented in httpd.conf.

LoadModule auth_digest_module modules/mod_auth_digest.so

Reference : httpd.apache.org/docs/2.2/mod/mod_auth_digest.html

Setting up HTTP Basic authentication with Apache

Last week, I had a chance to setup our test Apache server for Basic and Digest authentication. The setup was required to verify few of the HTTP authentication related test cases.

I’m blogging it here so that I’ll not forget, if I need it again :)

I had WAMP Server v2.0  which included Apache v2.2.11 web server.

Setting up Basic authentication was straight forward.

1. Update http.conf by adding :

AccessFileName htaccess.acl .htaccess

An htaccess file can be used to modify the Apache configuration on a per-directory basis.

On some operating systems ‘htaccess.acl’ is not required. Ex, on Linux, you can just mention it as .htaccess. This is because, on Linux you can create a file with name .htaccess.

2. Add “Directory” tag into http.conf as shown below :

<Directory "c:/wamp/www/basic-auth/">
    Options None
    AllowOverride all
    Order Deny,Allow
</Directory>

c:/wamp/www/basic-auth/ is the folder which needs to be secured by the authentication scheme which we are trying to impose.

3. Next step is to create password file.

cd C:wampbinapacheApache2.2.11bin
htpasswd -c pwd.txt prash

This prompts for the password for the username – ‘prash’. After supplying the password we will be ready with the password file – ‘pwd.txt’ under ‘C:wampbinapacheApache2.2.11bin’.

4. Create the htaccess file – ‘htaccess.acl’ file with the following data.

AuthUserFile C:wampbinapacheApache2.2.11binpwd.txt
AuthName "Protected"
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>

This specifies which password file need to be considered for the authentication – ‘C:/wamp/bin/apache/Apache2.2.11/bin/pwd.txt’ also the type of authentication scheme – Basic.

Place this file under the folder ‘c:/wamp/www/basic-auth/’ along with other live data and restart the server.

Now, try accessing the folder localhost/basic-auth. This should prompt for username and password.

Reference : httpd.apache.org/docs/2.2/mod/mod_auth_basic.html

Build a $14 Video Camera Stabilizer [DIY]

Professional video stabilizers are prohibitively expensive. You won’t get $10,000 worth of stabilization out of a $14 DIY model, but you will get radically smoother video for a tiny fraction of the price.

How does the DIY model provide smooth video? Instead of the complex arrangement of balancing mechanisms, resistance bands, and springs, the DIY stabilizer relies on a simpler system. Your arms and a counter weight at the bottom of the stabilizer work together to minimize the movement. Camera shake is radically reduced when the weight of the camera is offset by a equal or slightly heavier weight at the bottom. Sound about right for your needs? You’ll need some pipe, a disc weight, some hand tools and a power drill to put this one together.

For photos and a step by step build guide, check out the PDF below. If you need to stabilize video in a car, check out how to make a dashboard stabilizer out of a sponge.





WP Like Button Plugin by Free WordPress Templates