Sunday, August 30, 2015

How to sort files and folder by date in total commander... in five clicks!

TotalCommander is a great tool but by default it does not sort folders by date, it sorts them by name no matter when they were created. This is pretty annoying.  However the solution is just five-clicks away :)

The first two clicks: Select Configuration -> Options...

Choose Display (the third click), and then select (fourth click) Like Files (also by time) in the Sorting directories section.

Last click for OK. :)

Enjoy!




Sunday, August 16, 2015

GCC 4.8 on CentOS

I finally found a simple way to install gcc/g++ 4.8 (required to use c++11 syntax) on my CentOS 6 distribution!

Here is the link:

http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/

NOTE:

I suggest you to update your .bashrc file with the following line

source /opt/rh/devtoolset-2/enable


Otherwise you cannot run the newest version of the gcc/g++!


NOTE
Adding only this line to .bashrc: 

scl enable devtoolset-2 bash 

causes a fork-bomb!!!!


REFERENCES:
http://unix.stackexchange.com
http://braaten-family.org/ed/blog/2014-05-28-devtools-for-centos/