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 / 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 / runMojaveVirtualbox.sh
Last active January 8, 2020 03:22
Install macOS 10.14 Mojave on VirtualBox on macOS
Moved to https://github.com/AlexanderWillner/runMacOSinVirtualBox
# Retrieved from https://raw.githubusercontent.com/Homebrew/homebrew-head-only/35a27139b0878857031693b4f8b975279872a56c/vdfuse.rb
# The formula used to be provided by the (now-removed) head-only Homebrew tap.
# It was later migrated to the (now-removed) boneyard tap.
# The version above is the last one before it was removed.
class VirtualBoxInstalled < Requirement
fatal true
def self.app_path
[
@AlexanderWillner
AlexanderWillner / config.plist
Created June 14, 2018 04:03
Clover config file for runMojaveVirtualbox.sh
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
@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
#
bash -c "$(curl -fsSkL raw.github.com/tubav/fiteagle/master/src/main/bin/bootstrap.sh)"
@AlexanderWillner
AlexanderWillner / buildGPGTools.sh
Created September 24, 2012 21:41
Create your own GPGTools Installer
bash -c "$(curl -fsSkL raw.github.com/GPGTools/GPGTools/master/build.sh)"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GnuTLS configure 2.12.5, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --disable-debug --disable-dependency-tracking --disable-guile --disable-static --prefix=/usr/local/Cellar/gnutls/2.12.5 --with-libgcrypt
## --------- ##
## Platform. ##
private void setupJfed(final GeniUrn cfgUrnUser, final String authorityURN,
final String cfgPwd, final String cfgPem) throws IOException,
JFedException {
final char[] pemPass = cfgPwd.toCharArray();
final File pemFile = new File(PerformanceTest.class.getResource(cfgPem)
.getFile());
final String pemPath = PerformanceTest.class.getResource(cfgPem)
.getPath();
this.user = new SimpleGeniUser(null, cfgUrnUser,