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:

Why developers should check out ColdFusion 8



Why developers should check out ColdFusion 8

By Brian Kotek
Source From TechRepublic
October 26, 2007, 9:11 AM PDT
Takeaway: Brian Kotek says existing ColdFusion users will find a lot to be happy about in version 8. He urges developers to try the application server and give it an honest look.
Adobe ColdFusion 8 (CF 8) is a force to be reckoned with in the application server space. I’ve been using ColdFusion for 10 years, and I haven’t seen the community this excited about a new release in a long time. The recent release is by far the most compelling version since they moved to the Java platform — and possibly even the most compelling version ever.
There is a long list of new features and enhancements in CF 8, but in this article, I’m just going to focus on five of my favorites.

Server Monitor

The Developer and Enterprise Editions of CF 8 offer the highly anticipated Server Monitor feature. This might be the single biggest addition to ColdFusion, since it blows away anything I’ve seen on any other server platform.
Using the beautiful Flex-based Server Monitor interface, you can now watch requests move through a live server. You can see exactly how much memory a session or an application is using, what the template cache is doing, and which threads are taking too long to run.
You can also drill down into live requests and see which individual tags or method calls are slowing things down. It’s immensely powerful to watch the monitor and immediately tune your code in response. Is a query getting executed a lot? Cache it! Is a tag or function causing a bottleneck? Now you know exactly what line of code to optimize. Want to write your own code that runs in response to a hung thread, low JVM memory, or anything else? The monitor API will let you.

Exchange integration

It’s incredibly easy to integrate CF 8 with Microsoft Exchange. With a few lines of code, you can add events to Exchange calendars; add and remove attendees; manipulate tasks, contacts, lists, and more.
Love it or hate it, Exchange is such a staple for many IT departments that the ability to interact with it — or even build your own full-blown interface to your Exchange data — is a big boon to a lot of businesses that use ColdFusion.

AJAX capabilities

Another hugely popular addition in CF 8 is a large set of built-in AJAX functionality. By using simple tags or JavaScript functions, ColdFusion will handle all the chores for creating great AJAX-based applications. CF 8 makes these things a snap: autosuggest, related select boxes, dynamic content updates, and EXT-based datagrids.
One of the coolest features is the ability to create JavaScript proxies for server-side ColdFusion Components (CFCs). You can call a method on the proxy, and under the hood it will make a call to the corresponding method on the CFC. All the work of translating data to and from JavaScript Object Notation, converting ColdFusion datatypes into JavaScript types, and protecting against hack attempts is all handled for you by the ColdFusion server.
There’s even an excellent AJAX debugging window that shows everything that is going on. This probably has the biggest “wow” factor for the new release, since developers of any skill level can whip up a jaw-dropping AJAX application in minutes.

Image manipulation

CF 8 takes image manipulation to a new level. Adobe added more than 50 new tags and functions for dealing with images. The capabilities include simple things like resizing, getting image sizes, and converting images, as well as virtually any image-based task you can imagine. This includes drawing, adding text, and adding effects such as blurring, antialiasing, and rotating.

Performance

The best improvement in CF 8 is that it’s really fast. The development team really outdid themselves in this area. Depending on the application, it can be up to 10 times faster than CF 6 or CF 7. Some processes, like CFC instantiation, are an eye-popping 23 times faster than CF 7. So even if you upgrade to CF 8 and don’t use any new features, your application could easily triple or quadruple its performance on the same hardware. This is quite a compelling reason to upgrade.

Great extras

I’m only scratching the surface of all the amazing new capabilities in CF 8. The list goes on and on to include: generating ATOM and RSS feeds with one line of code; zip file manipulation; built-in Flex Data Services; ColdFusion administrator enhancements; and PDF and PDF form generation. There are three additional benefits to using CF 8 that I will briefly cover.
CF 8 lets you integrate with .NET objects as easily as you can currently integrate with Java objects. The .NET assets can be remote, which means you can use them even if your ColdFusion server is running a UNIX-based OS.
Adobe supplies a series of nice plug-ins for the Eclipse IDE that work with CF 8. This includes simple things like built-in ColdFusion docs, automatic generation of CFCs (including ActiveRecord, Data Access Objects, Beans, etc.), and wizards that will generate a full-blown AJAX application. It also includes a full debugging perspective. In conjunction with the free CFEclipse plug-in, this makes Eclipse the standard IDE for most advanced ColdFusion developers.
CF 8 gives you the ability to do your own thread-based programming. If you have a long running task, you can fire off another processing thread and forget about it; or you can trigger multiple threads to speed up a process and then join them back together and continue.

Download a free edition of CF 8

CF 8 Developer Edition is free, so I urge you to give it an honest look. I believe existing ColdFusion users will find a lot to like in version 8, and new users should try out this application server.

What do you think of CF 8?

Now that I’ve shared my thoughts about my favorite features and enhancements in CF 8, I want to hear what you think of this release. What features do you like the most in CF 8? If you aren’t using CF 8, what features pique your interest enough to give it a look?


Click here to view

Monday, January 31, 2011

What are some common programming mistakes for a ColdFusion programmer to avoid?

Buat kawan kawan yang tgh rajin buat programming Coldfusion tu...
Habis la kena smackdown!!!

What are some common programming mistakes for a ColdFusion programmer to avoid?
  • set <cffile> upload path to a web accessible, CF-enabled directory!!!
  • isStruct() before isObject() in a series of <cfif>'s expecting isStruct only catches struct (cfc component returns True from isStruct() as well)
  • no HtmlEditFormat() when displaying user-generated content (XSS)
  • forgot to add output=false on CFC methods
  • not using <cfqueryparam> inside <cfquery>
  • not scoping not-so-evident variables like cfquery name or loop index in a method
  • use <cfform> when all they need is plain-vanilla HTML <form>
  • forgot to UrlEncodedFormat() user-defined URL
  • use <cffeed> without sanitizing the content
  • trust isDate() too much (any number would return true)
  • expect string comparison to be case-sensitive (IS and EQ operators are case-insensitive)
  • sending strings "yes" or "no" to SerializeJSON() without appending a whitespace to preserve the string (otherwise SerializeJSON() or DeserializeJSON() will translate them to "true" and "false")
  • not putting singletons services in application scope
  • blindly create as much CFCs as one wants like one would do in JAVA
  • putting complex value/object into a list (can't, list is just a string of comma-seperated values)
  • writing functions that takes array as an argument and modify that array expecting that array will be modified (array in CFML is passed by value)
  • blindly changes access="remote" on a method and expect it to work (when remote proxy is generally more appropriate)
  • use a lot of WriteOutput() in cfscript when CFML is more appropriate
  • blindly uses IsDefined() when StructKeyExists() can generally do it more efficiently
  • blindly uses Iif() and De() without knowing they're as nasty as Evaluate()
  • update some code in onApplicationStart() and not seeing the difference on refresh (restart the app!)
  • <cfloop> or '' outside of <cfquery> causing multiple new query connections to be opened. 99% of the time it's better to have multiple statements inside of one cfquery to perform multiple actions, or to UNION data together.
  • hardcoding absolute path when ExpandPath() is generally better
  • forgot to turn on Unicode support in DSN (Unicode becomes '????')
  • not upgrading to the latest JRE and Hotfixes
  • misusing Client scope and blow up Windows registry...
  • uses depreciated/obsolete functions/features (i.e. flash form aka flex 1.x alpha, cftable, Verity full-text search, etc...)
  • passing CFCATCH to a function as argument type Struct (CFCATCH behaves like a Struct, but it is not. Just pass it as type 'Any').
  • Not reading CFC Best Practices from ColdBox wiki.
  • buying in the mindset of .ASP(X) or .JSP or [insert web technology] are always better.. ;)
  • not use PrecisionEvaluate() and getting all sort of floating point rounding error especially when calculating money.

Friday, January 28, 2011

Download Movie Secara Percuma ala ala Lanun



ini lanun tgk pun cair beb.... jangan tgk lama lama kat peha tu... nanti mata jadi kelabu asap...
gambar sekadar hiasan dan untuk berfantasi


Aku nak kongsi dengan korang yang ada streamyx atau berukband yang laju macam siput tu, cara cara nak download movie dengan cara yang berkesan. alang alang dah bayar tiap bulan...kena la ada hasil yang boleh dikongsi bersama keluarga.

ni tak kira la movie baru ke lama... tapi harus diingat, movie baru, semuanya cinema copy tersembul kepala lanun... so boring la nak tgk...


Langkah secara ringkas....

  1. download applikasi nak download yang boleh resume anytime kalau kalau berukband tu terbungkang... senang crita... pakai la getright . kalau dah ada, jangan la install lagi... nanti jadi getwrong plak...
  2. ajukan browser anda ke http://www.megamovieline.com/.
  3. Pilih la movie yang anda suka... saya suka movie zombie... otakk otakkk...
  4. klik link yang mana mana la... kalau boleh yang dari novamov. bila dah open... page dari novamov tu... stop browser.
  5. view source page itu. Kalau pakai mozilla View --> Page Source. Kalau IE View -> Source. Coding HTML akan dipaparkan.
  6.  klik ctrl + F, untuk find text. Masukkan text '.flv' atau '.avi' ... jangan lupa dot tu ok. lepas tu find laa mana yang patut... kalau jumpa "http://rubbish_punya_nama.flv" copy kan url tu...
  7.  skrg buka getright tu... file -- > new url... apa lagi paste la url tu.. dan tekan ok



skrg anda sudah berjaya download movie dan tahniah kerana anda sudah menjadi ahli  pirate alam maya dengan jayanya... 
Jangan Beli pirate DVD...  fullstop!

Umang aiii.. EasyCap Capture aku dah sampai... Astro Hampeh...



umang aiiii....
Hari ni dah sampai barang baik punya... untuk merekod tv ke laptop.

Anak aku syasya tu, asyik nak tgk power karipuff girl tu hari hari aje... 
so adalah baik kalau aku rakam kan aje...  dan boleh la tgk hari hari...

dan lepas tu terbeli la aku benda ni... kalau nak tgk features dia tanya la mbah google ok.. tak pun klik sini

apa apa pun, kena try dulu... teorinya kata best... tapi tak tahulah... 
kena buat hands on training hujung minggu nie...

nanti aku rakamkan crita raja lawak khusus yang takde astro...



Thursday, January 27, 2011

Aku dah Menang aaa... Disney School Skills: Handy Manny Let's Learn Shapes & Patterns Workbook



Hari ni aku ada terima email baikkkk punya...


Setelah lama tak menang hadiah, akhirnya aku menang gak hari nie... walaupun bukan dpt menang hadiah wang tunai petronas tu... tapi best giler... sebab aku dah tewaskan 6 billion yang lain untuk dpt hadiah nie... har har har... 





"
Hi Haire,


Thanks much for participating in the The Star-Handy Manny contest!



We're happy to inform you that you've won a Disney School Skills: Handy Manny Let's Learn Shapes & Patterns Workbook!



Please give us about 2 weeks from now to mail the prize to you.  



In the meantime, have a great week ahead! "


What Berasap?


Perut dah lapar... malas plak aku nak turun...
Apa lagi selongkar padestal@7-11, ada la megi mee tahun lepas punya...

Nama mi segera ni Vit's...
rasanya ni nama  tokey kedai mee pada zaman dahulu kala kot... Vit Vot Vomit atau pun Prang Pung Vit... janji bukan kelapa savit...



Aku dari dulu masa sekolah pun memang makan mi segera ni aje... tak boleh lawan punya la yg lain... 



Tengok la punya sedap aku masak... korang boleh masak megi ker?
Sesekali makan megi ni sedap gak...
tapi jangan amalkan selalu, nanti putus urat  kentut dah hilang nikmat kentut bersama keluarga dalam kereta... har har har



Apa apa pun, buat member kat ofis tu... jangan marah yer... sebab bau semerbak satu ofis dengan megi hari nie...







Welcome to HaireMan


Assalamualaikum dan Salam Satu Malaysia

Welcome to my private lair...

I'm not superman or spenderman...

I'm Haireman...
the man who can eat 3 KFC chicken at one time (dinner plate)
and i can download movie even with my snail mail streamyx...

whut i write is whatever i want...
you don't like it... u can click alt + F4.
life is short... no time to curse or to shit shit someone... enjoy it while it last...