Skip to content

Instantly share code, notes, and snippets.

View dotherightthing's full-sized avatar

Dan Smith dotherightthing

  • Do The Right Thing
  • Wellington, New Zealand
View GitHub Profile
@dotherightthing
dotherightthing / remove-autosuggested-urls-from-chrome.md
Created August 15, 2019 03:44
[Remove autosuggested URLs from Chrome] #browsers
@dotherightthing
dotherightthing / multi-currency-accounting.md
Last active August 19, 2021 09:15
[Multi-currency accounting] #business

Multi-currency accounting

Created: 2017.06.15

As a remote worker, I spend in NZD, but most of my jobs are charged and paid in USD.

That's a problem, because:

  • My native currency is NZD
  • I have subscriptions which are in NZD and USD
@dotherightthing
dotherightthing / crms.md
Last active August 15, 2019 03:55
[CRMs] #sales

CRMs

Created: 2017.06.03

I don't have a ton of work on at the moment, but for a long time I have been looking for the holy grail of time management. Now I have income to consider in that equation too..

Needs/wants

  • store info about remote projects pitched for
  • store info about regular clients
@dotherightthing
dotherightthing / deploy-from-bitbucket-to-sitehost-using-git-ftp.md
Last active August 15, 2019 03:59
[Automate deployments from a Bitbucket repository to Sitehost using Git FTP] #bitbucket
@dotherightthing
dotherightthing / self-hosting-web-video-compression.md
Last active August 15, 2019 04:12
[Self-hosting web video - compression] #video

Self-hosting web video - compression

Created: 2017.06.14

A client's website uses the Bigvideo background-video plugin. The client's video is hosted on YouTube, but Bigvideo doesn't support YouTube streaming.

This means that the video will need to be self-hosted.

Popular hosts like YouTube apply their own compression settings. YouTube tutorials don't spend much time on compression, only on getting files into the format that YouTube expects. As we are self-hosting, we need to get the compression settings right.

@dotherightthing
dotherightthing / parsing-nested-json.md
Created August 15, 2019 04:21
[Parsing nested JSON] #grunt
@dotherightthing
dotherightthing / favicons.md
Created August 15, 2019 04:23
[Favicons] #images

Favicons

Created: 2017.05.28

A modern favicon workflow, from a recent project.

  1. Locate a vector icon in SVG format, eg from FlatIcon
  2. Edit icon using SVG-edit
  3. Generate out all the variations (with previews) using Favicon Generator. For real.
@dotherightthing
dotherightthing / screen-recording.md
Last active August 17, 2019 01:29
[Screen recording] #gigeconomy #remote #teaching #video #screenflow #quicktime #mousepose

Screen recording

Created: 2017.06.12

An important part of working remote gigs is being able to communicate technical issues in a non-technical way.

This is necessary because:

  • it is not easy to meet the client in person, to talk them through an issue
  • the client is often not a native English speaker
@dotherightthing
dotherightthing / multisite-performance-issues.md
Last active August 15, 2019 04:46
[Multisite performance issues] #wordpress

Multisite performance issues

Created: 2017.06.12

Bringing several sites under a multisite umbrella made maintenance easier, but had the annoying side effect that everything ran really slowly.

I found the following settings sped things up in MAMP Pro:

Memcached settings in MAMP Pro

@dotherightthing
dotherightthing / setting-up-a-staging-site-on-sitehost-shared-hosting.md
Last active August 19, 2021 09:03
[Setting up a staging site on Sitehost shared hosting] #hosting #wordpress

Setting up a staging site on Sitehost shared hosting

Created: 2017.05.30

A simple process, but one which often fails. Here are the definitive steps.

Steps

  1. Select Account: dotherightthing.co.nz
  2. Websites > Add Website: