Friday, December 10, 2010

Screen Capture Apanda A60 Android Phone

 

Just recently I was tasked to document various Language Learning applications in iOS, Android, Web-based and Windows/Mac platforms. It was very exciting and challenging doing the Android stuff. Since my machine is running Windows 7, I got to learn the following:

  • In order to perform screen capture with Apanda A60 Android phone I have to install the Android SDK on my machine
  • In order to install the Android SDK I have to install Java (SE) JDK.
  • When the above tasks have been accomplished, I have to run ddms.bat (Dalvik Debug Monitor) located at C:\Program Files\Android\android-sdk-windows\tools
  • But wait!!! There’s this final tweaking in the Environment Variables of Windows 7, specifically the PATH definition. I have to add the path to adb.exe which is C:\Program Files\Android\android-sdk-windows\platform-tools

That last item took me sometime to figure out. ha!ha!ha!

device

Thank God I can now move one with my deliverables. Smile

Tuesday, November 9, 2010

What is the Name of your Machine in the Network?

 

Scenario

     You: The use case documents are in my shared folder.

     Colleague: What's your computer's name?

     You: ??????????????

 

Solution

Run the command line console.

hostname-1

Type 'hostname'.

hostname-2

 

Simple eh?

Monday, September 6, 2010

How to Install SQL Server Management Studio 2008 Express Edition

Frustrating as it is, SQL Server Management Studio 2008 Express is NOT part of the "normal" SQL Server 2008 express installation.

How then it could get installed?
Download SQLManagementStudio_x86_ENU.exe here http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b

Run it and wait until the below is displayed


Select the "New SQL Server stand-alone installation..." link option. Follow the usual installtion but upon reaching the below dialog box, select the "Perform a new isntallation of SQL Server 2008" option.


When you reach the "Feature Selection" dialog, check the "Management Tools - Basic" option.


Continue the installation process and once complete SQL Server Management Studio will be foound in your Program Files list.



Simple eh?

Tuesday, August 17, 2010

How to Configure Virtual Hosts with Apache using XAMPP

If you are using XAMPP (in Windows box), the easiest way to add a new website is to create a folder at /xampp/htdocs/ and place all your PHP or HTML files there.

But, I want to make use of the existing codes stored at some other folder in my machine!

Have no worries! Simply follow these steps:

STEP 1: Open httpd-vhosts.conf found at /xampp/apache/conf/extra/.

STEP 2: Append the following lines

# My New Website
Listen *:9000
<VirtualHost *:9000>
ServerName localhost:9000
DocumentRoot "D:/path/to/your/existing/code"

<Directory "D:/path/to/your/existing/code">
   AllowOverride All
   Options +Indexes
   DirectoryIndex index.php index.html
   Order allow,deny
   Allow from all
</Directory>

ErrorLog logs/error.log
CustomLog logs/access.log common
</VirtualHost>


STEP 3: Save the file.

STEP 4: Restart Apache.

STEP 5: Navigate http://localhost:9000/ and your website should show up! Voila!

NOTES:

(1) 9000 is just some port number, you may use your preferred port number.
(2) the forward slash (/) to indicate path is necessary.

Thursday, August 5, 2010

PostgreSQL for Windows Installation Procedure

Postgresql is a free database management system which can be downloaded by Windows users here: http://www.postgresql.org/download/windows

The following are snapshots during my installation:









At this point Postgresql is installed, however, there are a set of tools which are of interest. Thus, i kept the check box ticked before hitting Finish button.

I chose to install MySQL Migration Wizard, Tuning Wizard for PostgreSQL, and phpPgAdmin.






As a means to monitor usage of the product, the creators are requiring each user to register before the tools can be download, installed and enjoyed.



After providing your information, a confirmation email is sent. Registration is complete when the confirmation URL is visited.



To commence download of the tools, the registered email address and password are being asked.












Finally, were down to the last screen. Hit Finish button to terminate the PostgreSQL installation process.

Thursday, July 29, 2010

Block Displaying of Images in Firefox and Internet Explorer

Problem: Your internet connection is quite slow and the website you are visiting contains a considerable number of images. You are more interested with the content rather than the images. How can you configure your Firefox or Internet Explorer to NOT display images as you visit the website?

Solution (Firefox):
- hover the mouse on an image and right click on it.
- select "Block Images from " option.


NOTE: Firefox will automatically apply the setting... but it will display a notification and an Undo button.


Solution (Internet Explorer):
- Navigate Tools > Internet Options

- In the Advanced tab, locate Show pictures option under Multimedia. Un-check it then click OK button.

Monday, July 5, 2010

#1045 - Access denied for user 'root@localhost' (using password: YES)

Problem:

When you installed XAMPP and tried to access MySQL via phpMyAdmin you would encounter something like this



#1045 - Access denied for user 'root@localhost' (using password: YES)

Connection for control user as defined in configuration failed.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Solution:

Navigate http://localhost/security/xamppsecurity.php and provide the 'root' password.

Sunday, April 11, 2010

Linux Discoveries #1: Obtaining Information of Installed Packages


Problem:
What is the version of the installed PHP or PostgreSQL?


Solution: Remotely log on into the server and execute yum info PHP or yum info postgresql.


Thursday, March 11, 2010

MS Excel PS #2: Insert a Carriage Return/Line Feed in a Cell


Problem:
In an Excel Sheet cell you are typing a two paragraph text but when you hit enter key to supposedly continue encoding the next paragraph the cursor instead went to the next cell.

Solution: Use Alt+Enter. Simple, eh?

Monday, March 1, 2010

DNS Resolver Cache


Problem:
Our Firewall was having issues and our network guys applied some fix. Now, when I try to access our subversion server I'm receiving a 'cannot resolve host name' error message.

Solution: Fire up the command prompt and execute ipconfig /flushdns. Simple, eh?


Thursday, February 11, 2010

PM Point #1


Overtime is never one of the first options in Project Management.

Sunday, January 24, 2010

WAMP Discoveries #1


Problem: Have you ever encountered Internal Server Error at WAMP? The last statement really has something to say. The server error log can be found at wamp\logs folder with apache_error.log filename. At the end of the file content you can find the latest server error entry, similar to the following:


For this particular case, there was an invalid command 'RewriteEngine' found at .htaccess file.

Solution:

Locate the httpd.conf file. With WAMP it is located at wamp\bin\apache\Apache2.2.11\conf folder.

Using your favorite text editor, locate the line

  • #LoadModule rewrite_module modules/mod_rewrite.so

Remove the # symbol in the beginning of this line and Save the file.

Restart the All Services of the WAMP server.


That's about it.

Thursday, January 7, 2010

Internet Explorer Discoveries #1

Problem: When I'm accessing a website with a login box, the Internet Explorer (IE) browser is asking me:


We can turn it off right there and then by ticking the checkbox "Don't offer to remember any more passwords". However, how do you turn it on later?


Solution: Navigate Tools > Internet Options.


In the Internet Options Dialog, open the Content tab, and click on the Settings button in the AutoComplete section


In the AutoComplete Settings Dialog tick the checkbox "Prompt me to save passwords". Hit OK button to save the settings.