Skip to content

Instantly share code, notes, and snippets.

View AlexanderWillner's full-sized avatar
😷
👍

Alex AlexanderWillner

😷
👍
View GitHub Profile
@AlexanderWillner
AlexanderWillner / icloud-album-download.sh
Created June 18, 2019 17:12 — forked from fay59/icloud-album-download.sh
Download entire iCloud shared albums
#!/bin/bash
# Description: Downloads Web Albums shared by Apple Photos
# Requirements: jq
# Usage: ./icloud-album-download.sh <URL> [<target folder>]
# Source: https://gist.github.com/AlexanderWillner/b8124af1979e88d4046987c953b8260f
# Author: @zneak, @WildDIC, @AlexanderWillner
if [[ -z "$1" ]]; then
echo "Syntax: $0 <URL> [<target folder>]" >&2
@AlexanderWillner
AlexanderWillner / rsync_backup.sh
Created February 22, 2018 13:18 — forked from tvwerkhoven/rsync_backup.sh
Improved script: - Check if run as root - Clarify rsync(1) flags - Add --inplace for performance, extra preservation flags - Check bless(8) target before setting Improved exclusion file: - Included files listed by Carbon Copy Cloner
#!/bin/bash
#
# This script backups an OS X system to an external volume, effectively
# cloning it. It is based on [0], [1] and [2] for OS X and [3] and [4] for
# Linux. One could also use commercial tools like SuperDuper! or Carbon Copy
# Cloner. The latter website has an interesting list[5] on what files to
# exclude when cloning.
#
# Exclusions (from CCC[5]), see rsync_excludes_osx.txt
#
@AlexanderWillner
AlexanderWillner / things.sh
Last active September 15, 2023 07:29 — forked from avdgaag/things.sh
Command-line read-only interface to your local Things database of to do items.
Moved to https://github.com/alexanderwillner/things.sh/
@AlexanderWillner
AlexanderWillner / com.c
Last active August 27, 2015 17:30 — forked from bjoern-r/com.c
very simple serial terminal
/*
* Building: cc -o com com.c
* Usage : ./com /dev/device [speed]
* Example : ./com /dev/ttyS0 [115200]
* Keys : Ctrl-A - exit, Ctrl-X - display control lines status
* Darcs : darcs get http://tinyserial.sf.net/
* Homepage: http://tinyserial.sourceforge.net
* Version : 2007-07-31
*
* Ivan Tikhonov, http://www.brokestream.com, [email protected]