Skip to content

Instantly share code, notes, and snippets.

View aforsythe's full-sized avatar

Alexander Forsythe aforsythe

View GitHub Profile
@aforsythe
aforsythe / ACES_CLA
Created December 22, 2023 19:42
Contributor License Agreements
**Project Name**: Academy Color Encoding System
**Project Entity**: Academy of Motion Picture Arts and Sciences
# Corporate Contributor License Agreement
Software Grant and Corporate Contributor License Agreement ("Agreement") v2.1
Thank you for your interest in the project specified above (the “Project”). In order to clarify the intellectual property license granted with Contributions from any person or entity, the Project must have a Contributor License Agreement (CLA) on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Project and its users; it does not change your rights to use your own Contributions for any other purpose.
@aforsythe
aforsythe / 1_attribute.amf
Last active August 29, 2023 18:11
AMF Pseudocode for discussion on "Work Location" implementations
<!--
Approach uses attribute to denote location of work.
Pros - simple, can require attribute
Cons - need seperate AMFs for each use case, can't validate only one true attribute with XSD 1.0
-->
<?xml version="1.0" encoding="UTF-8"?>
<aces:acesMetadataFile version="1.0" xmlns:aces="urn:ampas:aces:amf:v1.0">
FROM r-base:4.0.4
# Install required system components
RUN apt-get update && \
apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
libglpk-dev \
libicu
FROM alpine:3.13.5
MAINTAINER Alex Forsythe
# Set Environment Variables
ENV LD_LIBRARY_PATH /usr/local/lib
ENV CTL_MODULE_PATH /src/aces-dev/transforms/ctl/lib
RUN ln -s /lib /lib64
# Install Applications
{
"R": {
"Version": "4.0.4",
"Repositories": [
{
"Name": "CRAN",
"URL": "https://packagemanager.rstudio.com/all/latest"
}
]
},
cask 'r' do
version '3.6.1'
sha256 'd86ab88eb33ddecf1c9432e08d177b40d0e1b07bb31e07d33c18d70e13b5051b'
url "https://cloud.r-project.org/bin/macosx/R-#{version}.pkg"
appcast 'https://cloud.r-project.org/bin/macosx/'
name 'r'
homepage 'https://www.r-project.org/'
depends_on macos: '>= :el_capitan'
cask 'r' do
version '3.6.1'
sha256 'd86ab88eb33ddecf1c9432e08d177b40d0e1b07bb31e07d33c18d70e13b5051b'
url "https://cloud.r-project.org/bin/macosx/R-#{version}.pkg"
appcast 'https://cloud.r-project.org/bin/macosx/'
name 'r'
homepage 'https://www.r-project.org/'
depends_on macos: '>= :el_capitan'
*File List*
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
inputenc.sty 2015/03/17 v1.2c Input encoding file
utf8.def 2017/01/28 v1.1t UTF-8 support for inputenc
t1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
ot1enc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
omsenc.dfu 2017/01/28 v1.1t UTF-8 support for inputenc
adjustbox.sty 2012/05/21 v1.0 Adjusting TeX boxes (trim, clip, ...)
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
@aforsythe
aforsythe / install_ctl.csh
Created April 20, 2018 21:13
Shell script to install CTL and ACES transforms
#!/usr/bin/env bash
# Shell script to install homebrew, git, CTL, the latest release of the ACES CTL
# transforms, and all dependancies.
# Install Homebrew if it's not installed or do a brew update if it is
if type brew 2>/dev/null; then
brew update
else
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
void usage(const char *prog)
{
printf ( "%s - convert RAW digital camera files to ACES\n", prog);
printf ( "\n");
printf ( "Usage:\n");
printf ( " %s file ...\n", prog );
printf ( " %s [options] file\n", prog );
printf ( " %s --help\n", prog );
printf ( " %s --version\n", prog );
printf ( "\n");