Skip to content

Instantly share code, notes, and snippets.

View courtney-rosenthal's full-sized avatar

Courtney Rosenthal courtney-rosenthal

View GitHub Profile
@courtney-rosenthal
courtney-rosenthal / open-data-day-austin-24-links.md
Last active March 9, 2024 16:14
Open Data Day Austin 2024 Links
@courtney-rosenthal
courtney-rosenthal / sco-xenix-faq.txt
Created November 16, 2022 19:41
SCO Xenix FAQ -- from 1996
Newsgroups: comp.unix.xenix.sco,news.answers
Subject: Welcome to comp.unix.xenix.sco [monthly FAQ posting]
Followup-To: comp.unix.xenix.sco
Summary: answers to frequently asked questions
Approved: news-answers-request@MIT.Edu
Archive-name: sco-xenix
News-answers-archive-name: sco/xenix
Posting-frequency: monthly
Version: $Id: sco-xenix,v 1.64 1996/07/21 01:20:54 chip Exp $
'''guess_your_number.py - Computer runs a smart algorithm to guess your number.'''
def game():
'''Run the "guess your number" game, returning number of guesses made.
Returns number < 0 if game was terminated early.
'''
# Define the limits of the guessing game.
min = 1
max = 10
'''
guess_my_number.py - A simple number guessing game.
'''
import random
# Define min and max to the range of numbers for the human to guess.
min = 1
max = 10
$ time espeak "Tim Apple"
real 0m0.818s
user 0m0.004s
sys 0m0.007s
$ time espeak "Tim Cook from Apple"
real 0m1.384s
user 0m0.016s
sys 0m0.008s
@courtney-rosenthal
courtney-rosenthal / web-basic.yml
Last active July 25, 2018 17:08
Ansible playbook that I use to install Apacht httpd and certbot on Amazon EC2 Linux
---
#
# Variables used in this playbook:
#
# * email_hostmaster -- Contact email address for Let's Encrypt registration
# * ssl_domains -- List of domains to build into cert, primary domain first
#
##############################################################################
@courtney-rosenthal
courtney-rosenthal / photo-albums-2018-tokyo.md
Last active October 22, 2019 19:48
2018 Tokyo photo albums

Photo albums of my 2018 Tokyo Trip (May 14-24)

Best viewed on a desktop browser. The photos have annotations. When you have a photo open click on the "info" icon to view the annotation.

Day 1 / Shibuya

This is my first day in Tokyo. I spend the day close to the apartment, in Shibuya, home of the world famous Shibuya Scramble Crossing.

https://photos.app.goo.gl/cokDsocj2TqV1SCJ3

Day 2 / Robot Tour of Tokyo

@courtney-rosenthal
courtney-rosenthal / ConcertDecisionTree.svg
Created March 7, 2018 17:58
Austin Concert Decision Tree
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@courtney-rosenthal
courtney-rosenthal / photo-albums-2017-tokyo.md
Last active May 27, 2018 17:01
2017 Tokyo photo albums
@courtney-rosenthal
courtney-rosenthal / bkup-openwrt.sh
Created July 5, 2016 03:33
Perform a backup of an OpenWRT router.
#!/bin/sh
#
# Perform a backup of an OpenWRT router.
#
USAGE="usage: $0 [-v] [-i sshIdentityFile] host backupDir"
iflag=
xflag=