Skip to content

Instantly share code, notes, and snippets.

View carlwilson's full-sized avatar
:octocat:
Working from home

Carl Wilson carlwilson

:octocat:
Working from home
View GitHub Profile
@carlwilson
carlwilson / geospatial.yml
Created March 28, 2024 08:55
Geo-spatial YAML File
---
- name: context
type: markdown
path: context/index.md
- name: requirements.structure
type: markdown
path: requirements/stucture/index.md
- name: requirements.METS.package_reps
@carlwilson
carlwilson / java_runner.py
Created February 29, 2024 09:13
Running commons-ip from Python
import json
import os
import subprocess
from swagger_server.models import ValidationReport
MAIN_OPTS = [
'java',
'-jar',
'/home/cfw/Downloads/commons-ip2-cli-2.0.0.jar',
@carlwilson
carlwilson / convolver.py
Last active January 2, 2024 16:17
Python Stereo convolution
import multiprocessing as mp
import os
import sys
# pip import soundfile
import soundfile as SF
# pip install numpy
import numpy
# pip install scipy
from scipy import signal
@carlwilson
carlwilson / zaireeka-mux.sh
Created March 15, 2021 14:08
MUX shell script for Zaireeka
#!/usr/bin/env bash
#
# Script to mix multiple CDs (< 10) into all combinations (order considered unimportant).
# Mixing to a set of 2 channel mixes where all lefts are combined to the final left
# channel and all right channels are combined to the final right.
#
# While I've tried to make it reasonably forgiving failure to follow these rules
# may have unexpected results.
#
# CD Directory rules:
@carlwilson
carlwilson / OPF Maven
Created July 1, 2015 05:49
Maven POM or settings.xml entries for OPF Artifactory repositories.
<distributionManagement>
<repository>
<id>OPF Artefactory</id>
<name>OPF Artefactory-releases</name>
<url>http://artifactory.opf-labs.org/artifactory/libs-release-local</url>
</repository>
</distributionManagement>
<repositories>
<repository>
@carlwilson
carlwilson / pom.xml
Created October 22, 2013 23:37
SCAPE Project Maven Parent pom.xml.
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>