Flickr is a very popular web hosting service used by many people to store photos and videos, as well as share them with others. However, it is not particularly easy to upload entire photo collections, unless you find the right application to help you out. Flickr Uploader is a fairly simple utility that can send all your photos and videos to a Flickr account automatically, and is also capable of creating albums based on folder names. Easy-to-use tool that allows you to start uploading in seconds First and foremost, you need to select the folder you wish to backup and specify whether or not both photosRead More →

When you experience high memory usage on Windows, but when you open Task Manager, you don’t see any program using too much memory.  There is some memory usage that is not visible in task manager, i installed RamMap , a part of SysInternals tool, i was able to find the hidden memory usage. I can quickly free that memory by going to the menu Empty -> Empty System Working Set. Thanks to this Post [Solved] High Memory Usage by Metafile on Windows 2008 R2   https://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL405Read More →

Using PHP 7.0 on Ubuntu 16.04 LTS Ubuntu 16.04 has switched to PHP 7.0 with a new infrastructure for PHP package. So, no, you can’t install php5 on Ubuntu 16.04, but you can install PHP 7.0 packages with: apt-get install libapache2-mod-php That will install a virtual package that depends on the latest PHP version and pull libapache2-mod-php7.0 as a dependency. If you are looking for extensions, always use a version-less variant as well (e.g. php-apcu instead of php7.0-apcu) as the PECL extensions are packaged without the version to allow smooth upgrades. Using PHP PPA to coinstall PHP 5.6 with PHP 7.0 There’s an option toRead More →

If you receive the error above in Nagios, the workaround is to exclude tracefs from the check_disk command. Login to your client server, nano /etc/nagios/nrpe.cfg   find the check_disk and add –exclude-type=tracefs It will looks like this: /usr/lib/nagios/plugins/check_disk -e –exclude-type=tracefs /etc/init.d/nagios-nrpe-server restart  Read More →

  If you use the default Photos App on Windows 10, you will see that the photo is not clear. When we use Windows 7, we have Windows Photo Viewer, it’s clearer, now we dont see it any more. Here is the trick to restore the Windows Photo Viewer app. Copy the following content  and save it as a file with .reg extension Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\.jpg] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.jpeg] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.gif] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.png] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.bmp] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.tiff] @=”PhotoViewer.FileAssoc.Tiff” [HKEY_CURRENT_USER\Software\Classes\.ico] @=”PhotoViewer.FileAssoc.Tiff” Double click on the file you just save. Select Yes to import this content into your registry. Now, right click on any photoRead More →

Upgrade the version: sudo apt-add-repository ‘deb http://archive.ubuntu.com/ubuntu yakkety main universe multiverse’ sudo apt-get update sudo apt-get install openssh-server=1:7.3p1-1 or we can install from source: wget http://mirror.exonetric.net/pub/OpenBSD/OpenSSH/portable/openssh-7.2p2.tar.gz tar -zxvf openssh-7.2p2.tar.gz cd openssh-7.2p2 ./configure make sudo make install  Read More →

SQL Thread is not running When relay log is corrupted  , meaning the slave server is stopped unexpectedly How to fix: – run show slave , we’ll see the IO thread running but SQL thread is not working. – check Relay_Log_File name , for example , mysqld_3308-relay-bin.000044 then we know that 44 is corrupted, so we’ll increase it stop slave; change MASTER To Relay_Log_File=’mysqld_3308-relay-bin.000045′,Relay_Log_Pos=4; start slave; SQL IO is not runnning run show slave to check Master_Log_File  value , then increase it to 1 Check  : Master_Log_File mysql-bin.003591 stop slave; change MASTER To Master_Log_File=’mysql-bin.003592′,MASTER_LOG_POS=4; start slave;  Read More →

Dump multiple databases: mysqldump -u root -p –databases db1 db2 db3 >dump.sql Dump some selected tables: mysqldump -u mysqlusername -p databasename table1 table2 table3 > databasebackup.sql Dome all tables except some tables: mysqldump -u username -p database –ignore-table=database.table1 –ignore-table=database.table2 > database.sql  Read More →