Skip to main content

Posts

Showing posts from 2012

Beware of Fake Federal Express Emails

When I maintained my client's computer few days ago, I found his computer infected by trojan downloader Win32/Kuluoz.B These trojans infected my client's computer since he clicked on the fake email claimed from Federal Express. As a matter of fact, the delivery companies like Federal Express, UPS, DHL and US Post Office never send email notification. They don't know your email. If they cannot delivery package, they will left a note at your door. It took me an hour to clean up and re-scan whole computer to make sure it clean. So, beware when you check email.

Microsoft Exam 70-480: Programming in HTML5 with JavaScript and CSS3

I passed the Microsoft Exam 70-480 Programming in HTML5 with JavaScript and CSS today. I am so happy. I took this exam for FREE! using this voucher code: HTMLJMP (voucher code available through 3/31/2013 or while supplies last). In the past few months, I spent sometime to learn and using HTML5, CSS3, JavaScript and JQuery . Here are some resources I used to learn: Dive Into HTML5 by Mark Pilgrim with contributions from the community Microsoft Virtual Academy: Developing in HTML5 with JavaScript and CSS3 Jump Start Microsoft Channel 9: HTML5 & CSS3 Fundamentals: Development for Absolute Beginners Microsoft Channel 9: Javascript Fundamentals: Development for Absolute Beginners HTML5 Rocks - A resource for open web HTML5 developers W3.org: HTML5: Edition for Web Authors  Mozilla Developer Network: HTML5 Microsoft:  Internet Explorer 10 Guide for Developers (Windows) CSS Font-Size: em vs. px vs. pt vs. percent | Kyle Schaeffer - Web Design and SharePoint Branding W3Schools.com:  HTML

How to Open the HTML File in Plain Text Mode Using TextEdit

Open the HTML file using TextEdit in Mac/OS will render it in the rich text format by defaut. If you would like to view the HTML tags or edit it by typing your own HTML statements, you need to open it in plain text format. To open in plain text form: Click on Preferences Select the Open and Save Click on 'Ignore rich text commands in HTML files  This is why many developers prefer to use gedit from GNOME as a text editor

Visual Studio 2010 Keyboard Shortcuts

These keyboard shortcuts are helpful. Some of them are not document in Visual Studio 2010 Express, for example: <Ctrl> F5 to run the application without debug <Ctrl> Period or <Ctrl> Space for code completion. <Ctr> <Shift> <B> to build the solution For more download the Visual Studio 2010 Keybinding Posters from Microsoft. Credit:  Visual Studio 2010 Keyboard Shortcuts - ScottGu's Blog DevCurry: 30 Favorite Visual Studio Keyboard Shortcuts

Install Android Development Tools on Ubuntu 12.10 (Quantal Quetzal)

First thing first. Make sure Java Development Kit (JDK) install. Go to Terminal and type 'Java -version' to check. You should see the following: java version "1.7.0_07" OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-1ubuntu1) OpenJDK Server VM (build 23.2-b09, mixed mode) If Java Development Kit is not installed, you can install it from Ubuntu Software Center. Click on Ubuntu Software Center icon from left side bar and search for Java. Here, I selected 'OpenJava JDK 7 runtime' Go to http://www.eclipse.org/downloads/ to download Eclipse Classic 4.2.1 (Juno) Go to your downloads folder and extract it. Move 'eclipse' folder to your home directory. Launch Eclipse 4.2.1 (Juno) from 'eclipse' folder. Install Android Developer Tools (ADT) plugin for Eclipse. Click on Help -> Install New Software and add the URL 'https://dl-ssl.google.com/android/eclipse/' on the input text box next to 'Work with' and click the 'Add

How to upgrade to Ubuntu 12.10 (Quantal Quetzal) from Ubuntu 12.04 LTS (Precise Pangolin)

The latest version of a great Linux distribution, Ubuntu 12.10 code name Quantal Quetzal, release today. You should receive the notification of this new release on Update Manager. If not: Go to Settings on Update Manager and change 'Notify me of a new Ubuntu version' to 'For any new version'' Check again. You will see a notification 'New Ubuntu release 12.10 is available'.  Click the 'Upgrade' button to upgrade to Ubuntu 12.10

Manual Install WordPress on GoDaddy 2G Web Hosting Plan

You may got this message "This application is NOT compatible with any of your hosting plans" when attempt to install WordPress on GoDaddy 2G Web Hosting. If you did not want to upgrade to 4G plan, you can manual install a latest version of WordPress by yourself. Make sure the setting for PHP version is 5.3 in Programming Languages section. Create MySQL database for WordPress from your GoDaddy Web Hosting control panel. Here the database name is same as user. Download the latest stable release of WordPress (Version 3.4.2) here . Unzip the archive, modify wp-config-sample.php as instructed in Famous 5-Minutes Install page. Upload to GoDaddy web hosting. If you experience the Http error 500, check your wp-config.php to make sure the database user name has no @ sign (myusername not myusername@127.0.0.1 for example)

How to restore the Package Explorer in Eclipse?

Click on Windows -> View -> Package Explorer to restore the Package Explorer view on Eclipse IDE.

Windows 8 Preview on VirtualBox

Microsoft Windows 8 Consumer Preview or Enterprise Preview will run perfectly on VirtualBox virtual machine. However, after I installed VirtualBox Guest Additions, Microsoft Windows 8 Preview did not run correctly. I could not open my email client or desktop. So, I wiped out the virtual machine and start over without install Guest Addition.

Silverlight on Ubuntu

Using Firefox browser to download Moonlight plugin from http://go-mono.com/moonlight/  Following instruction to install the plugin and restart browser. Go back to the web page running Silverlight for example http://www.pluralsight.com/training/players/PSODPlayer?author=dan-wahlin&name=webforms-01&mode=live&clip=0&course=aspdotnet-webforms4-intro to install Microsoft Media Pack by right-click on the Silverlight

How to show hidden files in Mac OS X

To show hidden files in Mac OS X: 1. Open terminal 2. Type the following command turn show hidden files: defaults write com.apple.Finder AppleShowAllFiles true 3. Restart the Finder application by this command killall Finder To hide the hidden files, replace the 'true' value with 'false' in command at step 2 above

Upgrade Eclipse IDE and Android SDK

Today, a new version of Eclipse IDE and Android released. Eclipse released Eclipse Juno 4.2. It has a special package for mobile developer. Google released Android 4.1 SDK, codename Jelly Bean. I'm going update my MacBook Pro with these new software. Downloaded Eclipse Juno 4.2 for Mobile Developers , 142 MB. Extracted it to Downloads folder. Removed existing Eclipse (Indigo) folder from Application. Moved new Eclipse folder from Downloads to Application Started Eclipse and re-install Android Development Tools (ADT) On Eclipse Juno 4.2 IDE, select Windows -> Android SDK Manager to update Android SDK Tools to rev. 20 and downloaded Android 4.1 Jelly Bean Create new AVD for Android 4.1 from AVD Manager Re-tested old projects to make sure they ran as expected.

Is Verizon Share Every Thing Plan Good?

Yesterday, Verizon wireless revealed a new plan to allow customers share a pool of data for up to 10 devices. Is the new plan better for a customer with five smartphones? Verizon: Current Verizon: New AT&T T-Mobile Value Monthly $279.95 $250.00 $229.96 $124.98 2 Years $6,718.80 $6,000.00 $5,519.04 $2,999.52 Activation Fee $175.00 $175.00 $180.00 $175.00 Cell Phones $999.95 $999.95 $999.95 $1,999.95 Est. Sales Tax $232.50 $232.50 $213.12 $154.61 Total Cost $8,126.25 $7,407.45 $6,912.11 $5,324.13 Compare with T-Mobile $2,802.11 $2,083.31 $1,587.98 0 Notes: Full retail price for Samsung Galaxy S III 4G 16GB at Verizon Wireless is $599.99, at AT&T Wireless is $549.99 Buy Google Galaxy Nexus $399 to use with T-Mobile Value Plan. Amazon Wireless sells Samsung Galaxy S III 4G Android Phone 16GB (GSM for AT&T and T-Mobile) for $649.99 Conclusion: The new Share Every Thing plan is cost less than the current plan for five smart phones. However, there is 1GB data to share between five

How to fix run-time error: Could not find class 'winterwell.jtwitter.Twitter'

If you follow the Marakana Android Bootcamp Series 2012 Video Tutorials, you may get this run-time error when practice the sample application Yamba-1. 06-03 10:48:43.695: E/dalvikvm(274): Could not find class 'winterwell.jtwitter.Twitter', referenced from method com.marakana.yamba1.StatusActivity.onCreate 06-03 10:48:43.695: W/dalvikvm(274): VFY: unable to resolve new-instance 42 (Lwinterwell/jtwitter/Twitter;) in Lcom/marakana/yamba1/StatusActivity; 06-03 10:48:43.695: D/dalvikvm(274): VFY: replacing opcode 0x22 at 0x0045 06-03 10:48:43.695: D/dalvikvm(274): VFY: dead code 0x0047-0057 in Lcom/marakana/yamba1/StatusActivity;.onCreate (Landroid/os/Bundle;)V 06-03 10:48:43.955: D/dalvikvm(274): GC_EXTERNAL_ALLOC freed 794 objects / 58272 bytes in 127ms 06-03 10:48:44.184: D/AndroidRuntime(274): Shutting down VM 06-03 10:48:44.184: W/dalvikvm(274): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 06-03 10:48:44.194: E/AndroidRuntime(274): FATAL EXCEPTION: main

Android Programming Tutorial Videos

I would like to share some great videos about Android development. Androidology by Android Developers http://www.youtube.com/playlist?list=PLD7C64411AF40DEA5&feature=plcp Marakana: Android Bootcamp Series 2012 Video Tutorials http://marakana.com/s/android_bootcamp_series_2012_video_tutorial,1017/index.html Android Bootcamp Training by Marakana TechTV http://www.youtube.com/ playlist?list= PLE953C0B85B50AB62&feature= plcp Episodes of xtensivearts: Android Video Tutorials & Training http://blip.tv/xtensivearts TheNewBoston - Android Application Development by ChangingTheUnknown http://www.youtube.com/ playlist?list= PL34F010EEF9D45FB8 200 Videos Android Application Development http://thenewboston.org/list. php?cat=6 mybringback Series: Android Basics http://www.mybringback.com/ series/android-basics/ mybringback Series: Android Basics http://www.mybringback.com/ series/android-finishing- touches/

How to Fix Error "The processing instruction target matching ... "

When I imported the example Android application FragmentsBasics into Eclipse IDE, I got this error message: " The processing instruction target matching "[xX][mM][lL]" is not allowed. " Solution: Open the AndroidManifest.xml and other XML files to move this line <?xml version="1.0" encoding="utf-8"?> to the top. The first line of XML file cannot be the comment line.

Is Windows Phone third place?

Few days ago, I read " Windows Phone:  Surprisingly Easy to Develop For " written by Dino Esposito on April 02, 2012 on Dr. Dobb's From a consumer's viewpoint, Windows Phone is firmly the third OS by market share at present, following Android and iOS. Some analysts reckon that Windows Phone may be second only to Android by 2015 in a world with only four major mobile platforms left: Android, Windows Phone, iOS, and BlackBerry. It's not true. According to comScore report on May 1st, 2012 More than 106 million people in the U.S. owned smartphones during the three months ending in March, up 9 percent versus December. Google Android ranked as the top smartphone platform with 51 percent market share (up 3.7 percentage points). Apple’s share of the smartphone market increased 1.1 percentage points to 30.7 percent. RIM ranked third with 12.3 percent share, followed by Microsoft (3.9 percent) and Symbian (1.4 percent). Nielsen reported on May 7, 2012 Android OS 48.5% iO

Claim your free 25GB skydrive now

If you have Hotmail account, you should claim your free 25GB now. Today, Microsoft released the new SkyDrive apps gives you automatic access to your files across PCs, Macs, iPad and mobile. The drawback, Microsoft reduced the free 25GB to 7GB. For existing Skydrive customers, you must claim 25GB now or your account will be reduce to 7GB. Microsoft notified you your SkyDrive free storage is changing. Take action Now, I can keep my free 25GB storage

How to rename multiple files in Ubuntu?

Using the rename command and Perl expression. In the terminal: To rename all upper case file names with extension .JPG to lower case Test first. rename -n 'y/A-Z/a-z/' *.JPG Execute and show the operation. rename -v 'y/A-Z/a-z/' *.JPG To remove all colon character out of of the file name: rename -vn 's/[:]//g' * To remove all non-alphanumeric characters: rename -vn 's/[^A-Za-z0-9._]//g' * For more inforation, type 'man rename'

Compare Family Cell Phone Plans

Buy your own device without contract or a discount cell phone with 2 years contract, which one is better? Let compare three contract plans from big three against T-Mobile Value Plan Bring Your Own Device (BYOD). Assume all five lines in a family account using smart phones as of April 15, 2012 For 4G Android smart phones Verizon Wireless AT&T Wireless Sprint T-Mobile Value Plan Monthly $279.95 (1) $229.96 (2) $239.96 (3) $124.98 (4) 2 Years $6,718.80 $5,519.04 $5,759.04 $2,999.52 Activation Fee $175.00 $180.00 $0.00 (5) $175.00 Cell Phones $999.95 (6) $499.95 (7) $0.00 (8) $2,999.95 (9) Est. Sales Tax $251.87 $174.35 $266.00 $232.50 Total Cost $8,425.57 $6603.3 $6,265.00 $6,299.45 Compare with T-Mobile $2,126.12 $303.85 -$34.45 Notes: (1)Verizon Nationwide Family Share Plan: 700 minutes. Unlimited text. 4GB data per line. (2)AT&T Nation 700 FamilyTalk w/Rollover® Minutes. Unlimited Calling and Messaging to or from any Mobile in the U.S. DataPlus 300MB for Smartphone 4G LTE. (3)S

Google Drive

There is a rumor Google will launch the Google Drive soon. Maybe next week. One said it will have 2GB. Other said it will have 5GB. Another guessed it maybe 7GB. I wonder Google can match up with Microsoft SkyDrive for 25GB of free storage or not?

Unity Launchpad error in Ubuntu 12.04 LTS (Precise Pangolin) Beta 1

In the last couple days, I encountered the Unity Launchpad error in Ubuntu 12.04 LTS (Precise Pangolin) Beta 1. I got the error dialog box displayed, closed it, got a blank screen, nothing there. No launchpad. How I got into the terminal or launched the application? How I fixed it? Launched the keyboard shortcut by pressed these keys together <Ctrl><Alt>T Now in the terminal, I ran these commands: ~$ sudo apt-get update ~$ sudo apt-get upgrade I thought the new updates would fix it. Still no launchpad. I typed this command at the terminal ~$ unity The launchpad launched. Still some glitches. Reboot. Repeated these processes above couple times, it worked.

Hot Computer Languages: PHP, Python, and Ruby

Udemy had this interesting post regarding to these scripting languages. I love to use all three of them :)

Read Error in LibreOffice

If you cannot open the LibreOffice document due to read error as the picture below Un-install LibreOffice version 3.4 and install LibreOffice 3.5 will solve the problem. I got this problem when saved a file in LibreOffice 3.5 in Mac and attemped to open it in Ubuntu.

Ruby and Ruby on Rails Resources

Ruby Programming Language is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Ruby was first designed and developed by Yukihiro Matsumoto (a.k.a. Matz), a Japanese computer scientist and software programmer, in the mid-1990s in Japan. Ruby on Rails (RoR) is an open-source web framework using Ruby programming language. Ruby on Rails released as open source by David Heinemeier Hansson, Danish programmer, in July 2004. Like many web frameworks, Ruby on Rails uses a variant of the Model/View/Controller (MVC) architecture pattern to organize application programming. As of March, 2012, there are more than 200,000 sites using Ruby on Rails per BuiltWith.com Programming Ruby : The Pragmatic Programmer's Guide Ruby in Twenty Minutes Coursera.org: Software Engineering for Software as a Service Stanford Open Class Room: Web Application RubyGems.org is the Ruby community's gem hos

Automatically Show and Hide Dock Bar on MacBook Pro

By default, the dock bar always show on MacBook Pro. It consume a lot of space on screen. To make it automatically hide and show: 1. Right click the middle space between icon, go to dock preferences. 2. Check automatically hide and show the Dock or Click on the Apple icon on the top left screen to access Dock preferences or really quick: Press <option><command><command>D keys at the same time to turn on/off the automatically hide and show the Dock

How to Open Two Excel Files Side by Side in Two Monitors?

The best solution is using LibreOffice. With LibreOffice Calc, you can open one Excel spreadsheet in one monitor and another speadsheet in other monitor to compare, view or edit. Change the configuration in Excel 2007 or 2010 is another solution by check the check box 'Ignore other application that use Dynamic Data Exchange'. You may encounter with the run-time error when you attempt to close or open again. References: http://www.lytebyte.com/2008/05/13/how-to-open-two-excel-files-side-by-side-in-separate-monitors http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/6ba32569-19a0-4b45-806f-9a42258bdb5f

Troubleshoot Internet Connection

Make sure you can connect to your router by ping to your router IP (for example: 192.168.1.1) from command line (Windows) or terminal (Mac or Linux) or access to the router web page using the browser. If you cannot ping or see the router web page, check your network configuration on your computer. Are you using the wireless? If yes, connect the CAT 5 Ethernet cable connect to your computer. Is the wired connection working? If yes, your wireless has issue. If the wired connection is not working, is other computer in your home, your office or your LAN can access to the Internet? If just only your computer, check your network configuration. If all computers in your LAN could not access to the Internet, power down both the router and cable modem. Wait for 15 seconds, and turn them on. If you still not connect, check to see there is outage in your area. If not, verify your router is working. To verify your router is in good condition, hook up another spare router or your computer directly

Delete Facebook Message

How many clicks to use to delete a Facebook message? 1. Click on Action 2. Click on Delete Message 3. Click on Delete All button 4. Click on Delete Conversation button and to delete a regular email: one click. Which one is easy?