Skip to content

Instantly share code, notes, and snippets.

View deadbok's full-sized avatar

Martin Bo Kristensen Grønholdt deadbok

  • Denmark
View GitHub Profile
@will-hart
will-hart / build.py
Last active January 26, 2023 12:35
Super Simple Static Site Generator (Python)
"""
Free to use under the MIT license
Builds a static site from a list of Markdown source files. The source
files should have the same directory structure as the desired output.
Files are rendered using Markdown2 and can declare metadata variables:
---
@Zeklandia
Zeklandia / Automated Upgrade Script
Last active December 25, 2015 17:59
Simple script to take care of routine upgrades.
#!/bin/bash
init () {
set_vars
get_root
linker
}
get_root () {
echo -en "Getting Root..."
@zhovner
zhovner / etckeeper.sh
Created February 5, 2013 18:02
etckeeper setup with bitbucket repo
# После установки etckeeper
/etc/etckeeper/etckeeper.conf VCS="git"
etckeeper init && etckeeper commit
# ------
git config --global user.name "My Machine"
git config --global user.email "etckeeper@my.machine"