Skip to content

Instantly share code, notes, and snippets.

View elomagic's full-sized avatar

Carsten Rambow elomagic

  • Germany
  • 11:48 (UTC +01:00)
View GitHub Profile
@elomagic
elomagic / 0_reuse_code.js
Created March 19, 2014 15:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@elomagic
elomagic / timemachine-install.sh
Last active May 1, 2020 18:14
Script for installing a Time Machine server
#!/bin/bash
#title : timemachine-install.sh
#description : Script for installing a Time Machine server.
#more : http://www.elomagic.de
#author : Carsten Rambow
#date : 2016-12-02
#usage : /bin/bash timemachine-install.sh
#tested-distros : Ubuntu Server 16.10, Raspbian (Based on Debian)
TIMEMACHINE_USER="timemachine"
@elomagic
elomagic / upload-github-release-asset.sh
Created August 19, 2017 10:21 — forked from stefanbuck/upload-github-release-asset.sh
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
# * repo