Monday, February 21, 2011

How to install flash debugger

උබුන්ටු වලදි  firefox වලට flashfirebug install කරාට පස්සෙ එක වැඩ කරන්න flash debugger එක ඉල්ලනවා. flash debugger eka install කර ගන්නෙ මෙහෙමයි.

Step by step:
  1. uninstall any kind of flash plug you have at the moment, make sure it's gone. (this was my problem, probably had the real 64 bit plug installed and there were multiple libflashplayer.so spread all over the place. Make sure you clean out any flash plugin related files from your system)
    search for installed flashplugin packages:
    Code:
    aptitude search flash
    p   flashblock                                                - mozilla extension that replaces flash elements with a button        
    i A flashplugin-installer                                     - Adobe Flash Player plugin installer                                 
    i   flashplugin-nonfree                                       - Adobe Flash Player plugin installer (transitional package)          
    p   flashrom                                                  - Universal BIOS/ROM/flash programming utility                        
    p   flashybrid                                                - automates use of a flash disk as the root filesystem                
    p   libroxen-flash2                                           - Flash2 module for the Roxen Challenger web server                   
    p   m16c-flash                                                - Flash programmer for Renesas M16C and R8C microcontrollers          
    p   vrflash                                                   - tool to flash kernels and romdisks to Agenda VR
    you will get a list of packages with flash in the package name, remove them from your system.(flashplugin-nonfree, flashplugin-installer) using the command: sudo apt-get purge [PACKAGE NAME], e.g. sudo apt-get purge flashplugin-nonfree
    I always do sudo apt-get autoremove after purge, to get rid of remaining junk, not sure if it's important, but it feels good
  2. install the flash plugin using the command: sudo apt-get install flashplugin-nonfree
  3. download the debug player from Adobe: http://download.macromedia.com/pub/f...nux_dev.tar.gz
    if they moved the file google for: flash debug player linux
  4. replace the installed shared object file /usr/lib/flashplugin-installer/libflashplayer.so with the one you downloaded.

Friday, January 28, 2011

Google Talk and Pidgin

Settings:-


Basic Tab
protocol : xmpp
domain : googlemail.com
resource : Home


Advanced Tab
Require SSL/TLS, Force old port (5222), Allow plain text .... : All Unchecked
Connect Port: 5222
Connect Server: talk.google.com
File Transfer Proxies : proxy.jabber.org

Thursday, November 4, 2010

ZTE MF 628 Unlock කර ගන්නෙ මෙහෙමයි

මගේ කලින් post එකක ඇති Huawei HSDPA modem එකක් unlock කරන හැටි

මේක මම මුලින්ම දැක්කෙ ලහිරු මල්ලිගෙ බ්ලොග් එකෙන්.
කොතනින්ද හොරකම් කලේ කියල මුලින්ම කියන්න එපැයි :)

* මුලින්ම කරන්න තියෙන්නෙ මෙතන ඔබලා මේ software එක බාගන්න.

* දැන් බාගත්තු rar file එක unzip කරගන්න. (winrar පාවිච්ච් කරල මෙක කරගන්න පුලුවන්)

* දැන් dccrap.exe file එක double click කරල open කර ගන්න.

* ඊට පස්සේ පහල රූපයේ විදියට open උනාට පස්සේ මොඩෙම් එකට වෙනත් ජාලයක සිම් පතක් දමා (උදා-Dialog එකෙන් දුන්න එකකට Mobitel එකක් දමා) USB port එකකට පල්ග් කරන්න.


ඊට පස්සේ මොඩම් එකට අදාල connection manager software එක (උදා-Dialog Manager) ධාවනය වුනොත් විතරක් ඒක close කරලා දාන්න.මොඩම් එ‍කට memory card එකක් ගහගෙන ඉන්නවනම් card එක මුලින්ම ඉවත් කරලා ඉන්නවානම් හොදයි.මොකද unlock කරන අවස්ථාවේ වෙනත් මෘදුකාංග මොඩමයට සම්බන්ධ වීම බාධාවක් නිසා.
ඊට පස්සේ රූපයේ
01 ලෙස දක්වා ඇති drop down menu එකෙන් ZTE data cards කියන ඒක select කර ගන්න.
02 ලෙස දක්වා ඇති drop down menu එකෙන් Auto Detect කියන විකල්පය select කරගන්න.
03 ලෙස දක්වා ඇති Find button එක ඔබන්න. ඉන්පසු ටික වේලාවකින් සම්බන්ධ කොට ඇති මොඩමයේ වර්ගය පහල text box එකේ සටහන් වේවි.
04 ලෙස දක්වා ඇති Unlock button එක ඔබන්න.තප්පර කිහිපයකට පසු මොඩමය සාර්ථකව unlock වූ බව පහල text box එකේ සදහන් වේවි.
පහත රුපය බලන්න



ඊට පස්සේ ඉතින් මැසිම restart කරන්න.

Wednesday, October 13, 2010

‘බොක්සිං මංජු’ ලක්දිවට රන් ගෙනේ

ඉන්දියාවේ දිල්ලි නගරයේ පැවැත්වෙන 19 වැනි පොදු රාජ්‍ය මණ්ඩල ක‍්‍රීඩා උළෙලේදී කිලෝග‍්‍රෑම් 56 බර පන්තිට යටතේ අවසන් මහ තරඟයට තරඟ වැදුනු ශ‍්‍රී ලංකාවේ මංජු වන්නිආරච්චි ප‍්‍රතිවාදී ප‍්‍රබල වේල්ස් ක‍්‍රීඩක ෂෝන් මැක් පරදවා මේ දක්වා ශ‍්‍රී ලංකාව වෙනුවෙන් මෙම ක‍්‍රීඩා උළෙලේදී ලබාගත් ඉහලම සහ එකම රන් පදක්කම ලබා ගැනීමට සමත් වී ඇත. එසේම වසර 60කට පසුව ශ‍්‍රී ලංකාව වෙනුවෙන් පොදු රාජ්‍ය මණ්ඩල ක‍්‍රීඩා උළෙලකදී බොක්සිං තරඟයකදී පදක්කමක් ලබාගත් ප‍්‍රථම අවස්ථාව වෙයි.
 

Tuesday, September 14, 2010

Clean Your DNS Cache to Fix Browsing Problems

If you've found yourself hitting DNS errors or 404 pages in your browser but you know your net connection is working fine, it might be time to flush and restart Windows' DNS cache. The How-To Geek shows how to do this in three command line entries, although you might only need the first to see results. After launching a command prompt as an administrator and closing down Firefox (which has its own DNS cache), enter the following:
ipconfig /flushdns
net stop dnscache
net start dnscache
The Geek also shows you how to restart the service in Windows XP or Vista's DNS service from the graphical services menu.

Friday, May 7, 2010

Unit testing with PHPUnit

PHPUnit

In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems. Critical business logic like this needs to work correctly. But how do you ensure that it does? You test it, of course.

To make code testing viable, good tool support is needed. This is where PHPUnit comes into play. It is a member of the xUnit family of testing frameworks and provides both aframework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.


Features

Fiddler

What is Fiddler?

Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.

Fiddler is freeware and can debug traffic from virtually any application, including Internet Explorer, Mozilla Firefox, Opera, and thousands more.

Visit the Fiddler Download Page...