I hereby claim:
- I am david-bergstrom on github.
- I am mountainpower (https://keybase.io/mountainpower) on keybase.
- I have a public key ASArmpCmwVahD4qBHYUYdHReILw8tw8bcNqmN11VkstWiwo
To claim this, I am signing this object:
#!/bin/bash | |
REPOSITORY=david@srg04:backups/kvasir-root/ | |
export BORG_PASSPHRASE='' | |
borg create \ | |
--list --filter=AME \ | |
--stats \ | |
--compression auto,lzma,9 \ |
#!/bin/bash | |
cipher=~/.gocryptfs | |
mountpoint=~/mountpoint | |
if mountpoint -q -- "$mountpoint"; then | |
printf "There is already something mounted at $mountpoint" | |
exit 1 | |
fi |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
mkdir ~/.fonts | |
wget http://font.gohu.org/gohufont-2.1.tar.gz | |
tar xvf gohufont-2.1.tar.gz | |
rm gohufont-2.1.tar.gz | |
mv gohufont-2.1/*.pcf.gz ~/.fonts | |
rm -r gohufont-2.1/ | |
mkfontdir ~/.fonts |
Git is by design not a centralized version control system. If you only need to collaborate with yourself and/or want to have your changes on more than one machine you can follow this quick tutorial to do so.
This guide requires:
\documentclass[a4paper]{article} | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\usepackage[swedish]{babel} | |
\usepackage{fancyhdr} | |
%\usepackage[subtle]{savetrees} | |
%\usepackage[moderate]{savetrees} | |
%\usepackage[extreme]{savetrees} | |
%\usepackage{sourcesanspro} |
#!/bin/python2 | |
# -*- coding: utf-8 -*- | |
# Author: David Bergström | |
# | |
# This script contacts the given gitlab servers and retreives a list | |
# of all git repositories the user has access to. It then proceeds and | |
# runs "git clone --mirror" on all the repositories, creating a backup | |
# of all the repositories. | |
# |
choose n 1 = n | |
choose n k | |
| k > n = -1 | |
| k > n - k = choose n (n - k) | |
| otherwise = ((choose n (k - 1)) * (n - k + 1)) `div` k |
struct Wheel { | |
int number; | |
}; | |
struct Car { | |
struct Wheel* wheel_pointer; | |
struct Wheel wheel_instance; | |
}; | |
int main() { |