Skip to content

Instantly share code, notes, and snippets.

Avatar

Joe Beeson joebeeson

  • Omaha, NE
View GitHub Profile
@joebeeson
joebeeson / docker-compose.yaml
Created Aug 28, 2020
Anchors in docker-compose.yaml
View docker-compose.yaml
version: "3.4"
x-defaults: &defaults
image: "dask-dev/dask-notebook"
# With lists, each entry requires its own anchor if you
# intend to extend/reuse an entry in concrete services.
configs:
- &configs_condarc
source: "condarc"
@joebeeson
joebeeson / nearest-zero.py
Last active Aug 28, 2020
Read arbitrarily large input, print number closest to zero
View nearest-zero.py
from itertools import islice, tee
# Assume an input such:
#
# 3
# 1 -3 4
# 2
# 8 9
# 0
#
@joebeeson
joebeeson / directhings.groovy
Last active Aug 7, 2019
A SmartThings SmartApp for controlling your DirecTV receivers.
View directhings.groovy
/**
* DirecThings v0.32
*
* Created by Joe Beeson <jbeeson@gmail.com>
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
View auto-arlo.groovy
/**
* AutoArlo
*
* Created by Joe Beeson <jbeeson@gmail.com>
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
You can’t perform that action at this time.