ahmadisa

Hot Link : Google Yahoo wikipedia Detik Kompas Oke Zone Angkringan Oke News High Light MotoGp Naruto Captain

August 27, 2008

How to Ruby on Rails

Filed under: Ruby on Rails - Administrator @ 5:23 pm

Mau belajar Ruby on Rails, tapi bingung neh mau minta di ajarin siapa. Di kampus ada forum baru tuh tapi masih sepi, iseng aja bikin thread tentang Ruby on Rails. hehe … ternyata ada juga yang mau belajar Ruby on rails. Jadinya bisa di ajak Share bareng …

Sebelum belajar Ruby on Rails, harus diinstall dulu dunk programnya klo ngak gimana bisa belajar. Klo cuman dibayangin aja ntar nyasar ke tempat laen :P .

Instalasi Ruby on Rails aku ambil dari blognya dudunavi … (hehe makasih ya boss artikelnya sangat membantu)

Manual, itu berarti anda menginstall rails secara tidak langsung ke internet, ini sangat cocok bagi mereka yang tidak punya internet di rumahnya, install model seperti ini ada 2 tahap, yaitu mendownload seluruh source code yang diperlukan, lalu menginstallnya di komputer lokal yang bahkan nggak ada koneksi internet sekalipun, saya sendiri mendownload seluruh source code di kantor, lalu kemudian menginstallnya di rumah

Inilah langkah-langkahnya

Install Ruby versi 1.8.6

Platform Linux

  1. download ruby 1.8.6 di ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz
  2. ekstrak file tersebut lalu masuk ke directorynya lalu compile dengan perintah sb berikut ./configure, make dan make install
  3. download rubygems di http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
  4. ekstrak lalu masuk ke directorynya lalu install dengan mengetikan ruby setup.rb

Platform Windows

Download ruby one installer di http://rubyforge.org/frs/download.php/18566/ruby186-25.exe, lalu klik file yang telah didownload

Install Rails versi 1.2.3

Jika anda mempunyai koneksi internet, menginstall rails mudah sekali, yaitu tinggal mengetikan di console/terminal gem install rails –include dependencies, tetapi jika tidak mempunyai internet berikut langkah2nya

  1. pergi ke warnet atau café yang ada hotspotnya, atau kalo mau gratis pergi aza ke kampus/ kantor he he
  2. download semua library rails 1.2.3 yang diperlukan]

    http://rubyforge.vm.bytemark.co.uk/gems/rake-0.7.2.gem

    http://rubyforge.vm.bytemark.co.uk/gems/activesupport-1.4.2.gem

    http://rubyforge.vm.bytemark.co.uk/gems/activerecord-1.15.3.gem

    http://rubyforge.vm.bytemark.co.uk/gems/actionpack-1.13.3.gem

    http://rubyforge.vm.bytemark.co.uk/gems/actionmailer-1.3.3.gem

    http://rubyforge.vm.bytemark.co.uk/gems/actionwebservice-1.2.3.gem

    http://rubyforge.vm.bytemark.co.uk/gems/rails-1.2.3.gem

  3. masukan file gem di atas ke satu folder, misalnya folder RoR
  4. pulang ke rumah, dan anda bisa menginstall rails di komputer yang bahkan tidak ada koneksi internetnya, layaknya rumah anda ^_^
  5. masuk ke folder RoR dan ketik perintah berikut (perintahnya mesti sesuai urutan, jangan diacak)

    gem install rake-0.7.2.gem

    gem install activesupport-1.4.2.gem

    gem install activerecord-1.15.3.gem

    gem install actionpack-1.13.3.gem

    gem install actionmailer-1.3.3.gem

    gem install actionwebservice-1.2.3.gem

    gem install rails-1.2.3.gem

Congratz, RoR telah terinstall di komputer anda, untuk meyakinkan coba ketik gem local –list, maka akan muncul daftar apa2 saja library yang telah terinstall

So, Happy Programming : \(^_^)/

NB: Misal susah cari daftar gem,bisa download di sini, sudah saya paketkan dalam satu folder. Kalo masih susah, register aja dulu ;-)

Begitulah cara nginstallnya … :) . Klo dah selesai nginstall baru kita bisa belajar Ruby on Rails dengan langsung mempraktekkannya. Bwt saya lagi cari referensi neh, ada yang bisa bantu ngak?? langsung di comment yah… makasih

June 5, 2008

The Story of Keong Mas

Filed under: Notepad - Administrator @ 4:25 am

Once upon a time there was be a king he wished to marry Dewi Sekartaji .Dewi Sekartaji was the wife of panji Asmoro Bangun. Then the king kidnapped her. Fortunately, the god Narada saved Dewi Sekartaji. He turned her into a golden snail, Keong mas. The God told Keong Mas to drift along the river in order to find her husband, Panji Asmoro Bangun.

One day, a poor old widow, mbok Rondo Dadapan was fishing along the river. She found the golden snail and took it home. There, she put the snail in a jar and took good care of it. All of a sudden, unexpected good things took place in mbok Rondo’s life.

Every  time Mbok Rondo come back from her daily fishing. She found delicious dishes on the table. The house was clean, she could not resist the temptation. She wanted to find out who the mysterious kind person was. So one day instead of fishing. She peeped though a hole in the wall of her house.

She saw  a beautiful princess. The princess was coming out of the jar and starting to clean the house. The next day, without wasting any time. Mbok Rondo rushed into  the house. She smashed the jar. The princess could not turn back into a snail, then, Mbok Rondo adopted her.

Meanwhile, Raden Panji Asmoro Bangun, searching for his wife. Wandered from one village to another. Finally, he found his beloved wife. They went back to their kingdom, taking the good Mbok Rondo along with them

Beautiful Jogja Project

Filed under: Notepad - Administrator @ 3:42 am

BACKGROUND

           Jogjakarta is the second best tourist destination in Indonesia after Bali. And with the held of Visit Indonesia Year, I can ensure that the tourist number will highly increase. In order to keep the balance of tourist increase, we must also increase our service. My reasons to do this project are since our road doesn’t organized well. There are trashes everywhere, undiscipline motor-rider, sidewalk vendor, and also pollution.

           These such things are really getting on our nerves. We can’t let the tourist and pedestrian feeling bothered by those things. We need a “fix” soon.

           In Other hands, My project will give another benefit to our lives. The plant will absolutely decrease pollution and prevent the global warming getting worst.

 

PURPOSE.

1.     Organize jogja’s road and sidewalk

2.     Support the pedestrian’s rights.

3.     centralization of sidewalk vendor for the better place for selling.

4.     Decrease pollution from the air.

5.     helping to prevent the Global Warming for getting worst.

 
PROBLEMS

1.     Jogja’s road and sidewalk are getting dirtier and unorganized each day.

2.     The sidewalk vendors and undiscipline motor-rider who do not obey the regulation give a lot of disadvantage also bad impact to the environment and pedestrian.

3.     The increase of vehicle in Jogja give mode pollution in the air which can “support” global warming.

 
SOLUTION

1.     Centralization of sidewalk vendor in some place which they have pay it cheaply. And the money the have paid are for the prosperity of themselves.

2.     Cleanse, repair, and plant the sidewalk and road-middle border. For example, we can plant “Teh-tehan” and flowers in that place in order to beautify the road and also prevent pollution and global warming.

3.     The Build of city garden in the strategic place such as “Alun-Alun Utara” Or “Alun-Alun Selatan”. This could be a way to decrease pollution and prevent global warming And this could attract the tourist to enjoy walking around jogja comfortly.  

June 1, 2008

Cost GAS go Up!!!

Filed under: Notepad - Administrator @ 7:39 am

Rencana Pemerintah Republic Indonesian akhirnya telah dilaksanakan, demi memangkas subsidi yang sebagian besar tercurahkan ke BMM sedikit demi sedikit di kurangi.

mMm … kLo saya amati banyak kebijakan - kebijakan pemerintah yang mendatangkan kontra sering di Demo oleh masyarakat, seperti sekarang akibat kenaikan BBM mahasiswa pada demo yang berakhir ricuh (waduh saya juga mahasiswa … tapi ngak ikutan demo). Tapi pada akhirnya demo tersebut seperti tidak artinya, suara rakyat dianggap tidak memiliki arti (mungkin pendapat saya bisa saja salah).

kLo sudah begini mau gimana lagi … mau demo?? apakah BBM akan turun?? apakah pak SBY dan pak JK harus turun?? saya kira pak SBY dan pak JK yang tau situasi/kondisi keadaan Negara Republic Indonesian yang kita cintai. apakah dengan menurunkan pak SBY dan pak JK, akan muncul pemimpin yang lebih baik dari mereka?? saya kira tidak, malah pemimpin yang baru harus mempelajari kondisi pemerintahan saat ini dan itu butuh waktu yang lama.

Jadi yang kita bisa lakukan sebagai Rakyat Republic Indonesian memberikan dukungannya kepada Presiden dan Wakil Presiden, serta anggota Pemerintahan Republic Indonesian. Kita harus percaya apa yang dilakukan mereka adalah untuk kepentingan rakyat. Dan sebagai Warga Negara Indonesia kita juga WAJIB memberikan masukan kepada para pemimpin kita, bukan MENOLAK kebijakan pemerintah tanpa memberikan SOLUSI (bisa dibilang lempar batu sembunyi tangan … ).

INDONESIA BERSATU, INDONESIA MAJU … HIDUPLAH INDONESIA RAYA!!! 

Get free blog up and running in minutes with Blogsome
Theme designed by Janis Joseph