View curl.md

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

View .block
license: gpl-3.0
View README.md
Color scheme picker using ColorBrewer scales

A color scheme picker based on Mike Bostock's visual reference to every ColorBrewer scale (colors by Cynthia Brewer). Not perfect, but just a first try.

Mike Bostock's color brewer scales are available in CSS and JS format.

Click on a palette to change the color scheme. The data is based on 2010 US Census blocks for Georgia aggregated into grid squares.

View README.md

Command-line Computing

Use the command line to manipulate the local filesystem.

Objectives

  1. Familiarize yourself with the command line.

Prerequisites

View my_mac_script.sh
#!/bin/bash
# download to your desktop, then run with: bash ~/Desktop/my_mac_script.sh
echo "Hello, $USER."
sleep 2
echo "The current time is: $(date)."
sleep 2
echo "You are running this script from within the following folder:"
sleep 2
View student_website_exercise.md

Fork the Repo

Leverage an existing open source website to publish your own.

Note: your website content will be available to the public.

Objectives

  1. Develop a familiarity with open source software, software version control, and website hosting.
  • Gain exposure to a basic website, noting its directory structure and observing HTML document structures and content.
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

View stop_times_with_shared_trip_and_stop.rb
#
# I would expect entries in the stop_times.txt file to be unique when grouped by `trip_id` and `stop_id`.
#
# Indeed, of the current file's 520 entries, 510 are unique, but 10 are not (5 groups of 2).
#
# The following data structure contains entries from stop_times.txt grouped by `trip_id` and `stop_id`.
#
# My question is, are these entires duplicative or do they have some significance?
#
# Thank you!
View gui_long_distance.py
# resources:
# + https://www.tutorialspoint.com/python/python_gui_programming.htm
# + https://www.tutorialspoint.com/python/tk_radiobutton.htm
# + https://www.tutorialspoint.com/python/tk_entry.htm
from Tkinter import *
window = Tk()
#
View auto.py
# prompt:
# Joe's Automotive performs the following routine maintenance services:
# + Oil change - $30.00
# + Lube job - $20.00
# + Radiator flush - $40.00
# + Transmission flush - $100.00
# + Inspection - $35.00
# + Muffler replacement - $200.00
# + Tire rotation - $20.00
# Write a GUI program with check buttons that allow the user to select any or all of these services.