WordPress
Page

WordPress In order for WordPress to upload plugins directly to the server the `wp-content` directory must be writable and the following directive added to `wp-config.php` define(‘FS_METHOD’,’direct’);

Ruby
Page

Command Line Installation & Maintenance RVM rvm get head # Update toolkit installation rvm list # List installed rvm list known # List available rvm install ${VERSION} rvm use ${VERSION} –default # Advanced rvm autolibs read-fail # Show missing OS … Read More

GPG
Page

gpg –list-secret-keys gpg –allow-secret-key-import –import mykey.key gpg –import mykey.pub

GIT
Page

# Change remote repository for submodule Edit .gitmodules from the project root, replacing “url =” with the new remote. Run `git submodule sync` Can be verified with `cd $MODULE && git remote -v` git config –global alias.lg “log –format=’%Cred%h%Creset – … Read More

Setting up pin-entry for GPG under macOS
Post

 You need a passphrase to unlock the secret key You may run across this console error when attempting to use a GPG key under macOS … when signing a Git commit for example. You’ll need to setup pin-entry to provide … Read More

Webhooks with CodeCommit & AWS λ
Post

AWS CodeCommit is an excellent service for privately storing Git managed source-code. Although webhooks are not an in-built feature, you can setup a reusable Lambda Function for this purpose. The Lambda illustrated below can trigger POST webhooks after Git pushes … Read More

Cleaning messages from Slack automatically
Post

Slack is a common item in our toolbelts these days, and the free tier makes it accessible to just about every project. It has an extensive archive ability that can be useful for channels with human-sourced content. However, if you’re lucky enough to … Read More