- Authenticate to vCenter to get user credential.
# curl -k -X POST https://<FQDN or IP>/rest/com/vmware/cis/session -u <USERNAME>:<PASSWORD> | jq
{
"value": "SESSIONID"
}
- Save the session id to a variable
# ID=SESSIONID
| c=lambda a: lambda b: a | |
| d=lambda n: lambda f: lambda x: f(n(f)(x)) | |
| e=lambda n: lambda f: lambda x: n(lambda a: lambda b: b(a(f)))(lambda y: x)(lambda y: y) | |
| g=lambda a,b: lambda f: lambda x: a(f)(b(f)(x)) | |
| h=lambda a,b: lambda f: lambda x: a(b(f))(x) | |
| i=lambda a,b: b(e)(a) | |
| j=lambda n: n(lambda x: lambda a: lambda b: b)(c) | |
| k=d(lambda f: lambda x: x) | |
| l=d(k) | |
| m=d(l) |
| #!/bin/bash | |
| # | |
| # This is a simple bash script, designed to allow | |
| # quick download and installation of the FindVUK | |
| # AACS VUK database. | |
| # | |
| # This allows Blu-Ray disks who's VUK is known | |
| # to be played on systems using libaacs. | |
| # | |
| # It's reccomended to schedule this file to run |
# curl -k -X POST https://<FQDN or IP>/rest/com/vmware/cis/session -u <USERNAME>:<PASSWORD> | jq
{
"value": "SESSIONID"
}
# ID=SESSIONID
| #!/usr/bin/env osascript -l JavaScript | |
| /** | |
| * Delete silence from Final Cut Pro timeline using a script. | |
| * Demo: https://imgur.com/a/Zisav | |
| * | |
| * This script accepts an ffmpeg silencedetect log as input. | |
| * | |
| * To setup, have fcp running along with your clip selected. Ensure that the | |
| * timecode will start at zero before running this script. That is, if your clip |
Installing Xcode and the command line tools need to be done first because it installs gcc.
https://developer.apple.com/xcode/features/
Or via the terminal: