gerardlee

creative outpost and online portfolio

Jailbreak iPhone 3GS 3.1.2 February 7, 2010

Filed under: personal — gerarldlee @ 10:32 PM
Tags:
**Don’t update your firmware to 3.1.3, it cannot be jailbreak as of the moment.
Core ToDo’s for Jailbreaking iPhone 3GS 3.1.2 using Blackra1n:
  • Install Blackra1n
  • Install Cydia
  • Install AppSync
  • Install installd
  • Install install0us
    • Add source for sinfuliphonerepo
    • Add source for install0us

Additional softwares that you might like:

  • SBSettings
  • categories
  • Emoji
  • OpenSSH

Productivity softwares that I used:

  • Pocket Informant
  • awesomeNotes
  • GoodReader
  • Streaks
  • Evernote
  • QuickOffice
  • iXpenseIt
  • Jobs
  • Gas Cubby
  • reQall

Utilities:

  • Dictionary
  • Tap & Track
  • iFitness
  • m48
  • iFreeMind
  • iOwn
  • 1Password
  • AirSharing
  • Terminal
  • iFile
  • RedLaser
  • Touch Bible
  • Starbucks
  • Drinks Free
  • Barista
  • Mixology

Online:

  • TweetDeck
  • Assistant
  • DailyFinance
  • Skype
  • Fring
  • YM
  • MobileRSS
  • TED
  • Engadget
  • BeejiveIM
  • Facebook
  • LinkedIn
  • Google Earth
  • Travel Tracker Pro
  • Siri
  • Paypal
  • Shazam Encore
  • Style
  • iTrade
  • Trade Analysis
  • Wall Street Journal
  • Bloomberg
  • CitiFX
 

Getting things done February 7, 2010

Filed under: personal — gerarldlee @ 9:49 PM
Tags: ,

Havent updated in a while. Too much busy with work and stuffs. And too much busy organizing myself.  Here’s something that I rely on. Getting things done by David Allen might also help you deal with how to organize, set goals, and execute them lighting fast.

If you have an iPhone, you can use the OmniFocus, or the Things.  My favorite would be the Pocket Informant as it is an integration between Calendar (Events / Appointments) and Tasks (Getting things done / Franklin Covey).

For Palm based and Pocket PC based, I used Agendus before. (My first PDA was Palm based, Sony CLIE and Palm TX, and Pocket PC was HTC TyTN II – however I lost them all over the years)

A more detailed picture of the above:

Some resource:

http://www.getrichslowly.org/blog/2006/11/06/getting-things-done-how-to-take-control-of-life/

 

Part II: Running Adempiere on IntelliJ IDEA January 4, 2010

Filed under: adempiere, biz — gerarldlee @ 12:23 PM
Tags: , , , , , , , ,

Part II: Running Adempiere on IntelliJ IDEA

This part is a continuation of the first part which is creating projects up to compiling Adempiere in IntelliJ IDEA.  Part 1: Adempiere on IDEA here. Running Adempiere is even easier that the previous part.

In the first part, we have built the Adempiere with the IntelliJ IDEA’s own build tool.  Now, we will build Adempiere to package and prepare it for running inside an Application Server.   We will use Glassfish as an Application Server.

The build.xml

The build.xml is an Ant build script necessary for preparing, compiling and packaging Adempiere.  Adempiere guys created it for this purpose.   I am writing an upgrade to the Ant build script to use a Maven build script for Adempiere.

The default target of build.xml (found in utils_dev\build.xml) is the complete target.  The complete target creates all jar, dependencies, and everything else.  End output is the installable Adempiere zip file.

  1. Click to open the Ant Build tool window in IntelliJ IDEA
  2. Click the “+” button to add the build.xml
  3. Find the utils_dev\build.xml
  4. Click OK to add.
  5. You will see an “adempiere” in the ant build tool window
  6. Open it and double click the “complete” target to execute.

Figure 9

The result of building should be like this and no error would occur.  If there is for example a delete error, just re-run the complete target.

Figure 10

Running Adempiere Setup

  1. Inside the trunk directory, double click on Adempiere subdirectory
  2. Click RUN_Setup.bat
  3. Once done, you can now double click on the RUN_Adempiere.bat

References:

I have used http://blogs.sun.com/praneet/entry/adempiere_in_netbeans_part_2 for the layout and organization.

 

Part I: Adempiere in IntelliJ IDEA January 4, 2010

Filed under: adempiere, biz — gerarldlee @ 12:21 PM
Tags: , , , , , , ,

Adempiere in IntelliJ IDEA

Part I: Creating Adempiere project in IntelliJ IDEA

I am an IntelliJ IDEA fanatic since its version 5.  It eases all my development efforts especially its shortcut keys in its Editor and the Code refactorings as well as Inspection tool which generally guides me to avoid things that I overlooked.  This is the part 1 and click here for the part 2: running adempiere in idea.

Pre requisites

You need to have the following running on your system no matter what OS you use:

  1. JDK 1.6 – You can download this from the Sun website. http://java.sun.com
  2. IntelliJ IDEA 9 Ultimate – You can download trial version of this from http://www.jetbrains.com
  3. Subversion Client – http://subversion.tigris.org

You need to do the following:

  1. Install IntelliJ IDEA 9, JDK 1.6 and the Subversion Client.
  2. Set JAVA_HOME environment variable to point to your JDK 1.6 installation directory.
    1. For Windows:
      1. i.      JAVA_HOME = C:\Program Files\Java\jdk1.6.0_16
      2. Set the PATH environment variable to have JAVA_HOME and Subversion installation directory exist
        1. For Windows:
          1. i.      PATH = %PATH%;%JAVA_HOME%\bin; C:\Program Files\Subversion\bin;

Getting the Adempiere Source from the Online repository (sourceforge.net)

Repository location: https://adempiere.svn.sourceforge.net/svnroot/adempiere/trunk

  1. Open the IntelliJ IDEA
  2. Once open, Click the Version Control menu and navigate to checkout from version control.
  3. Click the Subversion
    1. Click the “+” symbol and add the repository above.  It will show you figure 1 below.

Figure 1

  1. Once the repository has been loaded, right click it and click on Checkout
  2. Now, select the directory upon which you want to store the Adempiere trunk source.
    1. i.      In my case it’s in C:\workspace\adempiere\trunk

Making an IntelliJ IDEA Project

Adempiere by default does not have an IntelliJ IDEA project setting.  It does have however, a .classpath and .project which makes it an Eclipse project and nbproject which makes it a Netbeans project.

  1. In the main display of IntelliJ IDEA, Click on Create New Project
  2. Once the New project dialog appears, click the Import project from external model (because we will base it on the already defined eclipse project) as shown below Figure 2.

Figure 2

  1. Click Next and Select “Eclipse”
  2. Now, select the trunk directory and check the “Link created IntelliJ IDEA modules to Eclipse project files”.  Do not change the default which is “Create module files near .classpath files” and “.idea (directory based)” project file format.  Image shown below Figure 3.

Figure 3

  1. Click Next
  2. Check the adempiereTrunk and Click the Finish button.
  3. If the Subversion asks you about adding the newly created files to the repository, click No.

Now as an end result, there will be one project module present “adempiereTrunk”.  When you view its module settings, all sources locate each directory.  We will call it the parent project.  We will proceed with the creation of the child projects.

Making the Child projects

Make the child modules in the adempiereTrunk parent folder by doing the following steps:

  1. Right click the adempiereTrunk in the Project tool window
  2. Click the New à Module

Figure 4

  1. In the New Module dialog box, select the Import module from external model
  2. Click Next and Select Eclipse as external model
  3. Click Next
  4. Find the module you want to import
  5. Check the Link created IntelliJ IDEA modules to Eclipse project files
  6. Check also the Create module files near .classpath files

Figure 5

  1. Click Next
  2. Select the Eclipse project you want to import as module
  3. Click Finish.

In the end, your Project tool window might look like the above image in Figure 4.

Import the modules in this order to minimize errors of dependency.  Although this should not be a problem since IntelliJ will still treat correct dependency even if you imported the dependent module ahead of the depended module:

  1. lib
  2. tools
  3. serverApps
  4. JasperReportTools
  5. Base
  6. Client
  7. Data
  8. JasperReports
  9. JasperReportsWebApp
  10. Db
  11. Extend
  12. Jboss
  13. serverRoot
  14. install
  15. sqlj
  16. webStore
  17. doc
  18. looks
  19. interfaces
  20. launch
  21. migration
  22. packages
  23. posterita
  24. utils
  25. utils_dev
  26. webCM
  27. zkwebui
  28. glassfishfacet
  29. jbossfacet

Once you’ve successfully imported all projects as a module in IntelliJ IDEA, you can now click the Rebuild Project under the Build menu.   If there are errors in JasperReportsWebApp, follow instructions below.

Resolving error in JasperReportsWebApp

  1. Right click the JasperReportsWebApp
  2. Click on the Module Settings
  3. Click the Dependencies tab
  4. Click Add à Module Dependencies
  5. Find and add the “base”, then click OK
  6. Click Add à Single Entry Module Library
  7. You will be asked for the Path of the jars, enter the tools\lib folder i.e. C:\workspace\adempiere\trunk\tools\lib\
  8. Select all the jars under the folder as shown below then click OK

Figure 6

  1. Once done, you will end up like this as shown below.  Click OK button when finished.

Figure 7

Compiling Adempiere in IntelliJ IDEA

All else successful in the above configuration, we can now compile Adempiere project.

  1. Click the Build menu
  2. Click Rebuild Project

This will show a successful compilation as shown below.  No errors would be found, only warnings.

Figure 8

If you wanted to go back to Eclipse as an IDE; it should have no problems since the classpath is already linked with both IDE’s.  In Eclipse, select all and then press F5 to refresh.  Click Clean and rebuild.  It should have nil errors.

 

Process terminated with exit code 3 December 31, 2009

Filed under: tech, work — gerarldlee @ 2:15 PM
Tags: , , , , ,

When you get this error when compiling using your favorite IDE, you may want to increase the heap size of the Java compiler.

My settings were: -Xmx1024m -Xms512m -XX:MaxPermSize=256m

Hope this helps

 

Disable Windows Autoplay feature to stop viruses from spreading December 20, 2009

Filed under: tech — gerarldlee @ 1:00 PM
Tags: , , , ,

Normally the autoplay feature of Windows can help spread unwanted viruses from one drive (e.g. USB) to another system.

Here’s how to disable the autoplay feature:

  1. Go to the Start –> Run
  2. Type in gpedit.msc (group policy editor for windows)
  3. Go to the Computer Configuration –> Administrative Templates –> System
  4. Find the “Turn off Autoplay”
  5. Double click it and click the “Enable”
  6. Select “All-drives” instead of “CD-ROM drives”
  7. Click okay and youre good to go.
 

Configure Pidgin for GoogleTalk in Proxy December 13, 2009

Filed under: gizmo, tech, work — gerarldlee @ 2:36 PM
Tags: , , , , , , ,

Here’s how to configure GoogleTalk in Pidgin under a proxy server:

  1. Open Pidgin and go to Add / Edit Account window of Pidgin.
  2. From the drop-down box choose XMPP as the Protocol.
  3. For the Screen name enter your Google Id (Gmail Id without the @gmail.com). 
  4. For Server enter gmail.com

  • You can leave the Resource with the default “Home“.
  • In the Password field enter your Google ID password.
  • Enter Local alias as whatever you want to.
  1. In the Advanced tab, check Require SSL/TLS
  2. Force old SSL unchecked, and Allow plaintext auth unchecked
  3. Connect port: 5222
  4. File transfer proxies: proxy.jabber.org
  5. Select the desired proxy protocol. e.g. HTTP
  6. Enter the proxy domain host. e.g. proxy.accenture.com
  7. Enter the proxy port. e.g. 80 or 8080
  8. If your proxy requires an authentication, enter proxy username and password.

Troubleshooting errors reported:

  • HTTP proxy connection error 407
    • Means the proxy requires an authentication.  Just enter your proxy username and password.
  • HTTP proxy connection error 504
    • Means there’s a connection timeout.
    • Alternatively use this settings:
    • Require SSL/TLS: Unchecked
      Force old (port 5223) SSL: Checked
      Allow plaintext auth over unencrypted streams: Un-Checked
      Connect Port: 443
      Connect Server: talk.google.com
      Proxy type: Use Global Proxy Settings

Hope this helps!

 

Daily snapshot of work December 4, 2009

Filed under: work — gerarldlee @ 5:24 PM
Tags:

 

MIDI mapping Xone 1D to traktor pro December 4, 2009

Filed under: music — gerarldlee @ 2:26 PM
Tags: , , ,

Hi guys

Got a problem in mapping midi from xone 1d to traktor pro?  Hope this can be of help.

Found this on youtube:

Fortunately for Behringer BCD3000 guys out there (I’ve done some research with BCD3000 before I did on Xone 1D).  Here’s the step by step link with graphics.

I will upload my settings after I set up my Xone 1D in a while.  Hopefully I can attach some graphics to it for better sampling. =)

 

Started Maven-nizing Adempiere December 4, 2009

Filed under: adempiere — gerarldlee @ 11:39 AM
Tags: ,

I started maven-nizing adempiere, only to find out that the directory structure was bad.  Here’s the list of todo’s that I will have to take.

  • Mavennize
    • Restructure directory
  • Change the site
    • coordinate with jairah with this.
    • Determine whats best?
      - to use maven as the documentation tool
      - to follow and organize wiki