Skip to content →

dor.ky Posts

Pushing Ottomatik Webhooks to Slack via Apache IBM Cloud Functions OpenWhisk

The backup service Ottomatik implemented webhooks last year (at my request, ha!) to send success or failure payloads to a URL of your choice. As Ottomatik doesn’t yet provide a Slack integration. Most teams around the world use Slack to pipe notifications into their channels and it’s a pretty good way of doing things. You’re going to need to set…

Ubuntu Zesty Fails to ‘apt-get update’

Ubuntu Zesty no longer is a supported version of Ubuntu, you’ll need to update apt/sources.list to this:

Run apt-get clean all after updating that file and you’ll be able to upgrade as normal.

HQ Trivia Adding Answering with Friends

I noticed when taking a look at HQ Trivia’s traffic, they look to be adding support for answering with friends:   The variables ‘maxAnswerSharingQuestions’, ‘maxFriendsAnswersPerChoice’ and ‘maxFriendAnswersPerQuestion’ are all recent additions. I’d guess that they are going to add support for answering questions together with friends.

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 http://www.git-legit.org 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 https://selfsolve.apple.com/deregister-imessage/ 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: