0

How to determine your version of Tomcat and Java

tomcat

Use the following commands to determine what version of Tomcat and Java you are running: locate catalina.jar /usr/share/java/tomcat6/catalina.jar java -cp /usr/share/java/tomcat6/catalina.jar org.apache.catalina.util.ServerInfo Server version: Apache Tomcat/6.0.24 Server built: July 24 2015 0753 Server number: 6.0.24.0 OS Name: Linux OS Version:… Continue Reading

0

Query to Determine Disk Space Usage for AWS MySQL RDS

The following query will show you the disk space usage for an AWS MySQL RDS in MB: SELECT table_schema, SUM(data_length + index_length)/1024/1024 AS Total_GB, SUM(data_length)/1024/1024 AS Data_GB, SUM(index_length)/1024/1024 AS Index_GB, COUNT(*) AS tables, CURDATE() AS today FROM information_schema.tables GROUP BY… Continue Reading

0

New site design

New

Just a quick update tonight. In light of feedback I have received about my site design. I decided this evening to refresh this blog with a new site design and layout.  Let me know what you think in the comments below… Continue Reading

0

10 PHP development tips part 2

Welcome to post 12 of my 100 day challenge. Checkout my introduction for some background. 10 PHP development tips part 2 This is the second and concluding part of a two part series I began in April 2013. I never… Continue Reading

0

Install git from an RPM file

Welcome to post 10 of my 100 day challenge. Checkout my introduction for some background. This tutorial discusses how to install Git from an RPM file. Step-by-step guide If you haven’t already created the Git RPMs please following this tutorial… Continue Reading

0

Create an RPM package from the Git source

Welcome to post 9 of my 100 day challenge. Checkout my introduction for some background. In this post I will show you how to create an RPM package from the Git source Use this tutorial when you can’t find an… Continue Reading

0

Run a Python script via cron

Python Logo

Welcome to post 4 of my 100 day challenge. Checkout my introduction for some background. Today I will explain how you can run a Python script via cron. This approach can be useful from a system administration perspective, when you want… Continue Reading

0

Install Git from source on CentOS

The version of Git available in CentOS 6 is old and doesn’t provide features like Git Subtree etc. You can install RPM Forge to get a newer version, namely 1.8 but that is still pretty old. Therefore this article will… Continue Reading

0

delete files older than x days using powershell

There may come a time when you want to delete files older than x days using powershell You can do this via the following powershell code:

0

Creating aliases in GIT

This is as much a resource for myself as it is for everyone else. I wanted to create aliases for my GIT use to save me typing in status, commit, branch, checkout etc each time I wanted to use the… Continue Reading