Skip to content

Instantly share code, notes, and snippets.

View BTCCoffeeTable's full-sized avatar

Bitcoin Coffee Table Book BTCCoffeeTable

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ercfre on github.
  • I am freeburg (https://keybase.io/freeburg) on keybase.
  • I have a public key ASBhCMMlencW3bCMSCyEIT2iPjE0ttrMLzMoUoiK3vFG7Ao

To claim this, I am signing this object:

The United States Constitution

We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.

Article 1.

Droplet with Git Pull Deploy Configured

The purpose of this tutorial is to configure an environment that will be useful for developing simple HTML, CSS, and JS projects. While the workflow is somewhat non-standard and against git best practices, it is what I intended to achieve. Upon completion of configuration, user will be able to push changes onto master branch in github and see them instantly reflected on their digital ocean droplet. No need for branches like live dev staging release etc.

Setup an Ubuntu 16.04 x64 droplet with SSL encryption via Digital Ocean

Click to See Details

VersionPress with Digital Ocean LEMP Stack

The goal is to determine the steps necessary for setting up an Ubuntu 16.04 x64 LEMP stack + Wordpress, such that it will work fully with Versionpress. Digital Ocean provides useful tutorials for setting up Ubuntu, installing LEMP stack, and installing Wordpress. These are highly standardized, so this guide will be based on those. In the end, this guide should serve as a guide for how to tweak the process outlined in those guides to make it VersionPress compliant. Lastly, the guide will detail how to attach the versionpress git tracking to a remote at github.com using ssh. Additionally, we may go into clever uses of webhooks that some may find useful.

1.0 - Initial Setup

@BTCCoffeeTable
BTCCoffeeTable / Onename
Created August 21, 2016 00:55
Verification
Verifying that "freeburg.id" is my Blockstack ID. https://onename.com/freeburg
@BTCCoffeeTable
BTCCoffeeTable / fountain.vim
Created August 3, 2016 20:28
Folding Expression for Fountain Files
function! FountainFolds()
let thisline = getline(v:lnum)
let laterline = getline(v:lnum + 2)
if match(thisline, '^EXT') >= 0
return ">1"
elseif match(thisline, '^INT') >= 0
return ">1"
elseif match(thisline, '^Title:') >= 0
return ">1"
elseif match(thisline, '^\.[^.]') >= 0
function! MarkdownFolds()
let thisline = getline(v:lnum)
let laterline = getline(v:lnum + 2)
if match(thisline, '^#') >= 0
return ">1"
elseif match(laterline, '^#') >= 0
return "<1"
else
return "="
endif

Keybase proof

I hereby claim:

  • I am er-c on github.
  • I am freeburg (https://keybase.io/freeburg) on keybase.
  • I have a public key ASDuwZ2w85O2nwjV4ggSBlPvs7XsybumnrbyA7qwoRi_3go

To claim this, I am signing this object: