You’ve bought your SSL secure certificate and successfully installed on Tomcat with the keytool but how do your redirect the entire site to go HTTPS and redirect any HTTP connection straight over to HTTPS. You need to edit the 2 Tomcat configuration files; server.xml and web.xml and then when edited restart the tomcat service. Open …
Read More
How to Find and Delete Files in Directory Based on Modification Date
How to find and delete files in a Linux directory based on when the file had been modified from a certain amount of days ago – this can be useful for dealing with directories with copious amounts of files like email boxes and log folders. First to see the files modified or created based …
Read More
Find the SHA1-digest Checksum Hash for an OSX Downloaded Upgrade
To find a checksum hash file or SHA-1 digest code for an OS X upgrade or downloaded .dmg file: 1 – Download the .dmg 2 – Launch Terminal and at the command prompt type open sha1 and the path to the dmg or just drag and drop the dmg into the Terminal after the command
How to Install mcrypt for php on Mac OSX Lion 10.8 & 10.7 Development Server
The mcrypt extension is missing. Please check your PHP configuration. The above error appears after you successfully get phpMyAdmin up and running on OS X, generally you don’t have to worry about it, you only need to address the error if you are going to use a web application that requires it, for example Magento, the shopping …
Read More
Fatal error: Allowed memory size of 33554432 bytes exhausted
In WordPress if the error “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate xxxxx bytes) in /wp-admin/…….” occurs it is a memory error relating to PHP. What has happened is that the allocated memory has been used up. Most hosting providers set this to a low level and when WordPress/ WordPress plugin …
Read More
Update Jailbroken iPhone to iOS 6.1.2 Untethered with evasi0n
This process upgrades your iOS jailbroken device to iOS 6.1.2 If you need your baseband preserved because you are on locked iphones and need the baseband to unlock with ultrasn0w then stay away from this and wait until the next version of redsn0w. For this jailbreak you will need to upgrade your jailbroken iPhone to …
Read More
Copyright Date Year Line in php
To create copyright line in php that updates with the current year, use the code below… © <?php echo date (‘Y’); ?>
Connect to Amazon S3 Bucket from the Command Line in OS X
Connecting your Mac OSX to AmazonS3 buckets. This process requires a couple of Unix tools installed, s3cmd and gpg (optional), s3cmd is the command line tool used to connect to Amazon S3 and gpg is an optional secure tool allowing data transfer to be encrypted over HTTPS between you and Amazon. This guide uses Homebrew …
Read More