Sabtu, 28 Juni 2008

How to install glassfish

https://glassfish.dev.java.net/downloads/v2ur1-b09d.html

Kamis, 26 Juni 2008

maven + eclipse + automated nested clean, compile, etc

For ones who want to make projects based on maven and eclipse, maybe this will help you with nested pom.xml and its automation in eclipse (not automatic enough, but well enough).

maven.apache.org/guides/mini/guide-ide-eclipse.html

Selasa, 24 Juni 2008

JTA + Glassfish

Bagi yg bingung2 mencari settingan glassfish supaya dapat memakai JDBC -nya, silakan lihat tutorial bergambar berikut ini :

http://blogs.sun.com/JagadishPrasath/entry/creating_jdbc_connection_pool_resource

Sabtu, 14 Juni 2008

bantai isi harddisk

Apabila harddisk anda bermasalah, daripada anda pusing2, saya sarankan :
1. backup isi harddisk anda
2. bantai seluruh isi harddisk (wipe)

Linux menyediakan cara untuk melakukannya. Cara membantai seluruh isi harddisk anda :
1. boot dari cd
2. masukkan perintah : dd if=/dev/zero of=/dev/hda

Anda akan merasa kosong dan bahagia.

Senin, 09 Juni 2008

Maven 2 has a plugin that will generate all our Eclipse configuration

mvn -Dwtpversion=1.0 -DdownloadSources=true eclipse:eclipse

Cara lebih mudah maven2 + struts2 dll

download :
http://archy.googlecode.com/files/archy-0.1.jar

baca :
http://code.google.com/p/archy/

create a new maven project using the archetype plugin

mvn archetype:create -DgroupId=guide.ide.eclipse -DartifactId=guide-ide-eclipse

Mulai Belajar Eclipse + Maven

Langkah pertama,

Eclipse needs to know the path to the local maven repository. Therefore the classpath variable M2_REPO has to be set. Execute the following command:

mvn -Declipse.workspace= eclipse:add-maven-repo

start oracle-xe manual

Bila oracle-xe anda harus dijalankan secara manual gunakan perintah berikut:

/etc/init.d/oracle-xe start

Jumat, 06 Juni 2008

Menjalankan dynamic ip di slackware

Just run /sbin/dhclient or whichever client you use to get a dynamic IPaddress.

Kamis, 05 Juni 2008

Tips untuk menjalankan program unix di background

Anda pernah merasa sedih karena console di linux memenuhi layar anda. Solusinya adalah istilah di linux yang bernama background process. Dengan ini, anda hanya perlu membuka satu console, process yang anda lakukan bisa dipindahkan ke foreground atau background sesuka anda.

Caranya :
- tambahkan & di belakang nama program yang dipanggil. Contoh : wget&
- ps : perintah untuk melihat process yang sedang berjalan beserta pid-nya
- kill : perintah untuk menutup process secara paksa. Contohnya bila pid dari wget adalah 511 : kill 511

Install package at slackware

You can install compiled interesting packaged application at Slackware. This is how you play movie, even *.flv files which you downloaded from youtube.
  1. download the package from http://www.videolan.org/vlc/download-slackware.html
  2. type "installpkg vlc-0.8.5-i686-3.tgz"
  3. type "vlc"
  4. enjoy

Find column name at your database

To find a approximate column name at your database simply type :

select * from user_tab_columns where column_name like '%NAME%';

Rabu, 04 Juni 2008

How to reset root password from slackware or any other linux distro :
  1. boot from CD
  2. type "mount" to see the device and mounting area from your distro (in this example, it's /mnt), if there isn't one, guess one (sorry can't help you with gambling). For this example, let's say you get lucky when you type "mount /dev/hda2 /mnt"
  3. type "chroot/mnt"
  4. type "passwd"
  5. enter your new password
  6. finish

Membuat catatan

Untuk membuat catatan, sebaiknya anda membuat web blog seperti ini. Alasannya banyak. Pertama, anda menghemat kertas untuk membuat catatan dan bisa langsung dilihat di internet. Kedua, anda bisa berbagi catatan anda dengan orang lain (berjiwa sosial). Ketiga, bila anda kehilangan catatan anda, itu bukanlah kesalahan pribadi.

Salah satu web yang menyediakan web blog adalah www.blogspot.com. Namun anda harus memiliki account google terlebih dahulu. Silakan daftar di www.gmail.com untuk memiliki account google. Setelah itu silakan daftar di www.blogspot.com

Singkatnya :
1. daftar di www.gmail.com
2. daftar di www.blogspot.com