This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http -f POST http://host/api/upload user=arie key=my-private-key file@/home/arie/Downloads/GosmsPhoto1340783455780ZY86773AIMI4MZ6.jpg format=json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo Lorempixel::factory($width, $height)->text($title); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| Kohana::modules(array( | |
| // .... | |
| 'malam-lorempixel' => MODPATH.'malam-lorempixel', | |
| // .... | |
| )); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $sitename = 'Log Channel!'; // title atau nama web | |
| $url = 'http://arie.malam.or.id'; // alamat web | |
| $feed_url = 'http://arie.malam.or.id/feed.atom'; // alamat feed | |
| $client = new Zend_XmlRpc_Client('alamat_ping_server'); | |
| try { | |
| $respon = $client->call('weblogUpdates.extendedPing', array( | |
| $sitename, $url, $feed_url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $sitename = 'Log Channel!'; // title atau nama web | |
| $url = 'http://arie.malam.or.id'; // alamat web | |
| $client = new Zend_XmlRpc_Client('alamat_ping_server'); | |
| try { | |
| $respon = $client->call('weblogUpdates.ping', array( | |
| $sitename, $url | |
| )); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| login as: root | |
| Sent username "root" | |
| root@202.154.x.xxx's password: | |
| Last login: Sun Oct 31 15:30:53 2004 from xxx.x.xxx.xx.xx | |
| OpenBSD 3.1 (GENERIC) #59: Sat Apr 13 15:28:52 MDT 2002 | |
| Welcome to OpenBSD: The proactively secure Unix-like operating system. | |
| Please use the sendbug(1) utility to report bugs in the system. | |
| Before reporting a bug, please try to reproduce it with the latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $directory_to_check = '/path/to/dir'; | |
| $DTs = array(realpath($directory_to_check)); | |
| $DSc = array(); | |
| while (count($DTs) > 0) | |
| { | |
| foreach ($DTs as $DKy => $std) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function MyCounter () { | |
| global $HTTP_COOKIE_VARS; | |
| if (!is_file($this->DataFile)) { | |
| $o = array ("1"); | |
| $this->insert($this->DataFile, $o); | |
| } | |
| if (!isset($HTTP_COOKIE_VARS['counter'])) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $k++; | |
| $db_host[$k] = 'dbhost_1'; | |
| $db_name[$k] = 'dbname_1'; | |
| $db_user[$k] = 'dbuser_1'; | |
| $db_pass[$k] = 'dbpass_1'; | |
| $k++; | |
| $db_host[$k] = 'dbhost_2'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user@host] $ cd eggdrop1.6 | |
| [user@host] $ ./configure | |
| [user@host] $ make config | |
| [user@host] $ make | |
| [user@host] $ make install | |
| [user@host] $ cd ~/eggdrop |