ලේසියෙන්ම හොයාගන්න මෙතනින්

ඔබේ Java Applicationට අවශ්‍ය සියලුම Library File එක්කම Windows Executable (EXE) file එකක් බවට පත් කරමු.

මින් පෙරත් මම .JAR file එකක් .EXE එකක් කිරීම පිලිබඳ post එකක් දැම්මා. එහිදී Java Project එකේදී යොදා ගත් Library files exe file එකට ඇතුලත් කිරීම සම්බන්ධව කතා කලේ නැහැ. ඒ නිසා අමතර JAR Library files යොදා ගත්තා නම් ඒවා exe file එක ඇති තැනම lib නමින් folder එකක ගබඩා කලයුතු උනා. ඒ ලිපිය මෙතනින් බලන්න. 
ඔබේ Java Application එක Windows Executable (EXE) file එකක් බවට පත් කරමු.

නමුත් දැන් මම සඳහන් කරන්න යන්නේ ඒ Java Project එකට යොදාගත් සියලුම JAR Library files, EXE file එකට ඇතුලත් කරල, Library files හංගලා, වෙනම distribute නොකර exe එකක් හදාගන්නේ කියල. exe file එකේ file size එකනම් ඉතින් ටිකක් වැඩිවෙනවා යොදා ගත් Libraries ප්‍රමාණය අනුව.

Windows වල ඉදන් Laptop එක Wi-Fi Hotspot එකක් කරමු

මේ post එකෙන් කතා කරන්නේ අපි කොහොමද අපේම Laptop එක Wi-Fi Hotspot එකක් කරන්නේ කියල. ඒ කියන්නේ Laptop එකට එන incoming connection එකක් (Wifi, LAN, Cable Modem, Dial-up, Cellular, etc.) ඔයාගේ Laptop එකේ Wi-Fi හරහා share කරන්නේ කොහොමද කියල. අනික මේකෙන් හදන Wireless Connection එක ඕනෑම device එකකට share කරන්න පුළුවන්. (Laptops, Smart Phones, iPod Touchs, iPhones, Android Phones, Zune, Netbooks, wireless printers, etc.)

Generate Reports in PHP

You may need to generate reports based on your data retrieved from database. Here I will show how you can do it easily and free. I m using a library called FPDF.
FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

FPDF has other advantages: high level functions. Here is a list of its main features:

  • Choice of measure unit, page format and margins
  • Page header and footer management
  • Automatic page break
  • Automatic line break and text justification
  • Image support (JPEG, PNG and GIF)
  • Colors
  • Links
  • TrueType, Type1 and encoding support
  • Page compressing 

PHP, MySQL Integration - Perform Select, Insert, Update, Delete from PHP

In order to MVC Architecture, try to keep you coded php files seperately and try to reduce repeat save code. A simple basic programming concept. However to get establish database connection in PHP is very simple. Write a seperate php file for prepare database connection. In my case, my file name is db.php which I put it in controller folder.

<?php
    $host="localhost";
    $userName="root";
    $password="yourPassword";
    $db_name="databaseName";
    mysql_connect($host,$userName,$password) or die("Unable To Connect Database");
    mysql_select_db("$db_name") or die ("No Such Database.");

?>

How to install Oracle 11g R2 on Windows 8.1, 8, 7 SP1

අපි බලමු Oracle 11g R2 කොහොමද Windows වලදි Install කරන්නේ කියලා. මේ ලිපිය ලියන අවස්ථාව වෙනකොට Oracle Database වල නවතම සංස්කරණය වන Oracle 12c නිකුත් වෙලා තියෙනවා.  
Oracle Database 11g R2 Preinstallation Requirements
මීට අමතරව Windows 8.1 සඳහාද සහය දක්වයි. (Tested)
මුලින්ම බලමු Oracle11g R2 download කරගන්න. මේ පහත දැක්වෙන links click කරලා ඔයාලට පුළුවන් download කරගන්න. සමහරවිට Oracle හි account එකක් තිබීම අවශ්‍ය වේවි. එසේ අවශ්‍ය වුනොත් Free Register වෙන්න පුළුවන්. zip file 2ක් තියෙනවා. දෙකම download කරගැනීම අවශ්‍යයි. ඔබගේ Windows සංස්කරණයට ගැලපෙන පරිදි පමණක් download කරන්න.

How to install Windows 8 on Dell n5110 - Black Screen fix

ඔයාලගේ Dell n5110 Laptop එකට Windows 8 install කරන්න බැලුවද ? කළු screen එකක් ඇවිත් නැවතිලා දිගටම තියෙනවද ? කරගන්න බැරි උනාද ? එහෙනම් ඔන්න අපි බලමු කොහොමද Dell n5110 ට සාර්ථකව Windows 8 install කරන හැටි.
මුලින්ම කියන්න ඕනෑ, මේ කරන දේ Risk එක වැඩී. වැරදුනොත් මේ පිලිබඳ කිසිදු වගකීමක් මම දරන්නේ නැති බව කියන්න ඕනා. ඒ නිසා අවදානම ගන්න නොගන්න එක ඔයාලගේ වැඩක්.මම මේ දේ කළා. 100% ක් සාර්ථකව කරගත්තා.

Fixed :: Android Studio 0.1v could not open and SDK out of date

When I downloaded Android Studio 0.1v for the first time (for Windows), it didn't response. So I checked on Google Android Studio web site, they says set Java path to Windows Environment variables. So I set it. Then, program opened. I was happy. But again, Android Studio 0.1v shows me that, SDK is out of date and it requires SDK 22. But I had SDK 22. (ADT Bundle with latest update). Now I'm going to show you on this video how I fixed it. And this is how you going to fix it.

Download File (699MB file compressed to RAR) - 9.62MB
File format - .avi
Bonus - how to change IntelliJ look and feel (appearance) - Watch Me - Watch Video

VMware වල ඕන කරන packages එක්කම Fedora install කරමු.

මුලින්ම කියන්න ඕන මේ කරන විදිහට,  OS දෙකක් dual boot දාන්න හිතාගෙන Computer එකේ partition වලට directly install කරන්න යන්න එපා. ඒක කරන්න වෙනම විදියක් තියේ.
අලුත් VMware සංස්කරණවල Easy Install නම් feature එක තුලින් User ට පහසුවෙන්, අඩු පියවර ගණනකින් Operating System එකක්, ඒ තුල Install කිරීමේ හැකියාව ලබාදී තිබේ. නමුත් ඔබට ගැටළුවක් වෙලා තියෙන්න ඇති, කොහොමද අපිට උවමනා කරන Software, Packages එක්ක Customized Installation එකක් කරගන්නේ කියල.

Windows Experience Index එක Customize කරමුද ?

එහෙනම් යාලුවනේ කාලෙකට පස්සේ ඔන්න මං ආයෙමත් වැඩ පටන් ගන්නවා. හුඟ කාලෙකින් බ්ලොග් එකේ මුකුත් post කරන්න බැරි උනා. 
කට්ටියටම ලණුවක් දීලා තමා මේ වැඩේ පටන් ගත්තේ. ඒ ගැන පොඩ්ඩක් සමාවෙන්න ඕන. මේකට හුඟක් කට්ටිය රැවටුණා. මට මොන Alien-ware ද. Photoshop, Computer ජිල්මාට් වැඩ තමා.

SLIIT - 2nd Year 2nd Semester All Downloads

Design and Analysis of Algorithms (DAA) - 2010 Mid Exam Paper Answers
http://www.mediafire.com/?jaav7g3yj4e537a

Design and Analysis of Algorithms (DAA) - 2011 Mid Exam Paper Answers
http://www.mediafire.com/?99mlcdpq27v3cpk

MORE ...

SLIIT - 2nd Year 1st Semester All Downloads

DCCN II (Data Communication and Computer Networks) 2010 - Final - Answers
http://www.mediafire.com/?m9i1tso30a55vo5

MORE ...

SLIIT - 1st Year 2nd Semester All Downloads

Internet Technology and Applications - 2013 Mid Exam Paper Answers
http://www.mediafire.com/view/6l8518g0g6xrsmy/ITA_Mid_2013_Answers.pdf

Foundation of Computer Science Assignment 1 Q&A - 2010
http://www.mediafire.com/?hsms2c9y96i8o9i

MORE ....

SLIIT - 1st Year 1st Semester All Downloads

CF (Computer Fundamentals) Short Note
http://www.mediafire.com/?9bvlgx4l9xfzgls

MORE ...