Screen Ubuntu Desktop 12.04 live online tour

April 27th, 2012

berikut adalah gambar gambar ubuntu tour online

kalau kurang jelas bisa di coba di sini


Tabel Subnet Mask

April 26th, 2012

berikut adalah tabelnya:

Prefix Format Decimal Available Host Addresses
/8 255.0.0.0 16777214
/9 255.128.0.0 8388606
/10 255.192.0.0 4194302
/11 255.224.0.0 2097150
/12 255.240.0.0 1048574
/13 255.248.0.0 524286
/14 255.252.0.0 262142
/15 255.254.0.0 131070
/16 255.255.0.0 65534
/17 255.255.128.0 32766
/18 255.255.192.0 16382
/19 255.255.224.0 8190
/20 255.255.240.0 4094
/21 255.255.248.0 2046
/22 255.255.252.0 1022
/23 255.255.254.0 510
/24 255.255.255.0 254
/25 255.255.255.128 126
/26 255.255.255.192 62
/27 255.255.255.224 30
/28 255.255.255.240 14
/29 255.255.255.248 6
/30 255.255.255.252 2

Mobypicture upload using dabr

April 26th, 2012
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
function twitter_mobypicture_page($query) { 
        if (user_type() == 'oauth') { 
 
                //Has the user submitted an image and message? 
                if ($_POST['message']) { 
                        $messages = stripslashes($_POST['message']); 
                        $serviceURL = 'https://api.mobypicture.com/2.0/upload.json'; 
 
                        //Set the initial headers 
                        $header = array( 
                                'X-Auth-Service-Provider: https://api.twitter.com/1/account/verify_credentials.json',  
                                'X-Verify-Credentials-Authorization:  OAuth realm="http://api.twitter.com/"' 
                        ); 
 
                        //Using Abraham's OAuth library 
                        require_once('OAuth.php'); 
 
                        // instantiating OAuth customer 
                        $consumer = new OAuthConsumer(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET); 
 
                        // instantiating signer 
                        $sha1_method = new OAuthSignatureMethod_HMAC_SHA1(); 
 
                        // user's token 
                        list($oauth_token, $oauth_token_secret) = explode('|', $GLOBALS['user']['password']); 
                        $token = new OAuthConsumer($oauth_token, $oauth_token_secret); 
 
                        // Generate all the OAuth parameters needed 
                        $signingURL = 'https://api.twitter.com/1/account/verify_credentials.json'; 
                        $request = OAuthRequest::from_consumer_and_token($consumer, $token, 'GET', $signingURL, array()); 
                        $request->sign_request($sha1_method, $consumer, $token); 
 
                        $header[1] .= ", oauth_consumer_key=\"" . $request->get_parameter('oauth_consumer_key') ."\""; 
                        $header[1] .= ", oauth_signature_method=\"" . $request->get_parameter('oauth_signature_method') ."\""; 
                        $header[1] .= ", oauth_token=\"" . $request->get_parameter('oauth_token') ."\""; 
                        $header[1] .= ", oauth_timestamp=\"" . $request->get_parameter('oauth_timestamp') ."\""; 
                        $header[1] .= ", oauth_nonce=\"" . $request->get_parameter('oauth_nonce') ."\""; 
                        $header[1] .= ", oauth_version=\"" . $request->get_parameter('oauth_version') ."\""; 
                        $header[1] .= ", oauth_signature=\"" . urlencode($request->get_parameter('oauth_signature')) ."\""; 
 
                        //open connection 
                        $ch = curl_init(); 
 
                        //Set paramaters 
                        curl_setopt($ch, CURLOPT_HTTPHEADER, $header); 
                        curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); 
                        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
 
                        //set the url, number of POST vars, POST data 
                        curl_setopt($ch,CURLOPT_URL,$serviceURL); 
 
                        //Mobypicture requires the data to be sent as POST 
                        $media_data = array( 
                                'media'    => '@'.$_FILES['media']['tmp_name'], 
                                'message'  => ' ' . $messages, 
                                'key'      =>MOBYPICTURE_API_KEY 
                        ); 
 
                        curl_setopt($ch, CURLOPT_POST, true); 
                        curl_setopt($ch,CURLOPT_POSTFIELDS,$media_data); 
 
                        //execute post 
                        $result = curl_exec($ch); 
                        $response_info=curl_getinfo($ch); 
 
                        //close connection 
                        curl_close($ch); 
 
                        if ($response_info['http_code'] == 200) { //Success 
                //Decode the response 
                $json = json_decode($result); 
                $id = $json->media->mediaid; 
                                $imgurl = $json->media->mediaurl; 
                $message = trim($messages) . " " . $imgurl; 
                //Send the user's message to twitter 
                $request = API_URL.'statuses/update.json'; 
 
                                $post_data = array('source' => 'dabr', 'status' => $message); 
                                $status = twitter_process($request, $post_data); 
 
                                //Back to the timeline 
                                twitter_refresh("mobypicture/confirm/$id"); 
                        } 
                        else { 
                                $content .= "<div class='profile'>Mobypicture upload failed. No idea why!</div>"; 
                                $content .=  "<pre>"; 
                                $json = json_decode($result); 
                                $content .= "<br / ><b>message</b> " . urlencode($_POST['message']); 
                                $content .= "<br / ><b>json</b> " . print_r($json); 
                                $content .= "<br / ><b>Response</b> " . print_r($response_info); 
                                $content .= "<br / ><b>header</b> " . print_r($header); 
                                $content .= "<br / ><b>media_data</b> " . print_r($media_data); 
                                $content .= "<br /><b>URL was</b> " . $serviceURL; 
                                $content .= "<br /><b>File uploaded was</b> " . $_FILES['media']['tmp_name']; 
                                $content .= "</ pre>"; 
                        } 
                } 
                elseif ($query[1] == 'confirm') { 
                        $content = "<div class='profile'>Upload success. Image posted to Twitter.</div>"; 
                } 
 
                else { 						    $content .= theme('menu_gambar');
						$content .='<div class="profile"><div class="user"><div class="name">Mobypicture</a></div></div>';
                    $content .= "<form method='post' action='mobypicture' enctype='multipart/form-data'>Image <input type='file' name='media' /><br />Message (optional):<br /><textarea name='message' style='width:90%; max-width: 400px;' rows='3' id='message'></textarea><br><input type='submit' class='button'value='Send'><span id='remaining'>110</span></form></div></div>"; 
                        $content .= js_counter("message", "110"); 
                } 
 
                return theme('page', 'Mobypicture Upload', $content); 
        } 
}

Sudahkan anda tau ID facebook anda ?

April 25th, 2012

aneh memang kita sendiri hampir tidak tau id facebook kita berawal dari membuat komen facebook saya akhirnya tau cara melihat user id facebook

cara melihat user id facebook kita adalah

  1. Pastikan ada login facebook dulu yah
  2. Buka https://developers.facebook.com/tools/explorer/, harus membuat permintaan GET to facebook menggunakan IDAnda, itu akan menjadi acara dalam kotak abu-abu daninformasi akan menjadi sesuatu seperti ini

 

{
  "id": "1234567890", 
  "name": "Deni Ahmad Hidayat", 
  "first_name": "Deni", 
  "middle_name": "Ahmad", 
  "last_name": "Hidayat", 
  "link": "https://www.facebook.com/deniahmadhidayat", 
  "username": "deniahmadhidayat", 
  "gender": "male", 
  "locale": "id_ID"
}

begitulah kira kira ..
sumber dapat di lihat disini


minicom Serial Communication Program

April 25th, 2012

Minicom adalah sebuah paket yang digunakan untuk menghubungkan PC atau komputer ke suatu perangkat menggunakan port serial atau COM.

minicom Fitur umum / penggunaan

 

  • Menyiapkan konsol serial jarak jauh
  • Akses komputer / server jika LAN sedang down
  • Hubungkan ke router Cisco untuk konfigurasi
  • Panggilan direktori dengan auto-redial
  • Dukungan untuk bentuk UUCP file kunci padaperangkat serial
  • Menghubung beberapa penguna dalam konfigurasi individual

Cara Install minicom

menggunakan apt-get

           $ sudo apt-get install minicom 

Cara Setup minicom

           $ minicom -on s

 

 

 



Hallo Dunia

April 24th, 2012

salam semua, ini post pertama saya ..

perkenalkan nama saya Deni anak baru dalam dunia per blogeran maklum saya baru niat dan mau belajar nulis, rasanya baru nulis dua baris ajah udah memakan waktu yang lama..

binung teryata nulis blog itu .. ayo siapa yang mau mau bantu saya untuk bisa nulis kayak orang orang panjang banget


Hello world!

April 24th, 2012

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!


Switch to our mobile site