This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.name "Jonathan M" | |
git config --global user.email [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git init --bare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const logStream = fs.createWriteStream('output.txt', {'flags': 'a'}); | |
const tempBuffer = fs.createWriteStream('temp.txt', {'flags': 'a'}); | |
const input = require("./input"); | |
const regex = /\((\d+?)x(\d+?)\)/; | |
let restOfInput = input; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# The first argument should be the name of the dataset to backup | |
if test -z $1; then | |
echo "Please specify a valid dataset" | |
exit 1 | |
fi | |
# Passphrase file | |
passphrase_file=/root/snapshot-gpg-passphrase |