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
# 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 / 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
@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, kefeer@brokestream.com
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,
Date/Time: 2015-02-10 09:26:11 +0100
OS Version: 10.10.3 (Build 14D72i)
Architecture: x86_64
Report Version: 21
Command: Quicksilver
Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
Version: 1.2.2 (4011)
Parent: launchd [1]
PID: 382
This file has been truncated, but you can view the full file.
Sampling process 382 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Quicksilver (pid 382) every 1 millisecond
Process: Quicksilver [382]
Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
Load Address: 0x108c1f000
Identifier: com.blacktree.Quicksilver
Version: 1.2.2 (4011)
Code Type: X86-64
Parent Process: ??? [1]