mpd – change the music directory context for selinux.
2014/01/10
For running mpd with different use, you may find necessary to change the SELinux context of your music directory. For this, you would need to run the below command: chcon -R -t mpd_user_data_t Music/ …
cgroups – use to control your cpu and memory
2014/01/06
cgroups is a kernel feature and with userspace utilities, we can use the feature to control the cpu and memory for per process. So, lets first install the required tools. sudo yum install …
more clients for mpd.
2013/12/26
Here are some more clients that you can use with mpd. sudo yum install mpd mpc qmpdclient.x86_64 gmpc.x86_64 sonata.x86_64 mpd is :: […] Music Player Daemon (MPD) is a flexible, powerful, …
Fix typescript files generated with script command
2013/12/18
Generally quite a lot of us would have used the script command. This generates the logs for the session. But the problem with the logs is that it contains a lot of un-readable characters. These …
get systemd journal entries on web interface.
2013/12/12
Just in case you need it, you can get the journalctl entries from systemd in the web page. First install : yum install systemd-journal-gateway Once you have done this you can get the journal entries …
sxiv – image viewer
2013/12/06
sxiv is a nice alternative to feh. It is very light weight and quite useful. Here is the description: […] Description : sxiv is an alternative to feh and qiv. Its only dependency besides xlib …
Monitor your system with sysusage.
2013/12/02
First some information on sysusage: […] Description : SysUsage continuously monitor your systems informations and generate periodical graph reports using rrdtool or javascript jqplot library. …
Apache server stats with small and useful bash script.
2013/11/29
Just copy this script to your web-server cgi-bin directory and enjoy. The script with show the common errors like 404 Error, Internal Server Error and others. It will show the User agent distribution …
bash – using the vi mode more effectively.
2013/11/22
You can first set the bash mode to vi. This will enable some vim like features to bash. So, add this to .bashrc : set -o vi Once, you have done that then its time to get more out of the vi mode. …
zswap – compcache, compressed swap for better performance
2013/11/17
First, here is a link to article on compcache. http://code.google.com/p/compcache/wiki/CompilingAndUsingNew zswap is already in the kernel and you can see the documentation in the kernel …
cvs add files recursively – not already in repository
2013/11/12
When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that. cvs status …
Change display manager on Fedora
2013/11/08
Simple, just install and run the following