Skip to content

Instantly share code, notes, and snippets.


Alex Worrad-Andrews conatus

View GitHub Profile
for f in ~/[wherever]/wp-content/plugins/*/; do
echo "docker-compose run composer require wpackagist-plugin/$(basename $f)"
View proposedAPI.js
class DeleteJob extends Queueable {
static queue = 'delete-job';
static defaultPriority = 1;
constructor(post: Post) {
this.postToDelete = post;

Ello API

This is a basic exploration of the Ello API. Completely unofficial, your mileage my vary, don't smash their servers as they are likely very busy.

Methods return HTML for their representation where appropriate which is a nice little pattern. Everything returns application/json.

Like this:

   "id": <new post ID>,
conatus /
Last active Dec 18, 2015
Setting up Intellij Idea when you are using NVM and Boxen.

Intellij With Node (while using NVM/Boxen)

  1. Install Node related plugins for Intellij.
  2. Setup a new configuration.
  3. Path to Node is /opt/boxen/bin/node.
  4. Ensure .nvm-version is set to the appropriate version.
  5. Set a new environment variable BOXEN_NVM_DIR to /opt/boxen/nvm
  6. Setup rest as required.
  7. You're done!
conatus / gist:4435210
Created Jan 2, 2013
Bundler problems.
View gist:4435210
› bundle install
Fetching source index for
Enter your password to install the bundled RubyGems to your system:
Using fast-stemmer (1.0.1)
Using classifier (1.3.3)
Using directory_watcher (1.4.1)
Using kramdown (0.13.8)
Installing liquid (2.4.1)
Gem::InstallError: liquid requires RubyGems version >= 1.3.7. Try 'gem update --system' to update RubyGems itself.
An error occured while installing liquid (2.4.1), and Bundler cannot continue.