Skip to content

Instantly share code, notes, and snippets.

@yotann
yotann / README.md
Last active April 27, 2020 19:49
Running udocker on HTCondor

Running udocker on HTCondor

This script demonstrates how to run Docker containers on an HTCondor cluster that doesn't have Docker installed, by using udocker to run them in userspace.

udocker has limited compatibility with many images, depending on what you're trying to run. In particular, you can't run sudo or change users inside the container.

@yotann
yotann / gist:377d7a66a879ae6fc2cd19030f19f2e3
Last active December 5, 2019 00:33
Prototype HARP reprogramming guide
This guide explains how to load custom code on the SparkFun Prototype HARP
(https://www.sparkfun.com/products/14379). Now, you're *supposed* to reset the
board after solving it and give it to a friend, so they can experience the
puzzle too. But maybe your friends are too busy fighting a rogue AI, or maybe
friendship is expensive where you live. In that case, it's possible to make the
board Arduino-compatible with some effort.
You should have gotten access to the board's development files when you solved
the puzzle. Note that the design is similar to the "SparkFun 9DoF Razor IMU M0"
and the "SparkFun SAMD21 Mini Breakout", but with different peripherals. All
@yotann
yotann / aws-policy-for-nixops.json
Last active October 20, 2016 14:49
AWS access policy sufficient for basic usage of NixOps with EC2, S3, and IAM
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [ "s3:*" ],
"Resource": [ "arn:aws:s3:::charon-*" ]
},
{
"Effect": "Allow",