Skip to content

Instantly share code, notes, and snippets.

View bkatiemills's full-sized avatar
💭
pushing pixels farming bits

Bill Katie-Anne Mills bkatiemills

💭
pushing pixels farming bits
View GitHub Profile

Phase 2/DanKatz/WorkshopReport_GeoData2011.pdf

  1. What is the title of this document?

"NSF Geo-Data Informatics: Exploring the Life Cycle, Citation and Integration of Geo-Data Workshop report 2011"

  1. Who produced it?

National Science Foundation

mentorship-workflow

Some explanations:

  • Mentorship Meetups are intended to be generic help sessions, where groups of newly badged instructors meet with a mentor once or twice a month to discuss progress towards teaching in a workshop. The mentor will create a space where new instructors are comfortable asking questions, facilitate conversation between instructors so they can support their peers in this process, and offer guidance where necessary. These meetups are soft-mandatory for new instructors until they teach their first workshop; Instructor Training should funnel all new trainees there as the clear next step.
  • Pre-workshop Checkin - to be discussed, likely a troubleshooting session to make sure everything is on track in the final leadup to the workshop.
  • Topic-specific help sessions have been floated previously, like intro to git and how to tea
from flask import Flask, render_template
import requests, json, os
app = Flask(__name__, template_folder='.')
@app.route('/')
def homepage():
authtoken = open(os.environ['AUTHTOKEN'], 'r').readline().strip()
#!/bin/sh
# write configs
# =============================================================================
# config.php
# =============================================================================
cat >/etc/phpldapadmin/config.php <<EOL
<?php
// map attribute names to user friendly names
{
"storage-driver": "devicemapper",
"storage-opts": [
"dm.directlvm_device=/dev/xdf",
"dm.thinp_percent=95",
"dm.thinp_metapercent=1",
"dm.thinp_autoextend_threshold=80",
"dm.thinp_autoextend_percent=20",
"dm.directlvm_device_force=false"
]
@bkatiemills
bkatiemills / Dockerfile
Created September 19, 2017 14:16
simple docker socket mount example
FROM ubuntu:16.04
# install docker
RUN apt-get update
RUN apt-get install -y apt-transport-https ca-certificates curl software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
RUN apt-get update
RUN apt-get install -y docker-ce
@bkatiemills
bkatiemills / daemon.json
Created September 27, 2017 16:39
a minimal daemon.json for using devicemapper on centos.
{
"storage-driver": "devicemapper",
"storage-opts": [
"dm.directlvm_device=/dev/xvdb"
]
}
version: '3.3'
services:
minio1:
image: training/minio:demo
volumes:
- minio1-data:/export
ports:
- "9001:9000"
networks:
@bkatiemills
bkatiemills / docker-compose-ui.yml
Created March 30, 2018 14:12
docker-compose for UI development
version: "3.1"
services:
database:
image: pets-db:1.0
environment:
POSTGRES_USER: gordonuser
POSTGRES_DB: ddev
ports:
- "5432:5432"
# Calico Version v3.1.1
# reproduced from https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml
# https://docs.projectcalico.org/v3.1/releases#v3.1.1
# This manifest includes the following component versions:
# calico/node:v3.1.1
# calico/cni:v3.1.1
# calico/kube-controllers:v3.1.1
# This ConfigMap is used to configure a self-hosted Calico installation.
kind: ConfigMap