• LINK
    • Dengan bangga mendukung kegiatan idsecconf 2009
    • Kajian.Net

CARI MP3 KAJIAN, EBOOK, TUTORIAL PEMROGRAMAN PHP, MATERI KULIAH DATABASE, DLL

Loading

November 29, 2009

Install Windows Game On Mandriva

Didalam Katagori: Uncategorized, LinuX

The simple way to install windows game on linux especially "Mandriva" we can use wine software.

ok first you just install it with one step.

open your console and then

#su

enter your super admin password

#urpmi wine

if console command not work or failed

you can try to download wine at http://sourceforge.net/projects/wine/files/Mandriva%20Packages/ (rpm package)

then you double click rpm file and follow the instructions

 

 

Comments (0)

Install Windows Game On Mandriva

Didalam Katagori: Uncategorized, LinuX

The simple way to install windows game on linux especially "Mandriva" we can use wine software.

ok first you just install it with one step.

open your console and then

#su

enter your super admin password

#urpmi wine

if console command not work or failed

you can try to download wine at http://sourceforge.net/projects/wine/files/Mandriva%20Packages/ (rpm package)

then you double click rpm file and follow the instructions

 

 

Comments (0)

November 24, 2009

Botol Kecil - Kurang Kerjaan

Didalam Katagori: Uncategorized, Ngalor-Ngidul
Botol kecilku
Botol kecil yang menemaniku tiap malam
Comments (0)

November 16, 2009

Memotivasi Diri Sendiri

Didalam Katagori: Uncategorized, Ngalor-Ngidul

Aku orang pintar…………. Wallbashing

Aku orang cerdas………..Wallbashing

Aku orang Rajin……………Furious

Aku orang Disiplin…………

Aku Orang yang Dibutuhkan………..Guns

Aku orang yang berguna………..Reproaching

Aku orang yang sukses……….King

Aku tidak akan gagal lagi………Wallbashing

.Aku tidak akan mengecewakan orang lain………..

Aku ganteng……….Jittery

Aku tidak sombong…

Aku tidak mudah putus asa… Drunk

Aku pasti bisa…………. Wallbashing

 

 Ya allah.. kabulkan doa hambaMu……………………

Comments (1)

November 14, 2009

Resolving Yahoo Pidgin Not Works!!

Didalam Katagori: Uncategorized, LinuX

PiginMaybe this is the way to prevent some application can access Messenger in yahoo. yes they wannt to protect and keep the user to chat using Yahoo Messenger Application, to keep they income trought advertisement :D .

every way I has tried to resolve my problem, I use pidgiin 2.5.2 in my mandriva. 

I try to change page server at pidgin configuration, but still not work!

so the easy way to resolve this is ….. just upgrade your pidgin to newer, 

now I use pidgin 2.6.2  and my yahoo is works correctly :D .

if you using mandriva, just do a little command

 

# urpmi pidgin

then pick a library pidgin with newest version, if you dont found newest pidgin in your repository, you should change your repostiory or just upgrade in to newer :)

 

OK good  luck

 

 

 

Comments (0)

Mandriva 2009 Spring

Didalam Katagori: Uncategorized, LinuX

mandriva 2009 spring

this is my Mandriva Spring 2009 , I just wanna shared it :D

Comments (0)

November 11, 2009

Installasi PHP (LAMP) di Mandriva

Didalam Katagori: Uncategorized, LinuX

Bismillah…

Mari kita install apache, PHP, mysql dan PHPMyAdmin di Linux kita khusunya mandriva, nah lebih khusus lagi, mandriva yang saya gunakan adalah Spring 2009.

Pertama buka console kesayangan anda :D ,

kita harus login sebagai root di console jadi caranya

su

masukan password, lalu tekan enter

setelah itu

[root@localhost ~]# urpmi task-lamp

 kalo ada opsi-opsi paket yang ditawarkan, pilih saja salah satu, (kalo saya pilih no 1 aja semua, biar gampang) he…

lanjut dengan install mysql

[root@localhost ~]# urpmi mysql

[root@localhost ~]# echo "HOSTNAME=localhost" >> /etc/sysconfig/network 

[root@localhost ~]# echo "127.0.0.1 localhost" >> /etc/hosts

[root@localhost ~]#  reboot

perintah reboot itu berarti restart, jadi setelah komputer nyala lagi, buka console lagi dan juga login sebagai root, setelah itu jalankan mysql service

[root@localhost ~]# service mysqld start 

[root@localhost ~]# mysql_secure_installation 

[root@localhost ~]# urpmi php-cgi 

[root@localhost ~]# service httpd restart 

 perlu diingat: seandainya dari salah satu perintah itu menawarkan anda untuk memilih opsi paket, pilih saja salah satu oke!!! sama aja kok

 setelah proses installasi selesai, anda bisa mengeceknya dengan membuka browser kemudian ketik alamat "localhost" , jika muncul sesuai seperti ‘It Works!!" berarti instalasi sukses.

Semoga Bermanfaat

Comments (0)

Cara install Program Make di Mandriva

Didalam Katagori: Uncategorized, LinuX

Bismillah…

Semakin cuinta linux :D

walaupun si leepy diinstall 2 OS (Windows 7 Ultimate && Linux Mandriva Spring 2009) ternyata keindahan dan keanggunanan windows 7 tidak bisa mengalahkan console Linux (cieeeee… lebay)

ok deh. to the point ajah..

ini sebagai arsip pribadi khusunya dan untuk pengetahuan saja.

awalnya saya mau ngompile source code mentah untuk dijadikan applikasi yang nantinya akan diinstall di linux.

biasanya perintah yang digunakan adalah

make install

nah berhubung applikasi make nya belum ke install, jadi kita install dulu aplikasi make nya, jadi njelimet gini ya bahasanya he…

ok, pertama kita cek dulu apakah aplikasi make telah terinstall di komputer?

which make | grep make

 seandainya telah terinstall maka perintah diatas akan menampilkan

/usr/bin/make

 OK saya asumsikan, aplikasi make belum terinstall, selanjutnya mari kita install dengan cara

urpmi make

 tunggu beberapa saat hingga proses instalasi selesai, kalo sudah coba ulangi perintah untuk menge-cek aplikasi make dengan which tadi

 

Ok semoga bermanfaat

Comments (0)

November 10, 2009

Window 7 sudah bisa Crack

Didalam Katagori: Uncategorized, Hacking

baru beberapa waktu kemarin windows 7 di rilis ke publik, kini dengan mudah kita dapatkan versi cracknya. benar2 handal nih para hacker!!

windows 7 has been activated 

 tuh gimana?? udah keliatan kan Windows is activated

 jadi mulai saat ini, detik ini dan menit ini, si leppy udah ditemeni sama window 7 + Mandriva 2009 Spring. :D
 

Comments (0)

November 6, 2009

Class Grafik Kacung - Sample Grafik Dengan PHP

Didalam Katagori: Uncategorized, PHP

Kemarin habis bikin Class buat nge-generate Grafik dalam bentuk gambar dengan PHP, Grafik ini hanya melapporkan dua item (Rata-Rata dan Total), item ini bisa diubah sesuai kebutuhan, cuma ganti caption-nya doang :D ,

<?php
   
    /*
      Author : Didin Nurdin Ahmadi
                  <didinonpqcms{ a t }gmail{ d o t }com>
      date   : 2009-11-2 3:44:13 AM     
    */
   
    class Grafik_Kacung {
   
        private $imageTemp;
        private $Font;
        private $Width;
        private $Height;
        private $ScaleX;
        private $ScaleY;
        private $XY;
       
        function __construct(){
          $this -> Scale = 30;
          $this -> XY = array();
        }
       
        public function setFont($font){
          $this -> Font = $font;
        }
       
        public function setData($data){
          $this -> Data = $data;
        }
       
        public function setCanvas($height, $width,$file = null){
          $this -> Height = $height;
          $this -> Width  = $width; 
          $this -> imageTemp = imagecreate( $this -> Width + 150, $this -> Height + 80 );
          imagecolorallocate($this -> imageTemp, 255, 255, 244);
          $this -> setColor(); 
          $this -> drawLineXY();
          $this -> drawData();
          //header(’Content-type: image/png’);
          imagepng($this -> imageTemp, $file);
        }
       
        private function drawLineXY(){
          imageline($this -> imageTemp, 20, 5, 20, $this -> Height, $this -> black);
          imageline($this -> imageTemp, 20, $this -> Height, $this -> Width, $this -> Height, $this -> black);
          $xOrdinate = array(0,10,20,30,40,50,60);
          $tempH = $this -> Height;
          $this -> ScaleY = round($tempH / count($xOrdinate));
          foreach($xOrdinate as $v){
            $i++;
            $text = " ";
            if(empty($v)){
              $text = null;
            }
            imagettftext($this -> imageTemp, 12, 0, 17, $tempH ,$this -> black, $this -> Font, $text);
            if($i>1) imageline($this -> imageTemp, 25, $tempH, $this -> Width, $tempH, $this -> grey);
            imagettftext($this -> imageTemp, 10, 0, 3, $tempH ,$this -> black, $this -> Font, $v);
            $tempH-= $this -> ScaleY;
          }
         
          $tempW = 50;
          $this -> ScaleX = ($this -> Width  / count($this -> Data));
          foreach($this -> Data as $k => $v){
            imagettftext($this -> imageTemp, 10, 0 , $tempW ,$this -> Height + 20 ,$this -> black, $this -> Font, $k);
            imageline($this -> imageTemp, $tempW, $this -> Height - 10, $tempW, 10, $this -> grey);
            imagettftext($this -> imageTemp, 9, 0 , $tempW - 30 ,$this -> Height + 40 , $this -> black, $this -> Font, wordwrap($v[’nama’], 20, "\n"));
            $tempW += $this -> ScaleX;
          }
         
        }
       
        private function drawData(){
          $tempW = 50;
          $keyInserted = array();
          foreach($this -> Data as $k => $v){
            $i++;
            $pOrd = $this -> scaleConverter($v[’total’]);
            $rOrd = $this -> scaleConverter($v[’rata’]);
            imagettftext($this -> imageTemp, 10, 0 , $tempW , $pOrd ,$this -> red, $this -> Font, " " . $v[’total’]);
            imagettftext($this -> imageTemp, 10, 0 , $tempW , $rOrd ,$this -> blue, $this -> Font, " " . $v[’rata’] );
            $this -> createSign($tempW, $pOrd);                       
            $this -> createSign($tempW, $rOrd, $this -> blue);
            $a = next($this -> Data);
            if($i < count($this -> Data)){           
              imageline($this -> imageTemp, $tempW, $pOrd, $tempW + $this -> ScaleX, $this -> scaleConverter($a[’total’]), $this -> red);
              imageline($this -> imageTemp, $tempW, $rOrd, $tempW + $this -> ScaleX, $this -> scaleConverter($a[’rata’]), $this -> blue);
            }
            $tempW += $this -> ScaleX;           
          }
         
          $this -> createNotes();
        }
       
        public function setColor(){
          $this -> violet   = imagecolorallocate($this->imageTemp, 0x00, 0x00, 0xCD);
          $this -> white    = imagecolorallocate($this->imageTemp, 0xFF, 0xFF, 0xFF);
          $this -> red      = imagecolorallocate($this->imageTemp, 0xFF, 0x66, 0x66);
          $this -> grey     = imagecolorallocate($this->imageTemp, 0xCF, 0xCF, 0xCF);
          $this -> yellow   = imagecolorallocate($this->imageTemp, 0xFF, 0xFF, 0x99);
          $this -> black    = imagecolorallocate($this->imageTemp, 0x00, 0x00, 0x00);
          $this -> green    = imagecolorallocate($this->imageTemp, 0x66, 0xCC, 0x66);
          $this -> blue     = imagecolorallocate($this->imageTemp, 0x33, 0x99, 0xFF);
        }
       
        private function scaleConverter($nilai){
          $max = $this -> Height;
          $result = $this -> Height - ($nilai * ($this -> ScaleY / 10));
          return $result;
        }
       
        private function createSign($x,$y, $color = null){
          if($color == null){
            imagefilledellipse($this -> imageTemp, $x, $y, 5, 6, $this -> red);
          }else{
            imagefilledellipse($this -> imageTemp, $x, $y, 5, 6, $color);
          }
        }
       
        private function createNotes(){
          $this -> createSign( $this -> Width + 30 , 35);
          imagettftext($this -> imageTemp, 10, 0 ,$this -> Width + 40, 40 , $this -> red, $this -> Font, "TOTAL");         
          $this -> createSign( $this -> Width + 30 , 55, $this -> blue);
          imagettftext($this -> imageTemp, 10, 0 ,$this -> Width + 40, 60 , $this -> blue, $this -> Font, "RATA-RATA");
        }
     
   
   
    } 

?>

cara pake nya bisa seperti ini

<?

$sampelData = array(
      ‘1′ => array(
        ‘nama’  => ‘TO Pertama’,
        ‘total’ => 60,
        ‘rata’ => 56
      ),
      ‘2′ => array(
        ‘nama’  => ‘TO Kedua’,
        ‘total’ => 50,
        ‘rata’ => 40
      ),
      ‘3′ => array(
        ‘nama’  => ‘TO Ketiga’,
        ‘total’ => 43,
        ‘rata’ => 60
      ),
      ‘4′ => array(
        ‘nama’  => ‘TO Keempat’,
        ‘total’ => 12,
        ‘rata’ => 40,
      ),
      ‘5′ => array(
        ‘nama’  => ‘TO Kelima’,
        ‘total’ => 59,
        ‘rata’ => 40
      ),
      ‘6′ => array(
        ‘nama’  => ‘TO Keenam’,
        ‘total’ => 7,
        ‘rata’ => 10
      )
      ,
      ‘7′ => array(
        ‘total’ => 13,
        ‘rata’ => 34
      ),
      ‘8′ => array(
        ‘total’ => 4,
        ‘rata’ => 21
      ) ,
      ‘9′ => array(
        ‘total’ => 0,
        ‘rata’ => 40
      ),
      ‘10′ => array(
        ‘total’ => 30,
        ‘rata’ => 40
      )                                                           
    );
   
   
    $graph = new Grafik_Kacung;
    $graph -> setFont(’bookos.ttf’);
    $graph -> setData($sampelData);
    $graph -> setCanvas(350,550);

?>

 Kurang lebih hasilnya seperti ini:

Sample Grafik Kacung

Semoga Bermanfaat

Comments (1)