Skip to content

Instantly share code, notes, and snippets.

View andyinabox's full-sized avatar

Andy Dayton andyinabox

View GitHub Profile
@andyinabox
andyinabox / deploy.rb
Created November 26, 2011 03:23 — forked from stojg/deploy.rb
Silverstripe + Capistrano + Git recipe
# My ./config directory in silverstripe looks like this:
# ./503.php <- a 503 Maintainance page
# ./_ss_environment.php <- the production environment settings
# ./deploy.rb <- is the recipe below
#
# multiple stages
set :stages, %w(staging dev production) # no info for production server yet
set :default_stage, "dev"
require 'capistrano/ext/multistage'
@andyinabox
andyinabox / .gitignore
Last active August 29, 2015 14:11 — forked from salcode/.gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20140606
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore
@andyinabox
andyinabox / exercise_a.txt
Last active September 29, 2015 03:13 — forked from aparrish/exercise_a.txt
Programming Exercise A for RWET
RWET Programming Exercise A
Text processing on the UNIX command line
---
Step 1. Write the command to download the text file with the following URL to
your computer with the filename "frost.txt". (Hint: You'll need to use the
"curl" command, and possibly redirection with ">").
Here's the URL:
http://rwet.decontextualize.com/texts/frost.txt
@andyinabox
andyinabox / exercise_c.py
Created October 6, 2015 01:47 — forked from aparrish/exercise_c.py
Programming Exercise C for RWET (dictionaries, sets, list comprehensions)
#
# Worksheet #3
#
# This worksheet is also a Python program. Your task is to read the
# task descriptions below and then write one or more Python statements to
# carry out the tasks. There's a Python "print" statement before each
# task that will display the expected output for that task; you can use
# this to ensure that your statements are correct.
#
# In this worksheet, some of the tasks will throw an error that causes
@andyinabox
andyinabox / exercise_b.py
Last active October 6, 2015 02:06 — forked from aparrish/exercise_b.py
RWET Programming Exercise B
#
# RWET Programming Exercise B
#
# This worksheet is also a Python program. Your task is to read the
# task descriptions below and then write one or more Python statements to
# carry out the tasks. There's a Python "print" statement before each
# task that will display the expected output for that task; you can use
# this to ensure that your statements are correct.
#
@andyinabox
andyinabox / README.md
Last active November 9, 2015 19:15 — forked from timyates/README.md
Generating terminal gifs on OS X the free way

Didn't work any of this out, I just stuck things together that I found on the web

First, install the things:

brew install imagemagick
brew install ffmpeg

Then, I have a small (600px wide) iTerm window with a big font. Load Quicktime, and record screen (just the area of the terminal)

Trim and save the mov somewhere (lets say ~/Documents/term.mov)

#include "blinky.h"
Blinky led1(13, 1000);
Blinky led2(12, 500);
void setup() {
// put your setup code here, to run once:
}

Week 9: Time

How are we feeling?

HTML Brian Fitzgerald/flickr

Today we will

  • Discuss the second part of Galloway's Protocol
  • Go over last week's assignment

Week 12: Time to get busy

How we feelin?

Zombie Mode

Today

  1. Discussion
  2. "Timepiece" projects
@andyinabox
andyinabox / CCFA15_week_11.md
Created January 31, 2017 18:24 — forked from daytona1/CCFA15_week_11.md
Creative computing week 11

Week 11: Work Day!

How we feelin?

Today

Today

  1. Pushing to the web server
  2. Basic project setup review