Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Smith dotherightthing

View GitHub Profile
@dotherightthing
dotherightthing / decompile-pyc.sh
Created Sep 22, 2022
Decompile .pyc files in a directory and any sub-directores
View decompile-pyc.sh
pip install uncompyle6
find . -name "*.pyc" -exec bash -c 'uncompyle6 $1 > $1.py' _ {} \;
View lockdown-links.md
We couldn’t find that file to show.
@dotherightthing
dotherightthing / deaf-hoh-facemask.md
Created Aug 19, 2021
[Deaf and Hard of Hearing Face Mask] #covid
We couldn’t find that file to show.
@dotherightthing
dotherightthing / acf-pro-distribution.md
Created Aug 19, 2021
[Distributing ACF Pro with a theme or plugin] #wordpress #acf
View acf-pro-distribution.md

Distributing ACF PRO within a theme/plugin

You can include the ACF PRO plugin within a premium theme/plugin as long as it is made clear in the copyright / information that the ACF PRO files are not to be used or distributed outside of the premium theme/plugin.

You can not include the ACF PRO plugin within a free theme/plugin.

You can not include a ACF PRO license key within the theme/plugin/materials.

Distributing ACF within a theme/plugin

@dotherightthing
dotherightthing / install-creativecloud-apps-on-an-external-drive.md
Created Aug 19, 2021
[Install CreativeCloud Apps on an external drive] #macos #adobe #hdd #space
View install-creativecloud-apps-on-an-external-drive.md

Install Creative Cloud Apps on an external drive

From: Move Adobe programs to another HDD

  1. Open the Creative Cloud app
  2. Click the 3 dots next to your avatar > Preferences
  3. Change the Install Location

Note: This option only applies to future installs.

@dotherightthing
dotherightthing / download-google-fonts.md
Created Aug 19, 2021
Download Google Fonts for use in Sketch
View download-google-fonts.md

Download Google Fonts for use in Sketch

How do you go about downloading and installing each and every font? Well, you can download the fonts from the official Google Fonts GitHub repository, but there is a better and more time-efficient way.

You can download and install all Google Fonts (~500MB) at once thanks to Quinton Pike and Peter Stacho.

curl https://raw.githubusercontent.com/qrpike/Web-Font-Load/master/install.sh | sh

> Source: How to Solve Missing Fonts in Sketch App

@dotherightthing
dotherightthing / README.md
Last active Aug 17, 2021
ClyphX Pro: match state of controller LED to state in Ableton Live
View README.md

SelectedTrackLedStates.py

This file has moved to:

@dotherightthing
dotherightthing / recaptcha.spec.js
Created Jan 15, 2021
Cypress - force No CAPTCHA reCAPTCHA to fail
View recaptcha.spec.js
/**
* @file cypress/integration/recaptcha.spec.js
* @summary Cypress spec for End-to-End UI testing.
*/
/* eslint-disable prefer-arrow-callback */
/* eslint-disable max-len */
// Test principles:
// ARRANGE: SET UP APP STATE > ACT: INTERACT WITH IT > ASSERT: MAKE ASSERTIONS
@dotherightthing
dotherightthing / maschine-mk1-macos-10-15-7.md
Last active May 11, 2022
Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7
View maschine-mk1-macos-10-15-7.md

Setup instructions for the Maschine Mk1 controller with Maschine 2 on macOS Catalina 10.15.7

Background

I wanted to open my old Maschine projects created prior to travel in 2015. I picked up a second hand Maschine Mk1 for a good price.

There are compatability issues between Maschine Mk1 and macOS Catalina 10.15.7

Onboarding