Saturday, September 10, 2011

Photobook Easy to PDF



Assalamualaikum...


Buat rakan rakan yang rajin design photobook untuk diprint... setelah penat berphotoshoot lepas raya...

download aje ini program dari HP... terbaek dan mudah... output terus ke PDF... 

combine dan boleh hantar ke mana mana kedai... 


http://www.hp.com/global/us/en/consumer/digital_photography/free/software/photo-creations.html?jumpid=ex_r602_go/hppcstudio


Bila dah buat.. jangan lupa install PDF printer...


untuk jadikan PDF... print as PDF dan... violahhhhh.... terbaek... kata tok aba...






Photoscape itu bagus... tapi susah nak adjust frame kasi senget or macam macam...\

Friday, September 9, 2011

Selamat Hari Raya Dari Kami Seisi Keluarga....


Pantun Raya Banjar untuk Semua....



Memarut ninyor sagan mengga-ngan,
pemarut di-injam dirumah kulaan,
tuhok hudah kita begurauan,
wayahnya kini kita bemaapan




"Selamat Hari Raya untuk semua rakan rakan
dan
semua umat manusia seantero dunia...

Dari Kami Seisi Keluarga....

Jemput Datang Ke Rumah pada sepanjang Syawal tahun ini ke Syawal tahun depan...


Di Alamat :
No 3, Jalan Meranti 9C/KU 10,
Taman Desa Permai,
Meru Klang

Thursday, August 18, 2011

Connecting to Oracle 10G, when you have Oracle 11G Installed in your PC





When you want to connect to Oracle 10G, 
when you have Oracle 11G already Installed in your PC... 


you will get something like whut the hell i cannot connect to 10G now?


the trick is...


the Environment Path in windows will set the pirority to 11G so your 10G will be left out and get rotten suck.


to solve it... just alter the environment 


and set the path again so 10G is the first pirority :


C:\oracle\product\10.2.0\client_1\bin;c:\app\product\11.2.0\dbhome_1\bin;


how about that? now u can logon and do import export your DMP files again...



Wednesday, August 10, 2011

oracle timestamp tak sama dengan sysdate








jika anda select CURRENT_TIMESTAMP  dan tak sama dengan SYSDATE, maknanya setting time zone tak betul.


untuk betulkan sila run berikut ( kl adalah minus 8, bukan plus 8 la ok dalam oracle nie ):
    
    ALTER SESSION SET TIME_ZONE = '-8:0';


dah select semula disini :
    

    SELECT CURRENT_TIMESTAMP, SYSTIMESTAMP, sysdate FROM DUAL;    


haaa... kan dah sama... terbaekk kata tok aba

Wednesday, August 3, 2011

Oracle Wrapping / Obfuscating






The advantages of obfuscating, or hiding, the source code of PL/SQL units with the wrap utility or wrap subprograms of the DBMS_DDL package are:
  • It is difficult for other developers to misuse your application, or business competitors to see your algorithms.
  • Your source code is not visible through the USER_SOURCEALL_SOURCE, or DBA_SOURCE data dictionary views.
  • SQL*Plus can process the obfuscated source files.
  • The Import and Export utilities accept wrapped files. You can back up or move wrapped procedures.
Untuk Hide Script Dari Orang Lain @ Kedekut Sikit @ Kasi Secure Sikit, Anda Hanya Perlu Wrappingkan Coding Anda.


sila ikut sebijik contoh dibawah :


coding asal :
=============================================
CREATE OR REPLACE PACKAGE HAIRE.PKG_1
AS
   FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC;
END;
/


CREATE OR REPLACE PACKAGE BODY HAIRE.PKG_1
AS
     encryption_key    PLS_INTEGER := DBMS_CRYPTO.ENCRYPT_DES; 
     encryption_type     RAW (32) := UTL_RAW.cast_to_raw('KeySulitTakBolehShare10012');
     


     FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC
     IS
        encrypted_raw      RAW (2000);
     BEGIN
        encrypted_raw := DBMS_CRYPTO.ENCRYPT
        (
           src => UTL_RAW.CAST_TO_RAW (p_plainText),
           typ => encryption_key,
           key => encryption_type
        );
       RETURN encrypted_raw;
     END encrypt;
END;
/


script untuk encrypt :
=============================================
 DECLARE
  v_procedure VARCHAR2(32767);
  BEGIN
   v_procedure :=  'CREATE OR REPLACE PACKAGE BODY HAIRE.PKG_1 AS      
     encryption_key    PLS_INTEGER := DBMS_CRYPTO.ENCRYPT_DES; 
     encryption_type     RAW (32) := UTL_RAW.cast_to_raw(''KeySulitTakBolehShare10012''); 
     FUNCTION encrypt (p_plainText VARCHAR2) RETURN RAW DETERMINISTIC     IS        encrypted_raw      RAW (2000);     BEGIN
        encrypted_raw := DBMS_CRYPTO.ENCRYPT  ( src => UTL_RAW.CAST_TO_RAW (p_plainText),  typ => encryption_key,  key => encryption_type  );  RETURN encrypted_raw;
     END encrypt;'
    || 'END;';


    SYS.DBMS_DDL.CREATE_WRAPPED(v_procedure);

  END;
  /


coding yang di encrypt encrypt :
=============================================
CREATE OR REPLACE PACKAGE BODY HAIRE.PKG_1 wrapped 
a000000
1f
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
b
220 17d
wzuxYssdavttxYHqXzhV1MDQgswEF8wg3nMr9zbyi+BNA9as/xHmM3ux5NLTYvQIt8Z8+NyaDtluG
1861gIhWSOVDZ0DGpRkTB5TALwDmeCZEIrwZNTBaHsifISVip9KRFa odmiUbGpP+1R
4B+4DSPlHnsnm/xLsYtLtXAkAKnhNLe4P2gTMoZTasaNB3jqFIeM09m/50NlaoGkQ8eMP14eUoP
ATTwMhJOsl3qGAo=
/

Friday, July 22, 2011

Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item





Kalau korang dpt error yang fening dan hampeh macam ni...

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."





Senang aje... follow solution ini...


On the Windows 2003 server, go to add/remove windows components, then uninstall the Internet Explorer Enhanced Security component.

Thursday, June 23, 2011

Bagaimana nak panggil Satu Query Dari Coldfusion ke Oracle

contoh nak panggil package procedure dari oracle


contoh ini akan tarik query... so processing adalah dari database server bukan web server... jimattttttt


create or replace 
package test_sel_query
as
    type cursorType 
     is ref cursor;

    function test_func 
     return cursorType;

end;
/

create or replace 
package body test_sel_query
as

   function test_func 
    return cursorType
   as
      cursor_v   cursorType;
   begin
        /* 
        Put whatever SQL and/or processing here.
        I use the Oracle dictionary table 
        all_objects as an example.
        */
       open cursor_v 
         for 
         select object_id, 
                object_type, 
                  object_name 
         from all_objects 
         where rownum <= 15;

       return cursor_v;

   end test_func;

end test_sel_query;
/


Terbaekk... kata tok aba...


<cfstoredproc 
 procedure="test_pkg.test_sel_query" 
 datasource="yourDSN">
    <cfprocresult name="q">
</cfstoredproc> 
<cfdump var="#q#">

Monday, May 23, 2011

Dell Precision T3500 Suck!




Dell Precision T3500 Suck Big Time...


Baru pakai kejap aje dan kong hardisk... bodoh punya dell, lain kali jangan pakai westerndigital@kaput punya harddisk la...


dalam 3 bulan nie... dah 2 workstation jenis ni kong hardisk... nak salahkan siapa? 


nasib baik aku ada buat backup sikit sikit... kalau tak... menangis tak berlaku la nasibnya...


moralnya... jangan beli pc dell laa... bodoh punya pc yang menyusahkan orang... stick with HP... terbaekkkkkk kata tok aba....

Friday, May 6, 2011

ORACLE - DATE WHERE FILTER





Dalam oracle ni, senang aje kalau nak filter by date secara manual... 


contoh filter secara manual dengan tarikh dan masa dimasukkan ikut suka hati sendiri aje.




SELECT  COUNT(DISTINCT AUD_LOGINID) AS TOTAL
FROM   AUDIT_LOGIN
WHERE     DATE_LOGIN > TO_TIMESTAMP('24/03/2011 01:01:01', 'DD/MM/YYYY HH24:MI:SS')



contoh filter  kalau nak ambik data yang semalam punya

SELECT  COUNT(DISTINCT AUD_LOGINID) AS TOTAL
FROM   AUDIT_LOGIN
WHERE     DATE_LOGIN > sysdate - 1






haaa... kan senang aje....

Friday, April 1, 2011

Coldfusion 9 Free Version - Percuma aje tak kena bayar pun....



Gambar ni takde kena mengena pun laa....



Buat mereka mereka yang sukakan benda benda free... 

Coldfusion sekarang boleh dipakai secara percuma... untuk pelajar pelajar , staf dan yang terlibat dalam Universiti dan sewaktu dengannya...

Kalau nak dapat percuma, kena la buat kerja sikit... scan kad matrix atau kad staf... dan kemudian hantar...
tunggu aje la untuk dptkan licence coldfusion...


I don't hate PHP, but I love COLDFUSION more.... Coldfusion, Retreat! Hell!!!

----------------------------------------------------------------------------------


Adobe ColdFusion 9 for Education is available for free to educational customers to use for learning purposes only and not for production purposes. This includes all qualified students, faculty and staff of eligible education institutions. 
Language (CFML) full scripting language which syntx resembles HTML closely, but comparable to the scripting components of ASP, JSP, and PHP in purpose and features.

Adobe ColdFusion has been commonly used to create data-drive web sites or intranets, and can also be used to generate remove services such as SOAP web servers or Flash remoting. Adobe ColdFusion 9 is the latest version of Adobe ColdFusion, which introduces lots of new features. The top features of Adobe ColdFusion 9 include:
  • Office file interoperability.
  • Broader set of Ajax controls that leverage the new Ext JS 3.0 library via CFML tags and attributes, including mapping, multimedia player, multifile upload, accordion navigation, progress indicator, confirmations, alerts, buttons, and sliders.
  • Adobe AIR local/remote database synchronization.
  • Faster Flash Remoting to increase application performance.
  • Leverage the power of ColdFusion enterprise services via AMF or SOAP without writing a single line of CFML.
  • Instance-based licensing.
  • Object-relational mapping.
  • Adding images to PDF files directly within the CFPDF tag.
  • Brand and protect files by easily adding watermarks, headers, and footers to PDF files.
  • Simultaneously performing administrative tasks across multiple servers from one central console – Server Manager.
  • User-based Administrator and RDS access.
  • Server Monitor.
Adobe ColdFusion is an expensive piece of software, where Enterprise edition costs US$7,499 for new license or US$3,750 for upgrade license, and Standard edition costs US$1,299 for new purchase or US$649 for upgrading from previous version of Adobe ColdFusion.
To promote Adobe ColdFusion, Adobe is giving away free license of Adobe ColdFusion 9 for Education (and also future versions) to eligible people at academic or educational institutions, where students, faculty and staff of eligible education institutions are qualified. Adobe ColdFusion 9 for Education is meant to use for learning purposes only and not for production purposes.
Proof of eligibility is required to receive the free copy of Adobe ColdFusion 9 Enterprise Edition for Education, which can be one of the any following:
  1. student ID showing current enrollment, or
  2. faculty ID showing current employment, or
  3. non-faculty employee ID showing current employment, or
  4. a letter on an educational institution letterhead stating that you are either a current student, a current faculty member or a current non-faculty employee of the institution.
If you satisfy the requirement, just head to the registration site athttps://freeriatools.adobe.com/coldfusion/ to register and receive the free serial number to activate the product. Customers can download trial version of Adobe ColdFusion 9 and use the serial key code to unlock and activate the full version ColdFusion.

Monday, March 21, 2011

Battle: Los Angeles --- Da Bomb!








Aku dah pi tgk crita nie... memang power la crita... action aje la memanjang... dari sepuluh bintang, aku kasik semua bintang laa... sebab suka hati aku la nak kasik berapa kan....

yang best...
1. Tembak sana dan sini... dan kaboom...
2.  Tembak sana dan sini... dan mati plak marines... ( ingatkan US marines ni tak leh mati.. rupanya mati gak )

3.  Tembak sana dan sini... dan mati la ko alien...
4. Alien pulak tembak kat heroes... tak kena langsung ( alien tak pergi belajar menembak lagi.. baru habis sekolah memandu )

overall... memang best la crita ni... bagi peminat sains fiksyen dengan banyak aksi die! die! alien die!...
Now let us kill some ET's... hooo rahhh!!!





Friday, February 25, 2011

SAMAN EKOR - aku dah bayar


Hari ini aku berjaya bayar saman aku pakai myeg... saman tahun 2007. ada laa dapat diskaun 50%.  so bayar ajela ok... jangan menyusahkan diri masa nak buat road tax nanti sudah laa.... banyak gak tu rm 150... boleh beli lampin anak aku dalam 5 beg laa...

tapi secara amnya... aku tak halal kan dunia akhirat laa... korang nak kata apa lantak la...  duit aku yang kopak... binawe betul laaa...







Monday, February 14, 2011

Wednesday, February 2, 2011

ColdFusion 8 Tips - Supported Image Formats


The following article is a compilation of Ben Forta's blog entries from his ColdFusion 8 usergroup tour.
ColdFusion 8-Supported Image Formats
Lots of you have been asking about ColdFusion 8's planned <CFIMAGE> tag, wanting to know what image formats will be supported (many of you are asking about GIF and PNG specifically). As long as you keep in mind that ColdFusion 8 is a work-in-progress and that features and specs can change...
ColdFusion 8 has two new functions: GetReadableImageFormats() returns a list of the supported readable image formats, and GetWriteableImageFormats() returns a list of supported writable formats. The following code snippet shows all supported formats:
<cfset r=GetReadableImageFormats()>
<cfset w=GetWriteableImageFormats()>

<cfoutput>
Readable (#ListLen(r)#): #r#<br>
Writeable (#ListLen(w)#): #w#<br>
</cfoutput>
Running this code (in Beta 2, remember, this can/may still change) displays the following:
Readable (15): BMP,GIF,JFIF,JPEG,JPEG 2000,JPEG-LOSSLESS,JPEG-LS,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP
Writeable (15): BMP,GIF,JFIF,JPEG,JPEG 2000,JPEG-LOSSLESS,JPEG-LS,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP
And, yes, GIF and PNG are both supported (both read and write).
Getting Started with the ColdFusion Debugger
After a seven-year hiatus, ColdFusion once again has an interactive debugger, and this time it's built on top of Eclipse (and uses the same debugging interface as Flex Builder and other Eclipse plug-ins). If you are interested in taking the debugger for a spin, here's what you need to know to get started: