Build or Compile Linphone from Source for iPhone and iPad

Posted: March 30th, 2013 | Author: | Filed under: iphone | 27 Comments »

Updated for Mountain Lion, XCode4.5, and linphone 2.0.2: 03/29/13

To build Linphone for iPhone and iPad

Read the rest of this entry »


How to import an ant project to Eclipse Juno

Posted: January 20th, 2013 | Author: | Filed under: Uncategorized | 2 Comments »

Latest Update: 01/19/13

Eclipse Version: Juno

To import an existing Ant Project, select New->Other

 

Select Java Project from Existing Ant Buildfile and hit “Next”

 

 

 


Add multilanguage support to Joomla site

Posted: September 2nd, 2012 | Author: | Filed under: web | Tags: , | No Comments »

Recently I’ve added multilanguage support to my Joomla site (Shall We Learn)

 

I was able to do so by following the following two resources:

1. Step-by-step documentation from Gavic Pro

http://www.gavick.com/documentation/questions/configuration-multilanguage-site-with-joomla-1-7/

2. Tutorial from Joomla YouTube Channel


My iOS Development Learning Plan

Posted: September 1st, 2012 | Author: | Filed under: iphone | No Comments »

Since our family of four has slowly become an iFamily (two Mac Book, one Mac Book Air, one 21-inch iMac, two iPads, three iPhones, and one iPod), figure it is time that I should seriously consider learning how to develop iOS app. My thinking is that, even if I can’t make much off the App Store, at least I can make apps that our family and friends can use. And maybe one day, I could quit my day job and do iOS app development for a living, but that is for much much much later.

Here are what I would need

  • To just develop using the simulator (comes with XCode)

Get a Mac (if you do not have any Mac, you could consider getting a MacMini which is affordable). Or if you do not want to buy or can not afford a Mac at this time, check out this instruction on how to Run Mac on Windows

Upgrade the OS to Mountain Lion

Download and install XCode 4.4 and up from App Store

  • To test on a real device and to put app on the Apple Store

Sign up for the iOS Development program

Apple charges $99 for individual license and $99 for the company/team/organization license. If you would like to apply for your company, you need to provide documents to prove your affiliation with the company.

 

I have started and planned to continue following these steps:

Read the rest of this entry »


Use alternatives utility to update JDK

Posted: October 8th, 2011 | Author: | Filed under: java | 2 Comments »

At the prompt, type

sudo update-alternatives --config java

The current available java installs would be displayed

Selection    Command
———————————————–
*  1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java

To get out of the prompt without make changes, hit Ctrl+C

To add a new jdk, I downloaded the jdk-6u-linux-i586.bin from the Oracle Java site. Unzip it

chmod 755 jdk-6u27-linux-i586.bin
./jdk-6u27-linux-i586.bin

It unzip it to a directory jdk1.6.0_27. I moved it to /usr/lib/jvm,

mv jdk1.6.0_27 /usr/lib/jvm

Then install the jdk1.6.0_27 as a Java alternative. The number 3 is for the priority.

update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_27/bin/java 3

Now if you do “update-alternatives –config java” again, you would see jdk1.6.0_27 got added as a new alternative. Type 3 and hit Enter to select.

Selection    Command
———————————————–
+ 1           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
3           /usr/lib/jvm/jdk1.6.0_27/bin/java
Enter to keep the current selection[+], or type selection number: 3

Test by typing “java -version”

[root@VM1 ~ ]# java -version
java version “1.6.0_27″
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode, sharing)

 


Test publishing with Google Docs

Posted: June 13th, 2011 | Author: | Filed under: Uncategorized | 1 Comment »

I’ve been searching for easy ways to post rich content and so far Google Docs is the easiest way for me. The workflow is to update images to a designated album on Picasa, and insert those the images from the album to Google Docs.

For users that could not access Google Docs, the document can be downloaded as PDF and

If you can’t view Google Doc, view this PDF file test


Control Windows with Windows PowerShell and WASP

Posted: March 17th, 2011 | Author: | Filed under: Uncategorized | 8 Comments »

Step 1: Install PowerShell
PowerShell 2.0 is included in Windows 7. If running any prior version, download and install Windows Management Framework Core from Microsoft support site http://support.microsoft.com/kb/968929

Step 2: Download Windows Automation Snapin for PowerShell at http://wasp.codeplex.com/ And Unzip WASP.zip to a Directory

Step 3: Change PowerShell Execution Policy
Go to Start->”Programs”->”Accessories”->”Windows PowerShell” Or just type “powershell” at the Run prompt.

Get the current execution policy:

 

To be able to run all scripts, including the unsigned ones (take your own risk!), change the PowerShellexecution policy from the default “Restricted” to “Unrestricted”.
To check the current execution policy, type

get-executionpolicy

at the PowerShell prompt.

To change the execution policy to “Unrestricted”, type

set-executionpolicy Unrestricted

Then do get-executionpolicy again to check that the policy has been changed

You may also read more on script signing by typing “get-help about_signing”.

Step 4: Start Windows PowerShell editor by “Start”->”Programs”-> “Accessories” ->”Windows PowerShell ISE”

Type the following text to the “Untitle1.ps1”.

Import-Module C:/install/WASP/wasp.dll

Select-Window | ft -auto

Then test it by clicking the “Run Script” button.

 


Highlight Code Syntax in WordPress Tips

Posted: January 26th, 2011 | Author: | Filed under: web | 14 Comments »

To high-light the syntax in WordPress, install WP-Syntax and wrap code blocks with<pre lang="LANGUAGE" line="1"> and</pre>, where LANGUAGE is

Read the rest of this entry »


Set up Net-SNMP Agent on Windows

Posted: May 19th, 2010 | Author: | Filed under: networking | 5 Comments »

This article shows you how to turn your Windows box into an SNMP-enabled host, using Net-SNMP. Read the rest of this entry »


Capturing Internal Traffic with Virtual Loopback & Wireshark on XP

Posted: May 18th, 2010 | Author: | Filed under: networking | 1 Comment »

Create Loopback Interface on Windows XP

  1. Select “Start”->“Settings”->”Control Panel”

C:\dev\wireshark\images\Image-0000.png  C:\dev\wireshark\images\Image-0000.png

Read the rest of this entry »