Dynamic DNS using DynDNS
One day I'm looking at my DSL modem's feature. There I see a DDNS tab, I don't know what DDNS mean until I open it. So, DDNS means Dynamic DNS. At this point I still don't know what is ddns used for. But there's a link to dyndns.org. and a form with username, password and domain in use. Still don't know what the use of it, I open dyndns website and register a free account. Looking for dynamic dns section, add a new host and add this information to my modem's setting (hostname, username, email, and password). save it and open the domain I add from browser. Waw, I'm surprised that I can access my modem's administration page from internet. Now I wonder, can I make my laptop's http service accesible internet?.
Looking around dyndns website and I found a download page. I download an update client for windows, because right now I'm using it. There's client app for linux and mac too. After download and install it, I set the same information i put into my modem's config and do an update IP. after it's done I surf my laptop using hostname I registered earlier. I can see my server's welcome page. I didn't satisfy with the result, so I contact some online friend to open the hostname from their browser and they did see the same welcome page. Hmm, so this is the use of dynamic dns. I think this is what my friend abud need.
Get Selected Row from DataGridView
This is how to get selected row from DataGridView in .NET 2.0
- Make sure there's a single cell that is currently selected
- Get current row index using {datagridview instance}.CurrentCell.RowIdex
- Get the selected row using {datagridview instance}.Rows({current row index}).Cells({zero based index}).Value
Here's the sample code :
Dim crow = DataGridView1.CurrentCell.RowIndex
dim txt as string
Try
txt = DataGridView1.Rows(crow).Cells(0).Value & " || "
txt = txt & DataGridView1.Rows(crow).Cells(1).Value & " || "
txt = txt & DataGridView1.Rows(crow).Cells(2).Value
MessageBox.show (txt)
Catch ex As Exception
' do nothing
End Try
Mencoba Memberi Solusi Masalah Transportasi
Beberapa hari yang lalu saya melihat judul di suatu surat kabar yang sedang dibaca seseorang tentang upaya Kepolisian mencari cara menanggulangi kemacetan yang terjadi di Surabaya. Nah, disini saya mencoba memberikan satu saran untuk bapak polisi. Saran saya sederhana, yaitu tilanglah mereka yang berusaha menyerobot dari kiri saat di lampu merah dan tingkatkan lagi pengawasan terhadap peraturan lajur kiri.
Hayo, coba jujur, siapa yang selalu berusaha mengambil jalur kiri saat sedang di lampu merah hingga memakan badan jalan untuk mereka yang memang ingin belok ke kiri, padahal anda sendiri tujuannya adalah belok kanan atau mengambil terus. Karena ini menyebabkan berkurangnya ruang bagi mereka yang memang ingin belok kiri, sehingga mereka harus ikut berhenti menunggu lampu hijau? Ada juga mereka yang berusaha memenuhi bagian depan jalan yang biasanya berupa zebra-cross, sehingga berada lebih depan daripada lampu lalu-lintas. Ini juga menyebabkan sedikit kemacetan dan polusi suara ketika lampu hijau tiba. Karena, mereka tidak tahu apakah sudah hijau atau belum. Saya sering kali jengkel dengan orang2 yang seperti ini. Koq gak sabar banget sih?. Trus yang kedua, adalah tingkatkan lagi pengawasan peraturan jalur kiri. Soalnya motor2 itu kalau sudah dibebaskan bergerak mereka selalu semaunya sendiri, mengendarai kendaraan dengan zig-zag yang malah meyebabkan kemungkinan terjadinya kecelakaan semakin besar.
Sepertinya itu dulu beberapa saran dari saya, semoga para pengendara motor yang ugal2-an ini segera diberi kesadaran bahwa perilaku mereka itu sangat membahayakan pengendara yang lain.
Blogfest 2007 Dan Masalah Seputar Pemilihan Pemenang
Tadi pagi buka email, dapet forward email dari nenda tentang posting dari Pandu perihal lomba blogfest 2007. Lomba ini sendiri di host di website kampusku. Terus terang daya sendiri gak tau banyak tentang lomba ini, sebab buka website lomba-nya saja selalu gagal. Nah, back to topik, ceritanya Pandu curhat tentang perlombaan itu. Disitu dia menang juara harapan 2. Trus karena penasaran "kenapa koq cuman dapet juara harapan 2?". Untuk lebih detil silahkan baca langsung disana. Karena disini saya hanya akan memberikan sedikit kritik kepada pada dewan juri (yang saya sendiri tidak tahu siapa mereka).
Create Shortcut Under KDE Panel
In previous article, I have show you how to create shortcut and place it in the directory. But in this one, we'll place our shortcut under KDE Panel. Ok, without further delay, here's the step :
Pakai Aplikasi Berbasis Desktop/Web atau Konsol?
Nah, karena membaca posting di blog abud tentang koneksi ke server dan juga membaca komentar yang ada (sambil ikut ngisi komentar biar rame
), koq aku jadi pengen posting juga. Jadi disitu abud menceritakan gimana dia melakukan koneksi ke server melalui protokol SSH dan FTP.
Create Multiple File Upload Form Using Javascript And Php
Currently I'm working on a project that required an upload form to be dynamic. That is when I want more file to upload I don't need to upload lets say 5 at a time, because I can add more field to it. The idea is simple, I just need to manipulate DOM to add the field and modify PHP manual a little bit to match my need. Look below the full source.
Open PGP Encrypted message in gmail
I was receiving email from an internet service which is a pgp / gpg encrypted email and I'm using gmail. Waw, this is a trouble to me. Looking around the gmail's setting page and found no information about this. I thing gmail is not supporting it right now. Google guys, please implement it ASAP!!!.
Get Current Directory from PHP
Yes, I'm lazy because if I want to manual, I'll find a method to find current directory instead of reinventing the wheel. Hehehe, so, here's what I do to find current directory :
echo dirname(__FILE__);
Now, I have new post for my blog
.
Update: As comments from readers, you can also use getcwd() to get equal result.
Setting Broadcom Wireless Device in Kubuntu in detail part 2
So, your wireless device is working right now. But, how do you know it's working properly? We just set it up right?. Don't worry, in this part we'll learn how to test it. First, make sure you have an access point that's working fine. Or to make thing easier, go to public hotspot on your town. Don't have in your town? Auw, that's terrible. Anyway, I'm assuming you are currently on public hotspot right now. And I also assume you are using Kubuntu (specifically [but not important] 7.04).





