Mass delete bbpress spam posts

HeidiSQL Wordpress wp_posts Having neglected a wordpress/bbpress installation for a bit I had the problem of dumping tens of thousands of spam and trash and pending items from bbpress. I took a look at the database: To get things done more quickly than using the web... » More

Reset ntopng admin password

I had a comment on my recent Ntopng article from a user who needed to reset the admin password on ntopng. Ntopng uses redis as a backend data store. So first check that the redis server is actually running: netstat -luntap | grep redis You... » More

Acer Aspire Reboots on Ubuntu Shutdown

I had a problem using Ubuntu and an Acer Aspire V5-571G. Every time I opted to shutdown, the laptop would reboot again after a few seconds. I found this article with the answer for Fedora and to make it work on Ubuntu I chose to replace the shutdown... » More

Munin Bootstrap Template: Munstrap

Alternative Munin Template So after playing around with an alternative template from Munin 1.x I took some time to amend the standard Munin templates using Twitter Bootstrap as a base. The Munstrap files are available from GitHub. The files on GitHub include bootstrap (version... » More

ntopng on CentOS 6

ntopng Ensure you have the EPEL repository installed first then do the following to add a repository for ntopng: vi /etc/yum.repos.d/ntop.repo Add the following (the deri bit at the end below is not cut off - it works): name=ntop... » More

Installing Munin 2.x on Centos 6

Ensure you have the epel repository installed then: yum install --disablerepo=rpmforge munin-node.noarch munin.noarch The configuration file for Apache is located at: vi /etc/httpd/conf.d/munin.conf Create the username/password file referred to in... » More

Move Minimize, Maximize and Close Buttons Ubuntu

Ubuntu Window Controls On Ubuntu 13.10 the following terminal commands help to configure the window control buttons and a few other things: Move the Window Controls to the Right gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close' Move... » More

gcp: Copy with a Progress Bar

gcp I decided to try and use gcp by default in place of the normal cp command so that I would have a progress bar by default. On Ubuntu install gcp with: sudo apt-get install gcp Now to use gcp by default instead of cp: mv /bin/cp... » More