Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris scottishstoater

View GitHub Profile
View index.html
---
title: "Freeridical"
date: 2019-10-25
images:
- small: small-1.jpg
large: large-1.jpg
alt: First image
- small: small-1.jpg
View gist:993fbfbe5d136ee9f1165e0e002cf701
exiftool '-DateTimeOriginal+=0:0:0 1:0:0'
View gist:5b0100a64a596f1bd8a59ce36ee652af
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
View Artboard.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View docker.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scottishstoater
scottishstoater / gulpfile.js
Last active Sep 22, 2017
Sample Gulpfile to compile liquid (Jekyll) templates with Front Matter.
View gulpfile.js
var engine = new Liquid.Engine,
es = require('event-stream'),
frontmatter = require('gulp-front-matter'),
fs = require('fs'),
Liquid = require('liquid-node'),
engine.registerFileSystem(new Liquid.LocalFileSystem('./_includes'))
gulp.task('compile', function() {
return gulp.src(['./page.html'])
// only compile pages that have changed
View page.html
---
title: I'm the page title
language: Ruby
---
<h1>I'm compiled without using {{ language | upcase }}</h1>
@scottishstoater
scottishstoater / default.html
Last active Sep 22, 2017
Sample default.html
View default.html
<!DOCTYPE html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>
{% if page.title %} {{page.title | escape}} {% endif %}
</title>
</head>
<body>
View header.html
<header>I'm the header</header>
View setting_up_a_new_macbook.md

When setting up a new Mac this should be the bare minimal that is installed and working.

Assumptions

  • Should be a managed admin or full admin.

Install Apple Command Line Tools (Installs Git)

You can’t perform that action at this time.