Skip to content

Instantly share code, notes, and snippets.

View jonathanthomas83's full-sized avatar

Jonathan Thomas jonathanthomas83

View GitHub Profile
@jonathanthomas83
jonathanthomas83 / communityinterestcomany.html
Last active June 13, 2018 10:39
Example of dynamic HTML template.
{% extends "layout.html" %}
{% block page_title %}
CIC upload
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="phase-banner-beta">
@jonathanthomas83
jonathanthomas83 / shares.js
Created June 13, 2018 10:32
Routing file for shares section of incorporation prototype.
module.exports = function (router) {
// CHANGE ME TO THE VERSION YOURE WORKING ON
var version = "1-82-0"
// shares journey
router.get('/' + version + '/incorporation/shares/share-type', function (req, res) {
if(req.session.CompanyName == null) {
req.session.CompanyName = "XXX";
unset http_proxy
unset https_proxy
unset HTTP_PROXY
unset HTTPS_PROXY
# Example configuration for snapraid
# Defines the file to use as parity storage
# It must NOT be in a data disk
# Format: "parity FILE [,FILE] ..."
parity /mnt/music-p/snapraid.parity
# Defines the files to use as additional parity storage.
# If specified, they enable the multiple failures protection
# from two to six level of parity.
@jonathanthomas83
jonathanthomas83 / beets-config.txt
Last active January 27, 2018 19:02
JT's Beets config
# Beets configuration --------------------------------------------------------
library: /music/collection/library.db
directory: /music/collection
import:
# write metadata to music files
write: yes
# move imported files from source to the music directory