Skip to content

Instantly share code, notes, and snippets.

View kalefranz's full-sized avatar

Kale Franz kalefranz

  • Anaconda, Inc.
  • Austin, TX
View GitHub Profile
kalefranz /
Created November 2, 2020 14:49
Triaging Conda Issues
  1. The very first step is to make sure the issue is filed in the correct repo. If the issue belongs in another repo within the conda org, use GitHub’s tools to move it to the appropriate repo. If the issue needs to be moved cross-org, use (apparently it’s currently offline: google/github-issue-mover#150).

    • a specific conda package that is not in defaults channels (e.g. from conda-forge):
      ==> encourage the person filing the issue to file in the appropriate upstream location and close the issue
    • a specific conda package from Anaconda defaults channels:
      ==> file at
  • access and service:
kalefranz /
Last active March 22, 2019 17:11
mostly POSIX-compliant; works for alpine
# Use this script to test if a given TCP host/port are available
cmdname=$(basename "$0")
echoerr() { if [ "$QUIET" -ne 1 ]; then echo "$@" 1>&2; fi }
cat << USAGE >&2
kalefranz /
Created August 24, 2017 08:22
Simple python driver for the LEDENET Magic UFO LED WiFi Controller
# -*- coding: utf-8 -*-
# Simple python driver for the LEDENET Magic UFO LED WiFi Controller
# License: 3-Clause BSD
# Copyright 2017 Kale J. Franz
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions are met:
kalefranz /
Last active August 22, 2017 16:36
Strip binstar tokens
import glob
import json
import os
import re
import shutil
import sys
def split_anaconda_token(url):
View gist:54dcf9e391c11ce8c50d064b42c53651
Verifying that +kalefranz is my blockchain ID.
kalefranz / config
Created December 18, 2015 13:31
SSH config for proxy
View config
Host 10.32.*.* * ! !
ServerAliveInterval 60
TCPKeepAlive yes
ProxyCommand ssh -q -A username@ nc %h %p
ControlPersist 15m
User username
IdentityFile ~/.ssh/my_key
ControlMaster auto
ControlPath ~/.ansible/ansible-ssh-%h-%p-%r
StrictHostKeyChecking no
kalefranz / conda-repo-clone
Last active June 24, 2021 10:28
Conda Repo Clone
View conda-repo-clone
#!/usr/bin/env python
import hashlib
import json
import logging
import logging.handlers
import os
import shutil
import sys
import tempfile
import urllib