Skip to content → Posts

Clear Bash History

Quick way to clear bash/shell history:


Deleting Immutable Files on Linux

If you have a file such as php-fpm.cgi that won’t delete no matter what you try, it’s likely immutable. You can remove the immature flag using:


Easier Git Aliases

I recently came across the git-legit project which creates a few easier to understand aliases for newcomers to Git. Head over to to read and install.

Install older Android SDK Version

For a Titanium project I recently needed to install an older version of the Android SDK tools (build tools API 24) to build an old project. Find the path to sdkmanager and then run this command:

How to De-Register iMessage

This is quick and easy, head over to and fill in your mobile number. It’ll then SMS a code which you need to input into the site and then it’ll deactivate iMessage for that number.

List All Your Digital Ocean Servers IPv4 addresses

List all Digital Ocean servers IPv4 addresses using doctl homebrew package:

AWS S3 Recursively List Bucket Sizes

Recursively list sizes of your AWS buckets using s3cmd:

Simple IP Reverse & Info

Using, you can quickly grab some IP data for the current machine:

This will return you something like:

Apache Set Server Tokens Off

Apache Set Expires Header for Images/CSS