Jumat, 30 September 2011

JQuery Plugin for Create Map

Tidak ada komentar:
jVectorMap

jVectorMap is a jQuery plugin employed to show vector maps and visualize data on HTML pages. It uses SVG in all modern browsers like Firefox 3 or 4, Safari, Chrome, Opera, IE9, while legacy support for older versions of IE from 6 to 8 is provided with VML.
jVectorMap


Gmap3
Gmap

Rabu, 28 September 2011

List of Famous Social Networking

Tidak ada komentar:

Badoo.com
Bebo.com
Digg.com
Douban.com
Facebook.com
Fark.com
Flickr.com
Flixster.com
Foursquare.com
Friendster.com
Gather.com
Habbo.com
Hi5.com
Hyves.nl
Identi.ca
Imvu.com
IndianPad.com
Kaixin001.com
Last.fm
Linkedin.com
Livejournal.com
Meetup.com
Metafilter.com
Mixi.jp
Mixx.com
Multiply.com
Myspace.com
Netlog.com
Newsvine.com
Ning.com
NK.pl
Odnoklassniki.ru
Plaxo.com
Plurk.com
qq.com
Reddit.com
Renren.com
Reunion.com
Skyrock.com
Sonico.com
Stumbleupon.com
Tagged.com
Taringa.net
Tribe.net
Tuenti.com
Tumblr.com
Twitter.com
Vkontakte.ru
Wayn.com
Weibo.com
Wer-kennt-wen.de
Xanga.com
Yelp.com
YouTube.com

Is REFRESH button on the Computer Really Works Improve Computer Speed​​?

Tidak ada komentar:
Most computer users, especially computer with Windows Operating System output once or even often pressing the Refresh button Right Click on the Desktop or use its shortcut keys on the keyboard function keys F5. What worries of them, probably because they do not know the real reason why they hit this button. Worse yet, those who have a strong reason why they are pressing this button actually believe in the myth is wrong about the function of the refresh button.
Keep in mind different from a desktop refresh on page refresh or reload the page in a browser. Sometimes due to heavy Internet traffic, there are Internet pages that can not be loaded completely. Refresh the browser function is to reload the page failed to load before. Meanwhile, refresh the desktop has a different function with the refresh button contained in the browser. Most new computer users or laymen, such as the author himself, at first believed that the refresh function to update or renew the standby (idle) the computer after a change and delete the previous command from the RAM, so we use a computer that will run more smoothly and faster. However, as has been previously disclosed, are a mere myth.

Desktop Refresh button functions are actually Refresh the desktop is actually used to update the display or reproduce the look of the desktop after a change. Refresh the desktop does not work to renew the condition of RAM, and do not clean your computer or your computer refreshing. Therefore, do not refresh the desktop also donate any performance improvements in computer performance.

To further facilitate you in understanding the explanation of the function of a desktop refresh button, then consider the following illustration. Sometimes when you make changes on the shortcut on the desktop, the changes do not appear instantly. In this case, then you need to do a refresh on your desktop to display the changes that have been done on the desktop.

For example, you have set the shortcut on the desktop to its name in alphabetical order. When you add a new shortcut on the desktop, new shortcut will not be directly sorted in alphabetical order, but will be at the very bottom of the list of shortcuts. If you hit the refresh button the desktop, all the shortcuts will be reset again and a new shortcut that will occupy the position corresponding abjadnya. This is a function of the actual desktop refresh button. In addition, the refresh also have the same function in Windows Explorer.

So, if you have a habit of doing refresh on your desktop many times without knowing the actual purpose and function of this button, then you should stop the habit.Because you are just wasting time and your attention to do the actual work in vain.

Senin, 26 September 2011

Running a Case Sensitive Query Select String in MySql

Tidak ada komentar:
contoh / example :
I have data in table user structure like this :
_ _ _ _ _ _ _ _ _
| ID  |  Name |
-------------------
| 1    |  Andre |
-------------------
| 2    |  andre  |
----------------------

when i using Select `ID`,`Name` from user where name = 'andre';
result is 2 row in set but i just need name 'andre' not 'Andre' , so you need case sensitive string

solution :

Select `ID`,`Name` from user where binary name = 'andre';
result is 1 row in set

Sabtu, 24 September 2011

Insert Into Mysql Using PHP Array Post

Tidak ada komentar:
Form.html

<html>
    <head><title>Tambah Blog</title></head>
<body>
<form action="insert.php" method="POST">
<table >
    <tr><td>Judul</td><td><input type="text" name="title" /></td></tr>
<tr><td>Text</td><td><input type="text" name="text" /></td></tr>
<tr><td></td><td><input type="submit" value="Save" /></td></tr>
</form>
</body>
</html>

Important !!! name of filed in database must same as form field name


insert.php


<?php
foreach ($_POST as $field=>$value) {
$fields[] = '`' . $field . '`';
                $values[] = "'" . mysql_real_escape_string($value) . "'";
                   
                }
                $field_list = join(',', $fields);
                $value_list = join(', ', $values);
                $sql = "INSERT INTO `" . $table . "` (" . $field_list . ") VALUES (" . $value_list . ")";
                mysql_query($sql);
                echo mysql_error();

Support Independence for Palestine

Tidak ada komentar:
Register on this  web http://www.avaaz.org/en/independence_for_palestine_en/ and hope independence for Palestine

Posting HTML Code to Blog

4 komentar:
using this web http://centricle.com/tools/html-entities/ for encode and decode your HTML Code..

Random PHP Code with Capital, Text and Number

Tidak ada komentar:

<?php
function createRandomPassword($long=4) {
    $charsL = "abcdefghijklmnopqrstuvwxyz";
$charsU = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$int = "0123456789";
    srand((double)microtime()*1000000);
    $i = 1;
    $pass = '' ;
$randStart = rand(1,3);
    while ($i <= $long) {
   
if ($randStart == 1){
$num = rand() % 26;
$tmp = substr($charsL, $num, 1);
}
if ($randStart == 2){
$num = rand() % 26;
$tmp = substr($charsU, $num, 1);
}
if ($randStart == 3){
$num = rand() % 10;
$tmp = substr($int, $num, 1);
}
        $pass = $pass . $tmp;
if ($randStart <= 2 )
$randStart = $randStart +1;
else
$randStart = $randStart -2;
        $i++;
    }
    return $pass;
}
echo createRandomPassword();  // 

Rabu, 21 September 2011

Intalasi ActiveMQ pada Ubuntu

Tidak ada komentar:
bisa di download di http://activemq.apache.org/download.html
copy folder activemq ke /opt/chmod 777 folder activemq
sudo /opt/activemq/bin/activemq start

akses http://localhost:8161/admin/ pada browser






Hiroshi Kitadani Menyanyikan Tema Baru ONE PIECE, "We Go!" Lyrics

3 komentar:

Kitadani Hiroshi  lagu baru "We Go!" Akan menjadi lagu tema untuk bab mendatang serial anime populer, ONE PIECE!
Bab, berjudul 'Saigo no Umi' Shinsekai '"(The End of the Sea “New World"), akan mulai ditayangkan pada 2 Oktober dan akan mengikuti Luffy dan teman-temannya saat mereka bersatu kembali setelah 2 tahun panjang pelatihan untuk berpetualang di dunia baru.
Tema bab ini, "We Go!", Dibuat sebagai jawaban lagu lagu tema ONE PIECE yang pertama, "Kita!". Kitadani yang vokal, lirik Shoko Fujibayashi, dan komposisi tim Kohei Tanaka sekali lagi setelah 12 tahun yang panjang.
"We Go!" Dijadwalkan untuk rilis pada 16 November. 

http://www.jpopasia.com/news/kitadani-hiroshi-sings-new-one-piece-theme-we-go::8956.html



berikut  Lyrics We Go
Aritakeno yume o kakiatsume
Sagashi mono sagashi ni yuku no sa one piece

Rashinban nante, jyutai no motto
Netsu ni ukasare, kaji o toru no sa

Hokori kabuteta, takara no chizu mo
Tashikameta no nara, densetsu jyanai!


Kojin teki na arashi wa dareka no
Bio, rizumu! nokkatte
Omoi sugose ba ii

Aritakeno yume o kakiatsume
Sagashi mono sagashi ni yuku no sa
Pocket no coin, soreto
You wanna be my friend?
We are, we are on the cruise! we are!

Zembu mani ukete, shinji chattemo
Kata wo osarete ippo lead sa

Kondo aeta nara hanasu tsumori sa
Sore kara no koto to kore kara no koto

Tsumari itsumo pinch wa dareka ni
Appeal dekiru ii chansu
Ji ishiki kajyoo ni!


Shimitareta yoru o buttobase!
Takara bako ni kyoumi wa nai kedo
Pocket ni roman, soreto
You wanna be my friend?
We are, we are on the cruise! we are!

Aritakeno yume o kakiatsume
Sagashi mono sagashi ni yuku no sa one piece

Pocket no coin, soreto
You wanna be my friend?
We are, we are on the cruise! we are!


We are! we are ...!

Selasa, 20 September 2011

Menggunakan Smarty Template Engine PHP

2 komentar:

Mengapa menggunakan Smarty?
-Memisahkan logika presentasi dari logika bisnis (Kode dan desain dipisahkan)
-Jika kita menggunakan PHP inti dengan dicampur dengan HTML kemudian berantakan untuk mengelola.
-Tidak ada pengetahuan PHP diperlukan untuk mengelola template Smarty.
-Web desainer dan pengembang PHP dapat dengan mudah bekerja dan tidak saling menyalahkan. (Ketika mereka mengembangkan website besar)

Smarty menawarkan alat
- Data granular caching
- Template warisan
- Fungsional sandboxing untuk beberapa nama

Dimana menemukan?
Download paket dari smarty.net / men-download versi yang kompatibel dengan PHP Anda.

Bagaimana menginstal?
Unzip file yang didownload ke appserv smarty Anda / folder www dan menjalankan aplikasi.

Dasar sintaks di smarty yang
Pada file index.php (Di root folder aplikasi Anda)

a) Sertakan kelas smarty (Yang libs folder).
membutuhkan ('libs / Smarty.class.php');
b) Membuat obyek untuk kelas smarty yang
$ Smarty = new Smarty;
c) Menetapkan variabel
$ Smarty-> assign ("var_name", "Smarty");

Di sini:
"Var_name" adalah untuk digunakan dalam template Smarty (. Tpl file)
"Smarty" adalah nilai yang

Tambahkan Styles dan file Javascript dalam file template (. Tpl file)
Control Structure in smarty

{literal}
<link rel="stylesheet" href="css/style.css" type="text/css">
<script>
function display(){
document.write(“Welcome to smarty”);
}
</script>
{ /literal}
Conditions
{if (condition)}
----- statements ----
{/if}

{if (condition)}
----- statements ----
{else}
----- statements ----
{/if}

{if (condition)}
----- statements ----
{elseif (condition)}
----- statements ----
{/if}
{/if}

in the conditions: “eq” is for “=”, “neq” is for “!=”

Loops
{section name=i loop=$ptquestionary}
{$ptquestionary[i]}
{/section}

http://www.9lessons.info/

Senin, 19 September 2011

Extract file using terminal

Tidak ada komentar:
FOR .tar file
----------------------------------------------------------------------
sudo tar xf /your/file/path /extration/path/here

or if the archive is on the path where you are right now:

sudo tar xf ./file_name.tar







For .rar file
----------------------------------------------------------------------
pastikan anda telah menginstall .rar
retnet@retnet:~$ sudo apt-get install unrar rar


----------------------------------
retnet@retnet:$ unrar x testing.rar UNRAR 3.90 beta 2 freeware Copyright (c) 1993-2009 Alexander Roshal Extracting from testing.rar Extracting testing.txt OK Extracting Testing-lagi1.txt OK Extracting Testing-lagi2.txt OK All OK retnet@retnet:$

Jumat, 16 September 2011

Ubuntu Linux Start / Restart / Stop Apache Web Server

Tidak ada komentar:

Task: Start Apache 2 Server

# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start

Task: Restart Apache 2 Server

# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart

Task: Stop Apache 2 Server

# /etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop

Senin, 12 September 2011

7 Fakta di Balik Popularitas Angry Birds

Tidak ada komentar:
Jakarta - Game populer Angry Birds yang sedang digilai banyak orang ternyata menyimpan fakta-fakta yang menarik untuk disimak.

Gamenya sendiri memang menyumbang banyak uang bagi pembesutnya, Rovio. Dilaporkan bahwa perusahaan tersebut baru saja menerima kucuran dana sebesar USD 42 juta.

Berikut dibeberkan sejumlah fakta di balik kesuksesan Angry Birds seperti yang dikutip detikINET dari Mashable, Senin (12/9/2011):

1. Angry Birds telah didownload sebanyak 300 juta kali dan sejauh ini ada 3 seri permainan yang dikeluarkannya yakni: Angry Birds, Angry Birds Seasons dan Angry Birds Rio.

2. Siapa yang menyangka bahwa para pemain Angry Birds menghabiskan waktu dengan total 200 juta menit tiap harinya.

3. Piranti yang paling banyak dipakai untuk memainkannya, adalah produk keluaran yang berbasis Android, disusul dengan produk-produk Apple.

4. Para gamer diketahui banyak memainkan permainan 'burung' ini melalui iPhone (32%), iPod touch (33%), iPad (15%), Android (41%) dan PC (25%).

5. Memainkan Angry Birds juga dilaporkan membuat seseorang merasa sangat rileks (23%) dan membuat mood membaik (58). Bahkan, tak jarang ia membuat para pemain menjadi ketagihan (54%).

6. Fakta menarik lain yang dikupas dari Angry Birds ialah bahwa tidak ada 'obat' bagi mereka yang ketagihan memainkannya.

7. Sebanyak 12% dari mereka yang memainkan Angry Birds sebanyak 25 kali lebih memilih untuk menghapusnya dengan tujuan mencegah mereka memainkannya lagi. Kemudian sebesar 12% lainnya sempat berpikiran untuk melakukan aksi ini namun mereka akhirnya memilih untuk tidak melakukannya dan terus bermain.





Sumber