Some bloggers like me maybe so pissed to know that our ad revenue is decreasing dramatically after introduction of Ad blocking plugin (like AdBlock/Adblock Plus, etc). But lucky I found a way to ask the audience to disable the plugin when detected. In this case, I used jQuery to detect adBlock. Read More
Berhubung sering melakukan projek DIY elektronik di rumah (pada mobil atau yg lainnya), jadi ga ada salahnya ngebahas sedikit tentang saklar..
Ada 2 tipe saklar yg umum digunakan, yaitu:
1. Self Locking (Push Switch)
Jika ditekan, tombol akan terkunci di dalam dan akan tetap di dalam walaupun jari sudah dilepas. Untuk mengeluarkannya, tekan sekali lagi.
2. Momentary / Horn (Push On)
Jika ditekan, tombol masuk ke dalam, bila jari dilepas tombol akan keluar sendiri (mirip tombol bel / klakson). Juga bisa dibagi jadi:
a. NO (Normally Open)
pendeknya: dipencet on, dilepas off
b. NC (Normally Close)
intinya: dipencet off, dilepas on
mau penjelasan yg panjang? baca ini: SWITCH.
Sometimes you need to know what your external IP (internet protocol) address is. Whether just to know or a part of maintenance. Well, I need it sometimes to check whether I’m being blocked by any website or not. I made a list of how to check our external IP address, check it out!
1. Google Search
The simplest way to check your IP is by doing a Google Search with this keywords : “what is my IP”.
Google will give you your IP address like this: Your public IP address is 18.104.22.168.
Since most of the latest browser available has the ability to do search operation using search bar, or even searching right from the address bar, it will be so easy for you.
2. Web Service
If you don’t have much time to type the phrase “what is my IP”, you might want to bookmark one of the websites below and put it on your bookmark toolbar, so all you have to do is to click the bookmark and wait till the page loaded.
and lot more websites out there with same functionality. What a waste -__-"
3. PHP code
Or if you’re sick of useless page contents of those websites and only need to know your IP address real quick, you may code your own PHP script and put it on your website. Here’s the code:
if (!empty($_SERVER[‘HTTP_CLIENT_IP’])) //check ip from share internet
elseif (!empty($_SERVER[‘HTTP_X_FORWARDED_FOR’])) //to check ip is pass from proxy
Copy the code above, paste it on notepad, and then save it as a .php file (eg. myip.php) and upload it to your web server, so you can access it like this: www.yourwebsite.com/myip.php .
One example of the live site that will give you only your IP address is : http://www.whatismyip.org.
Another spot to satisfy your appetite . Let’s see the nominations.
5. Singaraja Town Square (Taman Kota/Tamkot)
This is the place where I spent almost all of my afternoon for the last couple of months. From 4PM, plenty of Singaraja citizens comes to SiToS doing their afternoon jogging, yoga, gateball, wall climbing, soccer, or just hanging out with their friends, family, or on their own
like I used to be.
There are many booth which has their own special menu, so one week isn’t enough to try them all. Oh, you can find these foods here that word every penny you’ll spend: Toast, juices, cappuccino, sausage, corn, meatballs, fried rice, Chinese foods, Belayag (my favorite Balinese food), fruit compotes, and many other.
6. The Other Places
Well, I can’t mention them all one by one since they didn’t pay me for the promotion. It’s not a paid review, okay!?!
- Adem Cafeteria (Jalan Gajah Mada, Near SMPN 1 Singaraja)
- DaDiDu (Jalan Cendrawasih, Near Kertha Usadha Hospital)
- Loving Hut (Jalan Surapati, Near the old BNI Bank building)
- Warung Bali (Jalan Ngurah Rai, Near the RSUD Buleleng)
- Mangga Dua, (Jalan Ngurah Rai, not so far from Warung Bali) never tried it
- Senggol Rama (Jalan Rama, beside Telkom building), night only *
- Senggol Mayor Metra (Jalan Surapati, in front of Hardy’s Plaza), day and night *
You got another places to mention? please leave a comment!
Note: Senggol is a kind of night market where all of the booth selling foods in an affordable price, but there are also senggol that opened during the day.