Although trivial, the difference between a parameter and an argument can often be a point of confusion for developers. A parameter can be defined as a variable in a method…
Difference between an Argument and Parameter
Difference between AdWords and AdSense
This is a commonly asked question and yet sometimes poorly answered, so here's the long and the short. Google AdWords Google AdWords allows you to create advertisements which appear in…
Solved – Could not get lock /var/lib/dpkg/lock
From time to time you might receive the following error when trying to install something: Could not get lock /var/lib/dpkg/lock To fix this you can run the following command: sudo…
How to Install Kdenlive on Ubuntu
Kdenlive is a free to download open source multi-platform video editing software. Assuming you require the Debian distribution package, follow these simple steps. To get started, open your terminal with:…
Open large text files Ubuntu Vim
Opening large log files with the default text editor or nano very quickly becomes a resource hogging nightmare. To solve this install Vim: sudo apt-get install vim Open the file…
Google Drive on Linux
Even though OverGrive is a closed-source paid application, you'll want to give it a look. At $5 per Google account, you can access all the features available on the application.But…
Separate Cron log Ubuntu
By default Ubuntu logs cron results to: /var/log/syslog Should you want a dedicated Cron log you can do the following: nano /etc/rsyslog.d/50-default.conf Uncomment the following line: #cron.* /var/log/cron.log Restart rsyslog:…
Find folder/directory size Linux
To find the size of a directory including files and folders therein, run the following command in the terminal: du -h /path/to/your/directory/ The -h flag stands for "human" which gives…
Find all unread mail Gmail
Have you been scrolling through hundreds of pages to find the unread mails? No need for that, simply type the following in Gmail search: is:unread
Change Git remote URL
If you need to change the URL for your git repository you will need to update the url by issuing the following command: git remote set-url origin YOUR-NEW-REPOSITORY-URL.git You can…
