Skip to content

Instantly share code, notes, and snippets.

(assuming rbenv + bundler are installed):

  1. bundle init
  2. bundle add jekyll
  3. touch _config.yml
  4. touch index.md
  5. mkdir _includes
  6. mkdir _layouts
  7. mkdir assets
  8. jekyll build or jekyll serve
@leigler
leigler / digitalocean-dokku-kirby.md
Last active April 24, 2024 12:03
set up for digital ocean dokku install for kirby
  • This document references this post with a few updates regarding the git remote set up

Install

  1. set up digital ocean droplet w/ dokku installed
  • add ssh key ssh-keygen -t rsa
  • with proper dns configured w/ url: (first set up the url by following these directions)
  • go to your droplet's IP address and give the app url your hostname
  • add two A records, (@ and *) to direct the url to your IP address (this can be done w/ digital ocean's dns or with the dns managing the domain. For staging, you'll only need to set up one A record pointing towards your subdomain)
@leigler
leigler / cookie-js.js
Last active November 6, 2017 22:41
Cookie logic using Cookie.js
a{
cursor: url(../images/cursor-custom.png) 10 0, auto;
cursor: url('../images/cursor-arrow.png') 10 0, auto;
cursor: -webkit-image-set(
url('../images/cursor-custom.png') 1x,
url('../images/bigger/cursor-custom.png') 2x
) 10 0, auto;
}