Skip to content →

dor.ky Posts

Tool to Create Mastodon OAuth2 Applications in Your Browser

At the moment, there isn’t a user friendly way of setting up new OAuth2 applications for use with Mastodon. You need to make an API request to do so. To help, I’ve written a small tool which allows you to do this securely in your browser. You can use the tool at mastodon-create-app.ssx.tools or you can grab the source yourself…

Github – Hide Files from Commit Diffs

This is a really nice tip for tidying up git diff‘s on Github (I think it’ll work for Gitlab etc too), you can add the following line to .gitattributes file:

and this will hide all files in the dist/ directory from the commit diff.

Appcelerator Titanium Starting an Intent/Activity Not Firing

If you’re a user of intents with Android and Appcelerator’s Titanium product, you may have instances where your intents don’t fire as you expect. A lot of sample code around the web for starting intents looks something like this:

The problem with arises when sometimes Ti.Android.currentActivity doesn’t correctly hold the current activity. When you then attempt to start an…

Continuous Integration Testing an Appcelerator Titanium Mobile Application

I’ve recently been looking at unit testing some isolated components for a mobile application I’m working on. Part of the application is a calculations engine which I wanted to test against a known set of sample data and results. There have been many attempts through the community at putting widely accepted testing frameworks throughout the last few years, but none…

Magento 2 Interceptors

A colleague at work told me about the way you can use interceptors in Magento 2 to wrap up before/after functionality of existing classes. This is a pretty good overview of how that works written by Jisse Reitsma.

Zapier’s CLI Tool for Creating Zaps

This is a pretty neat new feature from Zapier to allow developers to build the little modules that connect apps together. They’ve released a CLI tool which will scaffold an app. You can take a look over on their developer blog in this post.

App Performance Low Hanging Fruit

One of my favourite developers, Andrew Del Prete has written a new mini blog series on quick wins for performance and low hanging fruit changes that can be made to give you easy wins. You can find the first (and other five parts) over on the learnperf.com blog.

All About Google’s AMP

This is a really good overview of Google’s AMP project and how it came to be. Breaking down AMP—the format, rules, and cache—from @adactio. https://t.co/rX6AWoYJ8U — A Book Apart (@abookapart) March 23, 2017