Thursday, January 7, 2010

Cara Mapping di JAVA

contoh simple tentang penggunaan mapping di java:

    private String convertToAlphabetical(String intString) {
        String numerical[] = {"1","2","3","4","5"};
        String alphabetical[] = {"satu","dua","tiga","empat","lima"};
        Map mappingIntToAlphabetical = new LinkedHashMap();

        for(int i=0; i
            mappingIntToAlphabetical.put(numerical[i], alphabetical[i]);
        }
        return mappingIntToAlphabetical.get(intString);
    }


yeps, gitu aja..

dalam rangka nyelesaiin tugas membuat program Quine-McCluskey dari dosen saya ni..

:)

semoga membantu.

Friday, November 20, 2009

Download Link 2012 Movie


 Udah nonton film 2012 itu? Bukannya saya mendukung pembajakan ya..tapi barusan aja aku nemuin download link filmnya ni..
Kualitasnya lumayan bagus -- masih TS sih, tapi TS nya High Quality, you can see the sample here --

Genre: Action | Drama | Thriller
IMDB rating: 6.7/10
Directed by: Roland Emmerich
Starring:John Cusack, Amanda Peet
Release Name:2012 (2009) HQ TeleSync LiNE READNFO-FUSiON
Size: 1,39GB
Video: XVID,720×288 1234 kbps
Audio: MP3, 128 kb/s


So, this is it:
Part1
Part2
Part3
Part4

Thursday, November 12, 2009

Koneksi Internet Wireless via Console dengan NetCFG pada Linux

cara ini adalah cara alternatif selain menggunakan iwconfig, program yang digunakan disini adalah netcfg, so, langsung install aja netcfg mu

1. sudo nano /etc/nework.d/nama-koneksi
2. isi dari variable-nama-koneksi
    CONNECTION="wireless"  < tipe jaringan
    DESCRIPTION="A simple opened wireless connection" < deskripsi,,gag        gitu penting sih..
    INTERFACE="wlan0" < interface yang digunakan, ex wlan0,eth0
    ESSID="MyNetwork" < nama ssid, apakah fisika2 atau nama lain
    IP="dhcp" < ip address = automatic kalau digunakan di windows.
3. setelah semua selesai diisi,
sudo /etc/nama-koneksi
4. Konek deh!

yah itu aja..short tutorial untuk kali ini.

Friday, November 6, 2009

Setting Telnet pada Windows 7

Yep. Windows baru, Windows 7.
Karena masih tergolong baru nginstal windows ini jadi belum terlalu eksplor tentang windows 7 ini,
Hari ini aku baru menyadari kalo windows 7 --dan ternyata vista juga-- tidak memiliki telnet yang udah aktif secara default, untuk itu kita perlu mengaktifkannya.

Hmm..ngga usah beribet deh..caranya:
1. Masuk Control Panel
2. Klik Programs
3. Pada bagian Program and Features pilih "Turn Windows features on or off"
4. Contreng Telnet Client dan Telnet Server
5. Ucapkan Alhamdulillah :) selesai deh..

Ada tampilannya ni:


Games Lagi Portable Avatar: Bobble Battles 1.0.0.1



Deskripsi Inggris ya :)
From the attack on the Northern Water Tribe to the siege of Ba Sing Se, it's up to you to decide the outcome of your favorite battles as you command the armies of the Water Tribe, Earth Kingdom, and even the Fire Nation in this unique strategy game!

Game features:
18 missions spanning 3 epic campaigns!
10 hero characters to control!
30 different units at your command!

System requirements:
Windows XP/Vista
DirectX 9
1 GHz
256 MB RAM


Game Baru! Avatar: Path of Zuko!




Kalau di deskripsikan:
In Avatar: Path of Zuko, you'll take control of Prince Zuko, the son of the Fire Lord, and adventure through hundreds of missions and various locations retelling the third season of the Avatar series from Zuko’s perspective! Solve puzzles and fight enemies while learning many powerful bending moves to become a formidable and mighty firebender!
Play through many of the key moments from the Avatar series: Rescue Aang and join forces to find Sun Benders battle the dragons! Infiltrate the Fire Nation War Room and confront Fire Lord Ozai and his guards! Lead Zuko to victory in an epic battle against his sister Azula! Avatar: Path of Zuko puts you inside the show!

Game features:
Play as Prince Zuko!
Battle the Fire Nation to regain your honor!
Play a minigame to regain health and chi!

System requirements:
Windows 2000/XP/Vista
DirectX 9
700 MHz
128 MB RAM
 

Game Baru! TankZ: Destruction 0.9.2




Deskripsi (dalam bahasa Inggris ya):
Become a tank captain and defend two worlds against an invasion! You have a huge weapon arsenal at your disposal, which will help you complete all 100 levels. Enemies coming from everywhere will make your task difficult. Remember - only You can prevent the invasion so do not linger and join the fight!

System requirements:
Windows XP/Vista
DirectX 9
1.2 GHz
512 MB RAM