Skip to content

Instantly share code, notes, and snippets.

Migrating away from Webfaction

Rick Cogley RickCogley

Migrating away from Webfaction
View GitHub Profile
RickCogley / 00
Last active Feb 6, 2021
Kirby 3 series Install Log of Composer Errors
View 00
  • MacOS Big Sur 11.2
  • Composer version 2.0.9 2021-01-27 16:09:27, installed via brew
RickCogley / action.yml
Last active Jan 27, 2021
Apex Up GH action.yml
View action.yml
name: 'Apex Up'
description: 'Deploy & manage Up applications'
description: 'Up stage to deploy'
required: true
description: 'Produce verbose output'
required: false
View gist:d70f21db6ecfe39094874b77cea246ba
include forge-conf/*;
server {
listen 443 ssl;
listen [::]:443 ssl;
root /home/forge/;
RickCogley /
Created Apr 28, 2020 — forked from troyfontaine/
Signing your Git Commits using GPG on MacOS Sierra/High Sierra

Methods of Signing with GPG

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by

This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or

View test.boxnote.json
{"head":48,"savepointDataFileId":"542419107704","savepointListObject":{"41":{"revisionId":41,"timestamp":1571393802884,"state":"saved","type":"session","diffAuthorList":{"10344504164":true}},"43":{"revisionId":43,"timestamp":1571534724782,"state":"saved","type":"session","diffAuthorList":{"10344504164":true}}},"lastEditTimestamp":1571568470161,"diffChangeset":"Z:eu>3|a=e3*4*k+1*4|1+1*4*n+1$*\n*","invalidDiffChangeset":false,"authorList":{"10344504164":{"authorName":"Rick Cogley","authorCustomAvatarUrl":"/users/10344504164/avatar"}},"diffAuthorList":{"10344504164":true},"shouldCreateSavepointBeforeApplyingNextRevision":false,"firstKeyRevision":5,"atext":{"text":"日本語 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. \n\n*asasdfasdfasdf\n*asdfasdfasdf\n\nUt enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
View tutorial moves init.lua
hs.hotkey.bind(ctrl_opt_cmd, "Left", function()
local win = hs.window.focusedWindow()
local f = win:frame()
local screen = win:screen()
local max = screen:frame()
f.x = max.x
f.y = max.y
f.w = max.w / 2
f.h = max.h
RickCogley / 1
Created Jan 18, 2019
MailMate EagleFiler Bundle 2019
View 1

The current MailMate EagleFiler archive script works with the top-most open library, but we'd like it to work with a specific library.

add Bash Shell Script

  • Add line 10, env var to specify path to the .eflibrary file.
  • Add on line 14, an arg 3, using that var.

EagleFilerImport.scpt v2

  • Add a third _argv on line 3.

Keybase proof

I hereby claim:

  • I am rickcogley on github.
  • I am rickcogley ( on keybase.
  • I have a public key ASCoox8NHz0MHswuTA8ONgBXZKLyhhUhv_kAw-RX20OP2go

To claim this, I am signing this object:

RickCogley / 1.
Last active Nov 29, 2018
Transloadit Sample for Tim 20181129
View 1.

Using Transloadit's "notify_url" to Manipulate Assembly Results JSON

The Transloadit Assembly results JSON has all kinds of information about the processed files, but we need this information to appear in our business database. We need to use some practical scripting to massage the results JSON, and get it loaded into our db how we like.

Use "notify_url" to send to a webhook, which runs a script

Transloadit template can be set to send its json results payload to a notify_url which could be a url you set up at a web service like Hookdoo or others.

"notify_url": ""
RickCogley / hugo_server_std_out.log
Created May 18, 2018
hugo server error for hugo docs showcase
View hugo_server_std_out.log
~/d/hugoDocs ❯❯❯ hugo server master ◼
Building sites … ERROR 2018/05/18 15:45:00 Failed to get json resource with error message Get dial tcp: lookup on write udp> write: host is down
ERROR 2018/05/18 15:45:00 error processing shortcode "_internal/shortcodes/tweet.html" for page "troubleshooting/": template: _internal/shortcodes/tweet.html:1:4: executing "_internal/shortcodes/tweet.html" at <getJSON "https://api...>: error calling getJSON: Get dial tcp: lookup on write udp> write: host is down
ERROR 2018/05/18 15:45:00 Failed to get json resou