Posts

GIT Basics -1

Image
  Git is a version control system used to track changes in software development projects. It is a powerful tool that allows developers to collaborate, share code, and manage changes to their codebase. Here are some basic concepts and commands to get started with Git: Git Repository : A Git repository is a collection of files and folders that are managed by Git. It can be stored locally on your computer or remotely on a Git server such as GitHub, GitLab, or Bitbucket. Git Commit : A Git commit is a snapshot of changes made to your codebase. It is a way to save your work and document what has been changed. When you make a commit, you are creating a new version of your code. Git Branch : A Git branch is a separate line of development that allows you to work on different features or bug fixes in isolation. It is a way to experiment with changes without affecting the main codebase. You can create, switch, and merge branches in Git. Git

Learn Windows 10's touchpad gestures for laptops

Image
Here are Windows 10's trackpad gestures. Microsoft changed Windows for the better when it introduced trackpad gestures in Windows 8. The new gestures made controlling your PC a far more fluid experience, helping you get things done more efficiently without the need for mouse-like buttons at the top of the touch area. In Windows 10, Microsoft improved on Windows 8's foundation. Beyond integrating existing gestures, the company added new touch controls and dumped items that wouldn’t make any sense in Windows 10, like swiping in from the right edge for the Charms bar (since Windows 10 doesn't have a Charms bar).  The only requirement for using these gestures is that you have a precision touchpad, so some older laptops won’t be able to use them. If you’re not sure if your touchpad supports gestures, open the Settings app and go to  Devices > Mouse & touchpad . Under the “Touchpad” heading it will say “Your PC has a precision touchpad” if you can swipe and tap in

Windows 10: The 10 best new features

Image
The best of what's new Let’s not beat around the bush:  Windows 10 is wonderful . It’s head-and-shoulders better than Windows 8.1, at least for traditional PC users. The fact that it banishes full-screen apps and the Metro Start screen to the aether, focusing instead on the tried-and-true desktop, should be reason enough to  make PC purists smile . That’s just the tip of the iceberg, though. If you’re fresh to Windows 10, these are the cool new features you’ll want to check out first. source :  http://www.pcworld.com/                 http://www.pcadvisor.co.uk/   Windows 10  is upon us at long last. Whether you've updraded or not, here are the best 10 features of the upcoming operating system.  See also :  Windows 10 hands-on review . Microsoft had a lot to say during its January briefing and gave a look at what Windows 10 will look like in terms of end user features and the final version is now here. If you missed the event, you can replay it on our  Wind

වසර 25ක Adobe ගැටලුවට ලාංකේය පර්යේෂකයකු ගෙන් විසඳුම්

Image
ලෝ ප්‍රකට Adobe සමාගමෙහි නිෂ්පාදනයක්‌ වන Photoshop මෘදුකාංගයෙහි වසර 25ක ඉතිහාසය තුළ විස¹ගැනීමට නොහැකි ව තිබූ ගැටලුවක්‌ විසඳීමට ඇමෙරිකාවේ MIT සරසවියේ පරිගණක විද්‍යා හා කෘත්‍රිම බුද්ධි පර්යේෂණාගාරයේ (Computer Science and Artificial Intelligence Laboratory - (CSAIL) පර්යේෂකයකු සමත් ව තිබෙනවා. විශේෂත්වය වන්නේ ඔහු ශ්‍රී ලාංකිකයකු වීමයි. කොළඹ රාජකීය විද්‍යාලයයේ හා මොරටුව සරසවියේ ඉංජිනේරු පීඨයේ ආදි සිසුවකු වන ඔහු චරිත් මෙන්ඩිස්‌. Photoshop වැනි රූප සංස්‌කරණ කාර්යයන් සඳහා භාවිත කරන මෘදුකාංග මුහුණ දෙන ප්‍රධාන පෙළේ ගැටලුවක්‌ වන්නේ කාලයත් සමග ඒවායේ කේතමය උපදෙස්‌ කෙමෙන් "වියෑකී" යැමයි. (Bit rot). සැම මෘදුකාංගයකට ම පොදු මේ තත්ත්වය Photoshop වැනි මෘදුකාංගවලට විශාල ලෙස බලපානවා. මීට හේතුව වඩා හොඳ වේගවත් සේවාවක්‌ ලබාගැනීම සඳහා මේ මෘදුකාංගවල මූල කේත කලින් කලට විශාල ලෙස ප්‍රශස්‌තකරණය (Optimize) කිරීමට සිදු වීමයි. කේතමය උපදෙස්‌ වියෑකීම නිසා කාලයත් සමග මේවායේ කාර්යක්‌ෂමතාව පහළ බසිනවා. ඒ නිසා Adobe වැනි සමාගම් සැම වසර කිහිපයකට වතාවක්‌ ම පරිගණක විශේෂඥයන් සිය ගණනක්‌ යොදාගනිමින් මේ

IrfanView : Simple Windows graphic viewer

Image
IrfanView is a very fast, small, compact and innovative FREEWARE (for non-commercial use) graphic viewer for Windows 9x, ME, NT, 2000, XP, 2003 , 2008, Vista, Windows 7.  (click here for IrfanView EULA ) It is designed to be simple for beginners and powerful for professionals. IrfanView seeks to create unique, new and interesting features, unlike some other graphic viewers, whose whole "creativity" is based on feature cloning, stealing of ideas and whole dialogs from ACDSee and/or IrfanView! (for example: XnView has been stealing/cloning features and whole dialogs from IrfanView, for 10+ years). IrfanView was the first Windows graphic viewer WORLDWIDE with Multiple (animated) GIF support. One of the first graphic viewers WORLDWIDE with Multipage TIF support. The first graphic viewer WORLDWIDE with Multiple ICO support. Some IrfanView features : Many supported file formats (click here the list of formats ) Multi language support Thumbnail/previe
Grants privileges to MySQL user CREATE USER  'root'@'localhost' IDENTIFIED BY 'pass'; pass : enter your password Grant full rights GRANT ALL ON *.* TO 'root'@'localhost'; more info http://dev.mysql.com/doc/refman/5.1/en/grant.html

Calculate table size and index size in Mysql

Calculate table size and index size in Mysql mysql> SELECT table_name, `engine` ,ROUND ( data_length/ 1024 / 1024 , 2 ) total_size_mb, ROUND ( index_length/ 1024 / 1024 , 2 ) total_index_size_mb, table_rows FROM information_schema. TABLES WHERE table_schema = 'SalesDB' ORDER BY 3 ; SalesDB -- Database name total_size_mb -- Total size in MB query result table_name engine total_size_mb total_index_size_mb table_rows Customers InnoDB 0.45 0.11 1257 Invoices InnoDB 1.73 1.21 12785