target 2012
bismillah,
meskipun telat nulis, target saya sampai akhir 2012 adalah :
- wisuda S1 april
- produk sos pertama launch
- mulai kuliah S2
- beli motor
- pergi ke pantai di pulau seberang
- qurban
semoga menjadi target yang mulia dan terealisasi
bismillah,
meskipun telat nulis, target saya sampai akhir 2012 adalah :
semoga menjadi target yang mulia dan terealisasi
instalasi mongodb di ubuntu bisa dilakukan dengan beberapa step berikut :
jalankan mongodb server di terminal :
untuk masuk ke dalam terminal mongodb jalankan perintah berikut :
instalasi php driver mongodb :
kemudian tambahkan extension=mongo.so di file php.ini. contoh mudah koneksi, insert, query, dan tampilkan hasil query di php adalah sbb :
$m = new Mongo(); $db = $m->comedy; $collection = $db->cartoons; $obj = array( "title" => "Calvin and Hobbes", "author" => "Bill Watterson" ); $collection->insert($obj); $obj = array( "title" => "XKCD", "online" => true ); $collection->insert($obj); $cursor = $collection->find(); foreach ($cursor as $obj) { echo $obj["title"] . "\n"; }
outputnya adalah sbb :
Calvin and Hobbes
XKCD
sources :
http://www.mongodb.org/display/DOCS/PHP+Language+Center
http://www.php.net/manual/en/mongo.tutorial.php
setiap kali login di ubuntu server, aku selalu mendapatkan beberapa baris pesan yang isinya selalu sama. inilah pesan yang selalu muncul :
file ini digenerate oleh beberapa file bawaan ubuntu yang ada di path /etc/update-motd.d, jadi cara paling simpel untuk mencegahnya adalah dengan menghapus atau memindahkan folder /etc/update-motd.d :
source :
http://www.howtogeek.com/howto/ubuntu/change-ssh-welcome-banner-on-ubuntu
http://computercon.blogspot.com/2011/05/change-ssh-welcome-banner.html
tahun 2012 sudah berjalan 15 hari, meskipun sedikit telat target 2011 harus tetap di review :
wah, ternyata hanya 25% target di tahun 2011 yang sukses. masih perlu belajar pengendalian diri :)
When a browser requests a service from a web server, an error might occur.
This is a list of HTTP status messages that might be returned:
1xx: Information
| Message: | Description: |
|---|---|
| 100 Continue | Only a part of the request has been received by the server, but as long as it has not been rejected, the client should continue with the request |
| 101 Switching Protocols | The server switches protocol |
2xx: Successful
| Message: | Description: |
|---|---|
| 200 OK | The request is OK |
| 201 Created | The request is complete, and a new resource is created |
| 202 Accepted | The request is accepted for processing, but the processing is not complete |
| 203 Non-authoritative Information | |
| 204 No Content | |
| 205 Reset Content | |
| 206 Partial Content |
setelah sehari semalam duduk di depan monitor putih, akhirnya berhasil juga. apa yang berhasil? beberapa hari yang lalu seorang teman mengirimkan pdf yang berisi step2 pembuatan game sudoku versi android. hari jumat kemarin libur, waktu luang itu aku gunakan untuk upgrade brainware-nya si cuplis. hasilnya ada di sini.