Archive

Archive for the ‘Hands-On’ Category

Use TwitterGIFT to help you succeed on Twitter

September 19th, 2009 admin 2 comments

Do you use twitter everyday? Do you add friends to your Twitter account everyday? Are you tired? Have you ever thought about automate the process?

Yep. There are tons of tools available to consolidate your Twitter account. TwitterGIFT is one of them. It can help you to add more followers daily without your time and searching. It searches the Twitter database and pull a pool of targeted followers and then following them first. Follow the link to download a copy and try it. You will definitely love it.

Enjoy your exploration. TwitterGIFT is ideal tool for small business to gain web traffic through Twitter.

  • Share/Save/Bookmark

Restore Windows on EEE BOX without CD/DVD drive (boot from USB falsh drive)

August 16th, 2009 admin 4 comments

ASUS provides your a DVD recovery disk for your EEE BOX machine, which does not have CD/DVD drive. When something of your OS goes wrong, you have to plug in a CD/DVD drive to run the recovery DVD to get Windows recovered. It happened that I do not have a portable CD/DVD drive available. How can I install the Windows OS without pluging in a Cd/DVD drive? The answer is it is not easy but you can do it. A step by step instruction is given here.

1 Software needed

- Ultra ISO Creator Version 9 Trial  from  http://www.ezbsystems.com/ultraiso/download.htm
- A USB flash drive with at least 2 GB free space
- a XP computer with DVD drive and USB 2.0  port
- Asus EEE Recovery DVD
- Optional  (to avoid working with original DVD) : a program to create the bootable ISO of your Recovery DVD. I used  LCIsoCreator.exe  from http://www.lucersoft.com/freeware.php
PeToUSB

2 Create an ISO file from the ASUS original Recovery DVD

a ) Unzip  the  file LcIsoCreator.zip in a folder of your choice
b) Insert Asus EEE Recovery DVD into the drive
c) Launch LcIsoCreator.exe, select the DVD unit and click on  Create ISO. Type the file for your iso image , for example : EEE.iso

3a Create your bootable Asus EEE USB flash drive (using Ultra ISO)

a) Install Ultra ISO with default settings
b) Launch UltraISO, click on Continue to Try ..
c) If you decided to work using an iso image instead of the physical DVD mount the iso image on a virtual DVD (Tools / Mount to drive  (F6)). You can  also mount it using another tool such Daemon tool if you prefer it.
d) From menu select  File / Open CD/DVD e select the DVD drive of the Asus EEE Recovery DVD (physical or virtual depending on your previous choices)
e) Insert your USB pen into an USB port
f) From menu select Bootable  / Write Disk Image. on Disk Drive select the USB pen drive, on Image File you should have already the DVD drive, on Write Method select USB-HDD.
g) Click on Xpress Boot and wait the image creation. It will take about 30 minutes

3b Create your bootable Asus EEE USB flash drive (using PeToUSB)

a) Unzip PeToUSB to a folder
b) Connect a USB Flash Drive with at least 2GB of storage to your PC and start PeToUSB
c) The USB flash drive should show up under Destination Drive. Check USB Removable, Enable Disk Format and Enable File Copy
d) Finally browse to the Source Path of the EEE.iso created in the second step
e) Click “Start” button and answer the following two questions “Continue?” with “Yes”. All existing volumes and data will be lost!
Depending on the write speed of your USB Flash drive it may take a while to copy all EEE.iso files.
f) If everything goes well, the message “Operation Completed Successfully!” should appear. Click “OK” and close PeToUSB.

4 Modify WINPE.ISO to Choose Symantec Ghost as start application

a) Use Ultra ISO open WINPE.ISO on the USB falsh drive
b) Navigate to I386\SYSTEM32\ and find WINPESHL.INI
c) Extract this file to your hard drive
d) Open the file WINPESHL.INI and change …

[launchApp]
AppPath=x:\EPCRecover.exe

… to …

[launchApp]
AppPath=x:\GHOST32.EXE

… and save the changes

e) Copy this file back to I386\SYSTEM32\ in UltraISO
f) Save your modification to the USB flash drive
In addition, please also copy all content in the ASUS drive CD to the USB flash drive. You need it once the Widnows is installed.

5 Recovery process

a) Connect the USB Flash Drive to your Eee PC and turn on the Eee
b) Press “Delete” at the boot screen and you will be able to open BIOS setup page
c) Go to Boot tab and set the Hard Drive to USB flash and set it to first priority drive
d) After booting from USB Flash Drive, WinPE (Windows Preinstallation Environment) should start and finally Symantec Ghost
e) Click “OK” and then “Local > Disk > From Image”. From the pulldown menu on the top choose your USB Flash Drive. It should be drive X:, because Windows assigned this drive letter during boot up. From here you can choose the image file ASUS.GHO.
f) Now you have to select the destination drive. Of course this should be the Eee BOX hard drive
g) The next window will show you the destination drive details. Here you can change the partition layout or just click “OK” to keep the default settings.
h) The ghost image ASUS.GHO was password protected. You have to use the password “mbrcd” to proceed. There will be one last question “Proceed with disk restore?”. If you click “Yes”, the process will be started

6 Install and setting your Windows

It was a big pain to install Windows and set up all things. It took hours to complete. After Windows installation is done, you can navigate the ASUS drive folder on your USB flash drive and start the setup program. It will automatically install all drivers for you.

Now it is time to enjoy your brand new EEE BOX.

  • Share/Save/Bookmark

The world smallest desktop PC – EEE BOX

August 5th, 2009 admin 4 comments

Back to the same time last year, ASUS’s EEE BOX, the world smallest desktop PC, got into the market. I bought one and used it as a regular pc at home. Its performance as a home pc, especially for web surfing and light document editing, is very good. It is quiet and use much less power as regular pc. I leave it on all the time.

Because its size and excellent performance, I bought another one from NewEgg. Based my experience in computer software and hardware, I bought a open box with Linux OS. It costed me about $200 bucks. I got it in a few days. The original OS was ugly. I toally do not like it. That is probably why people return this fantastic PC.

What I do next was to go Ubuntu’s official website and download the lasted Ubuntu Desktop version and install it to the EEE BOX machine. It works flawlessly and performs excellent. I am really glad to have this Open Box EEE BOX machine.  More often, NewEgg will sell Open Box products in very low price. If you know what you buy and can work out excellent solution, go for it.

Enjoying your deal hunting by visiting U’s Bargain Network frequently.

  • Share/Save/Bookmark
Categories: Hands-On Tags: , , ,

Install Share/Save plugin to enable the share button

June 11th, 2009 admin 4 comments

Install the Share/Save WordPress plugin today. It works flawlessly with the sysytem. Please use the button to share our posts with your friends or submit them to social network service sites, such as Twitter, FaceBook, Digg, MySpace etc. Thanks.

  • Share/Save/Bookmark
Categories: Hands-On Tags:

Upgrade to WordPress version 2.8

June 10th, 2009 admin 2 comments

Since the new WordPress version is relaesed today. The blog still is pretty young. I decided to upgrade to the lastest version reight way. The upgrade was smooth and easier. Here lists the simple steps:

  • Just downloaded the new version to server and unzip the package to a folder.
  • Then just copy the wp-config.php file from the earlier installation to the new folder.
  • Then move the older files under installation folder to somewhere and move the files in the new version to the installation folder.
  • In your browser enter the following address “blog domain name/wp-admin” and click upgrade database
  • Then you can use your blog in the new version without any problem.

One thing you have to pay attention is you could get blank page if you use customized theme or other third party theme other than the default. If that is the case, you just simply reinstall the theme you used before. It should works fine.

  • Share/Save/Bookmark
Categories: Hands-On Tags:

Change permalink structure of WordPress, 404 error resolved

June 10th, 2009 admin No comments

I read an article talking about how to get meaningful permalink structure for blogs. Based on that article, I redefined the blog’s permalink. At first, the permalink did not work and always bring me to the 404 page. Search blog posts about how to fix WordPress permalink 404 not found error. End up the following commands on Ubuntu server should be executed to make the permalink work.

sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
  • Share/Save/Bookmark
Categories: Hands-On Tags:

Flash Linksys WRT54GL with DD-WRT

June 8th, 2009 admin 3 comments

Linksys WRT54GL router is an excellent router, robust and stable with strong signal. I like this router very much. It performs even better if you can manage to flash it with a third party firmware, DD-WRT. Here is some experience about flashing this router with DD-WRT.

First visit DD-WRT at http://www.dd-wrt.com/ to learn more about the router and the firmware. Click “supported hardware” and enter “wrt54gl” and clik the router link in the search result. It will lead you to a firmware page with multiple versions avaialble, see below.

Description Filename Date Size
Micro Generic dd-wrt.v24_micro_generic.bin 2009-02-09 1,69 MB
Micro Generic dd-wrt.v24_micro_olsrd_generic.bin 2009-02-09 1,64 MB
Mini Generic dd-wrt.v24_mini_generic.bin 2008-07-27 2,77 MB
Xbox no-kaid Generic dd-wrt.v24_nokaid_generic.bin 2008-07-27 3,32 MB
Standard Generic dd-wrt.v24_std_generic.bin 2008-07-27 3,59 MB
Standard Generic dd-wrt.v24_usb_generic.bin 2009-02-09 3,84 MB
VoIP Generic dd-wrt.v24_voip_generic.bin 2008-07-27 3,55 MB
VPN Generic dd-wrt.v24_vpn_generic.bin 2008-07-27 3,53 MB
Mini-Build required for inital flashing via WEB dd-wrt.v24_mini_generic.bin

Since WRT54GL has 4MB flash memory, you can select Min Generic and upgrade it directly through the router’s user interface. The best way to do it correctly, you need exactly follow the steps described in the following page: http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX.

After the router was flashed with DD-WRT, it runs smoothly for a long time without any reboot. It totally change our view and ways to use router. Before I own this WRT54GL router, I have used USR 5461 router for more than two years. I had to reboot it from time to time to keep internet running, especially, after I upgraded the router’s firmware to the latest. It got worse. I decided to tried other routers, particularly, gigabit N router. I bought two of these kind of routers and tested them. No of them works well. The worst one is ZyXel wireless N router. I totally ruined my network, disconneted me in several minutes interval. I was so disappointed and went to online and searched for robust router, finnally got Linksys WRT54GL router. I am really happy to purchase this router. By upgrading it with DD-WRT firmware, the router became the best router ever.

  • Share/Save/Bookmark
Categories: Hands-On Tags:

Stories about saving money anytime at shopping and banking

June 7th, 2009 admin No comments

Saving money is important not only at recession but also every day at any time. We’d like to tell several stories about saving money, from using credit cards, managing your money in banks, and saving money when you go shopping.

A. Use credit cards wisely

There are too many choices in the credit card market. You can only find a handful of excelent credit cards, which combine good service, cash rewards, low APR, and no annul fee.

First card that I want to recommend is Chase Cash Plus Rewards Visa card.  Here is a quote from Chase website: “With your Cash Plus Rewards card, you earn 5 points for every eligible dollar spent on gas, grocery and drugstore purchases. Plus, you earn 1 point for every eligible dollar spent on purchases made elsewhere.” I use Chase Cash Plus Rewards card to buy grocery and gas everyday. I earned 5% rewards every time. Say I spend $500 monthly, I can earn $25 every month. For a year, I can get $300 back from this card. To be aware of this card has a 30,000 points cap per calendar year.

The second one is Discover gas card. You can get 5% cash back for your first $100 purchase of gas and auto service. Here is the quote from Discover’s website: ” Cashback Bonus on your first $100 in gas and auto maintenance purchases each month”. Therefore I use this card mainly for gas and auto maintenance. I can get about $50 cash back a year.

The third one is from Capital One. You can use their card lab to design a card you like. The one I designed has 2% cash back on everything in the first year, 0% APR on purchase for the first year. I use this card to buy every thing except gas and auto service, grocery, and drugs.  I can get roughly another $200 cash back.

The forth one is from Discover more card. It provides 5% cash back for different purchases at different time, such as home improvement and gardening, restaurant, hotel, card rentel, and fashion. It is little bit hard to track this. However, it is worth to pay attention to do this. So I can accumulate $30-$50 cash back from this card.

To add all these cash back together, roughly I can get $500 – $600 cash back a year just by using credit cards to purchase waht I need.  This is definitely an advantage over purchasing things by cash. I recommend you to use credit card whenever you can. It will earn you cash back. It is for sure that you can not become rich but definitely help a little bit.

B. Managing your money in banks

Majority people only use their local banks and refuse to take any risk to use online banks. By backing by FDIC, any banks in the United States are safe. There are a lot of advantages to use online banks. For example, they provide high interest rate for all deposit accounts, even for checking account. I mantenain ING Direct e-checking account (current APR is up to 1.65%), savings account (current APR is 1.5%), and CD accounts. Their checking account rate is not very competitive, but by combining with savings account, it is much more convenient. Open your e-checking account at ING Direct now to make moeny from your money. Why not?

American Bank at Allentown, PA provides high interest rate checking account  (current APR is 1.6%). Pretty good and much higher than majority savings account. Capital One provides online savings account with high interest rate (current APR is 1.75%).

By using online banks, you can earn hundreds or thousands of dollars ayear. That totally depends on how much money you have in banks. But much much better than just leave your hard-earned money in your local banks, they provides your interest rate like 0.05% or even nothing. You can keep your local bank accounts for convenience as well as earn more money from online banks. It is totally depends on you to manage your money.

C. Save money when you go shopping

In addition to use credit card I described in the first point, you can buy stuffs from online stores. They do not charge your sales tax. Say you spend $1000 to buy a computer, you could pay $50 tax if you buy it at local stores. Even better, a lot of online stores provides coupons, rebates, and special promitions. Check U’s Bargain Network to find more online deals, bargains, and discounted products.  If you buy stuffs through this kind of virtual shopping malls, you can save a chunk of money. The good thing is that there is no limit for saving money, unlike the credit card cash back rewards, which have caps at most situation.

So, all in all, by using credit cards (selected best cards), online banking, and virtual shopping malls (such as U’s Bargain Network), you can save or earn more money from your hard-earned money.

  • Share/Save/Bookmark
Categories: Hands-On Tags:

Use PERL script to automatically follow your followers on Twitter

May 26th, 2009 admin 1 comment

If you have a Twitter account, you will know there are friends follow you and you are not following them. To  be nice to your fans, you’d better follow them back. If you have a large number fans added everyday, it will be hard to catch up. Now it is time to automate the process. The following PERL function will do the trick for you.

#!/usr/bin/perl

require 5.6.0;

use strict;

use warnings;

use DBI;

 

# ==== get command line arguments

 

if ($#ARGV != 1) {

    print “usage: twitter_friends2 username password\n”;

    exit;

}

 

my $username = $ARGV[0];

my $password = $ARGV[1];

 

my $dbh;

my $sql;

 

getConnected();

 

 

my $friends = “friends”;

my $followers = “followers”;

my $target_followers = “target_followers”;

 

# ==== download friends, followers and target’s followers list

system(”curl -u $username:$password http://twitter.com/friends/ids/$username.xml >$friends.xml”);

system(”curl -u $username:$password http://twitter.com/followers/ids/$username.xml >$followers.xml”);

 

# ==== clean data tables

$sql =”DELETE FROM friends”;

executesql($sql);

$sql =”DELETE FROM followers”;

executesql($sql);

$sql =”DELETE FROM nonfollowers”;

executesql($sql);

 

# ==== load data to tables

importIDs($friends);

importIDs($followers);

 

# ==== find non following

$sql = “INSERT INTO nonfollowers (id_nonfollowers) “. 

 ”SELECT id_followers FROM followers WHERE id_followers NOT IN “. 

 ”(SELECT id_friends FROM friends)”;

executesql($sql);

 

# follow the friends you are not following now

add();

 

disConnected();

 

# END OF MAIN PROGRAM

 

 

 

#############################################

#

# add friends who do not follow you in the past

#

sub add {

my $sql = “SELECT * FROM nonfollowers”;

my $sth = $dbh->prepare($sql);

$sth->execute();

my $id;

$sth->bind_columns(\$id);

while ($sth->fetch()) {

system(”curl -X POST -u $username:$password http://twitter.com/friendships/create/$id.xml >/dev/null”);

my $sql1 = “DELETE FROM nonfollowers where id_nonfollowers=$id”;

my $sth1 = $dbh->prepare($sql1);

$sth1->execute();

$sth1->finish();

}

 

$sth->finish();

}

 

 

#############################################

#

# remove friends who do not follow you

#

sub remove2 {

my $sql = “SELECT * FROM friends”;

my $sth = $dbh->prepare($sql);

$sth->execute();

my $id;

$sth->bind_columns(\$id);

while ($sth->fetch()) {

system(”curl -X POST -u $username:$password http://twitter.com/friendships/destroy/$id.xml >/dev/null”);

my $sql1 = “DELETE FROM friends where id_friends=$id”;

my $sth1 = $dbh->prepare($sql1);

$sth1->execute();

$sth1->finish();

}

 

$sth->finish();

}

 

#############################################

#

# execute a SQL statement

#

sub executesql {

my $sth = $dbh->prepare($_[0]);

$sth->execute();

$sth->finish();

}

 

#############################################

#

# import data to table

#

sub importIDs {

my $tablename = $_[0];

open(DAT, “$tablename.xml”) || die(”Could not open file!”);

my @lines=<DAT>;

close(DAT);

 

my $sth;

my $nIDs = 0;

foreach (@lines) {

my $id = $_;

$id =~ m/<id>([\d]*)<\/id>/;

if (defined($1)) {

my $sql = “INSERT INTO $tablename (id_$tablename) values ($1);”;

$sth = $dbh->prepare($sql);

$sth->execute();

$nIDs ++;

}

}

 

$sth->finish();

 

unlink “$tablename.xml”;

return $nIDs;

}

 

#############################################

#

# connect to database and generate a handle

#

sub getConnected {

# return the database handle object to the caller

 

# Set the parameter values for the connection

#——————————-

my $host=”localhost”;

my $connectionInfo = “DBI:mysql:db_twitter;$host”;

my $databaseUser = “your database username”;

my $databasePw = “your database password”;

 

# Connect to the database

# Note this connection can be used to 

# execute more than one statement

# on any number of tables in the database

#——————————-

$dbh = DBI->connect($connectionInfo, $databaseUser, 

   $databasePw) || die “Connect failed: $DBI::errstr\n”;    

}

 

######################################

#

# disconnect the database handle

#

sub disConnected {

$dbh->disconnect();

}

To use this PERL script, you have to create a database in MySQL server by using the following SQL commands.
/*
DATABASE db_twitter
*/
/* 
followers
*/
CREATE TABLE `followers` (
  `id_followers` int(15) unsigned NOT NULL,
  PRIMARY KEY  (`id_followers`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/* 
friends
*/
CREATE TABLE `friends` (
  `id_friends` int(15) unsigned NOT NULL,
  PRIMARY KEY  (`id_friends`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/* 
nonfollowers
*/
CREATE TABLE `nonfollowers` (
  `id_nonfollowers` int(15) unsigned NOT NULL,
  PRIMARY KEY  (`id_nonfollowers`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 Once you ccreate the database (db_twiiter), you can run the PERL script to automate follow your friends. If you like, please post a comment. 
  • Share/Save/Bookmark
Categories: Hands-On Tags:

ING Direct Electronic Orange Checking

May 6th, 2009 admin 1 comment

This checking service is very good. If you combine this checking with an ING Direct saving account it will dramtically simplify your life to manage your money. You can have your money in the ING saving account because it has higher interest rate. Transfer money to your checking instantly whenever you need your money to pay bills. This is excellent solution for personal financial management. WE and several of our friends use this kind of combination for years. We all enjoy the simplicity and convenience to use ING Direct. Open your first ING high interest checking now.

  • Share/Save/Bookmark
Categories: Hands-On Tags: