Skip to content

Instantly share code, notes, and snippets.

@mhamilt
mhamilt / xcodebuild.txt
Created August 2, 2023 20:33
Xcode build manual as plain text
Usage: xcodebuild [-project <projectname>] [[-target <targetname>]...|-alltargets] [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings [-json]] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild [-project <projectname>] -scheme <schemeName> [-destination <destinationspecifier>]... [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings [-json]] [-showdestinations] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild -workspace <workspacename> -scheme <schemeName> [-destination <destinationspecifier>]... [-configuration <configurationname>] [-arch <architecture>]... [-sdk [<sdkname>|<sdkpath>]] [-showBuildSettings] [-showdestinations] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild -version [-sdk [<sdkfullpath>|<sdkname>] [-json] [<infoitem>] ]
xcodebuild -list [[-project <projectname>]|[-workspace <workspacename>]] [-json]
xcodebuild -show
@mhamilt
mhamilt / Jitter-Autostereogram.maxpat
Last active November 26, 2021 14:01
Jitter Autostereogram
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 3,
"architecture" : "x64",
"modernui" : 1
}
@mhamilt
mhamilt / read-red-line.maxpat
Created November 23, 2021 14:25
Get cell index closest to red for each column in a matrix.
{
"boxes" : [ {
"box" : {
"maxclass" : "comment",
"text" : "Map index to 0. - 1., 0. 2. as those are the cell index limits ",
"presentation_linecount" : 3,
"bubble" : 1,
"patching_rect" : [ 390.0, 525.0, 467.0, 30.0 ],
"numinlets" : 1,
"numoutlets" : 0,
@mhamilt
mhamilt / overlap-repeat-jit.maxpat
Last active November 21, 2021 11:38
Overlapping and Repeating Chromakey-ed Videos
{
"boxes" : [ {
"box" : {
"maxclass" : "newobj",
"text" : "p ramp-peak",
"outlettype" : [ "int" ],
"patching_rect" : [ 60.0, 356.0, 76.0, 22.0 ],
"numinlets" : 1,
"id" : "obj-52",
"numoutlets" : 1,
@mhamilt
mhamilt / UniDesk-Shortcuts.md
Last active November 1, 2021 09:56
UniDesk v7 tips - Keyboard shortcuts / Hotkeys

UniDesk v7 tips - Keyboard short cuts

Note: macOS users where you see Alt press Option /

Navigation Shortcuts

Action Shortcut
Open search bar Alt + F
Open bookmarks Alt + B
@mhamilt
mhamilt / Thin-Plate-FDTD.ipynb
Created September 9, 2021 12:08
Example FDTD Plate scheme in python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mhamilt
mhamilt / DAFx20in21.ics
Last active September 8, 2021 08:47
DAFx20in21 ICS schedule
BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:Ted
X-APPLE-CALENDAR-COLOR:#63DA38
X-WR-TIMEZONE:Europe/London
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/London
BEGIN:DAYLIGHT
@mhamilt
mhamilt / BLE-UUIDs.m
Last active June 2, 2021 15:43
BLE Assigned Service and Characteristic UUIDs in an Objective-C NSDictionary
NSDictionary* bleUUIDs =
@{
@"service":
@{
@"1800": @"Generic Access",
@"1801": @"Generic Attribute",
@"1802": @"Immediate Alert",
@"1803": @"Link Loss",
@"1804": @"Tx Power",
@"1805": @"Current Time",
@mhamilt
mhamilt / interactive.ipynb
Last active May 21, 2021 09:30
Interactive IPYNB Widgets
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mhamilt
mhamilt / jupyter-acoustics.ipynb
Last active February 16, 2023 12:00
Jupyter Acoustics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.