Skip to content

Instantly share code, notes, and snippets.

View jvgreenaway's full-sized avatar
🍕
Eatiing pizza

James Greenaway jvgreenaway

🍕
Eatiing pizza
View GitHub Profile
@jvgreenaway
jvgreenaway / dokku-kirby-autogit.md
Created February 11, 2018 15:02 — forked from woudsma/dokku-kirby-autogit.md
Dokku + Kirby + AutoGit

TL;DR

  • Configure Kirby for Dokku
  • Install deployment-keys and host keys Dokku plugins
  • Set up staging and production environments
  • Clone project repository into apps persistent storage folders
  • Mount desired folders including .git folder to apps
  • Add GIT_DIR and GIT_WORK_TREE environment variables to containers
  • Deploy to Dokku
@jvgreenaway
jvgreenaway / index.html
Last active May 23, 2016 11:57
Demo React Climb Social Slideshow Embed
<!doctype html>
<html lang="en">
<head>
<title>Slideshow</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div

Keybase proof

I hereby claim:

  • I am jvgreenaway on github.
  • I am jvg (https://keybase.io/jvg) on keybase.
  • I have a public key ASBbHKbE-rs9mSqP6sZdShVrYZ8kUFtTxUbP0ckAIcue7Qo

To claim this, I am signing this object:

@jvgreenaway
jvgreenaway / gist:5022220
Last active December 14, 2015 03:39
JavaScipt examples extracted from MSDN 's reintroduction.
// The && and || operators use short-circuit logic, which means whether they will execute their second operand is dependent on the first. This is useful for checking for null objects before accessing their attributes:
var name = o && o.getName();
// Or for setting default values:
var name = otherName || "default";