Tag Archives: Java

Apache Ivy – Publish to Artifactory

Previously we have talked about how to work with Apache Ivy and Artifactory.

 

The next thing i would like to share is to publish your built .jar file to Artifactory.

1. Login to Artifactory web portal and create a new repository, click on the Admin tab and select Repository on the left menu side bar.
Continue reading Apache Ivy – Publish to Artifactory

Apache Ivy – Integrate with Artifactory

Like Maven, we could setup a repository server for better dependency management. So instead of connecting to the public repository, we want our Apache Ivy project links to our repository server, i have already setup the Artifactory repository server in my local machine. Let’s continue with the project we created yesterday.

 

1. Add the ivysettings.xml location in the build.xml.
Continue reading Apache Ivy – Integrate with Artifactory

Jenkins – Setup a simple Ant build project

Jenkins, previously named as Hudson, is a continuous integration tool just like CruiseControl. It has been almost 4 years since i started learning Maven which made me fall in love about best practice. Deployment and testing automation is really fun and finally i got a chance to play it again.

In this article, i would show you how to setup a simple Ant build project in Jenkins. Before we start, please refer to the simple Java project example in the post below.

 

1. Download and install Jenkins.
Continue reading Jenkins – Setup a simple Ant build project

Composer – Manage your PHP dependencies

Mess up with the PHP dependencies in different environments? Composer is a PHP dependency manager where all the dependencies information are stored in the JSON file called composer.json. Similar to the pom.xml if you are using Maven in Java.

This example is done on a Windows machine. You could refer to Composer website if you are using Mac or Linux.

1. Download and install the Composer as stated in the Composer website.
Continue reading Composer – Manage your PHP dependencies

成立香港有限公司 @ 2

起初我想親身到位於金鐘的公司註冊處填寫及遞交申請文件,原因是我對於註冊的過程不太清楚,所以希望在那裡直接完成所有手續,誰知道詢問處的職員說現在所有申請都必須在網上進行,所以只逗留了數分鐘便離開。

在網上成立有限公司,第一步就是要登記一個註冊易用戶。
註冊易網站
Continue reading 成立香港有限公司 @ 2

DumpCamp – Introduction to New Relic


In the 2nd DumpCamp meeting, Ronnie showed us a SAAS service called New Relic which provides Application Performance Management solution mainly for web applications and servers. It’s capabilities include but not limit to:
 

  • Performance analytics on Ruby, Rails, PHP, Java, .Net, Python applications
  • Real User Monitoring
  • Server Monitoring
  • SQL/NoSQL Performance Monitoring
  • Web Application Transaction Tracing

The Lite account is free and i tried it today. The setup is easy and straight forward. Just register an account online with some configurations on your web server through SSH. Then you could views your server and web application performance online.
Continue reading DumpCamp – Introduction to New Relic

2011 – Bali Journey Review @ 1

This slideshow requires JavaScript.

峇里島印尼群島一萬七千多個島嶼中的其中一個小島,是著名的衝浪勝地,除此之外,峇里島亦擁有相當濃厚的歷史與文化,島上不乏歷史悠久的廟宇王宮

大約在公元前2000年就已經有南島語族(Austronesian)在峇里島生活,根據Wikipedia這些南島語族是從台灣遷移到東南亞一帶。南島語族所覆蓋的地方西至非洲馬達加斯加(Madagascar),南至紐西蘭(New Zealand),東至夏威夷(Hawaii)。

峇里島的文化一直受印度中國的影響,特別是印度教(Hindu),大約由九世紀便有文字紀錄印度商人將印度教傳入印尼群島。所以現在島民有超過成九成人都信奉印度教,有半成是回教徒,其餘的還有天主教佛教
Continue reading 2011 – Bali Journey Review @ 1

Run WhatsApp on Android SDK without a phone

Update @ 2013-8-25: You can consider Whatsapp Plus as suggested by harish.

Update @ 2012-11-13: Anyone could confirm the following solution work or not?

WhatsApp requires a SIM-Card. I know from various xda-developers discussions, that it’s easier to do a backup from whatsapp on your phone with titanium backup, and then restore it inside your VM. But, the message database is local and messages are not synced across identical accounts.

Reference: CrazyEngineers – Unable to Install Whatsapp on ubuntu; help!!!

Update @ 2012-9-23: This maybe a temporary workaround but only for people who already running whatsapp with his device.
WhatsApp Web Client

Update @ 2012-08-07: I have tried on both BlueStacks and Android emulator. Both of them have connection problem. Seems the Whatsapp server somehow blocked the verification. Currently seems no way to run Whatsapp on PC. =.=

Would that be a proxy problem? Anyone could complete the verification?

 

Since i dun have a smart phone~ My friend Simon blames me as he can’t reach me with WhatsApp. So he sent me a Taiwan blog post about using WhatsApp in PC and now i translate the steps in English.

1. Download and install the Java SDK. (Download Java 7)

2. Download the Android SDK @ Android Developer

3. Extract the Android SDK and run the SDK Manager.exe
Continue reading Run WhatsApp on Android SDK without a phone