Skip to content

Instantly share code, notes, and snippets.

View karlstolley's full-sized avatar

Karl Stolley karlstolley

View GitHub Profile
@karlstolley
karlstolley / .bashrc
Created February 28, 2011 23:00
Original .bashrc from lab Linux computers, plus lines necessary for RVM
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
# [ -z "$PS1" ] && return
# RVM:
if [[ -n "$PS1" ]] ; then
@karlstolley
karlstolley / index.htm
Created March 16, 2011 22:44
XHTML 1.0 Strict DOCTYPE (Book)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@karlstolley
karlstolley / doctype.txt
Created April 30, 2011 02:01
HTML5 DOCTYPE in hex, octal, decimal, and binary
<!DOCTYPE html>
offs asc hex dec oct bin
0000: < 3C 060 074 00111100
0001: ! 21 033 041 00100001
0002: D 44 068 104 01000100
0003: O 4F 079 117 01001111
0004: C 43 067 103 01000011
0005: T 54 084 124 01010100
0006: Y 59 089 131 01011001
@karlstolley
karlstolley / index.htm
Created July 16, 2011 18:33
NIU Website
<!DOCTYPE html>
<html lang="en">
<head>
<title>Northern Illinois University</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/reset/reset-min.css">
</head>
<body>
<h1><a href="http://www.niu.edu" rel="home">
Northern Illinois University</a></h1>
@karlstolley
karlstolley / rough-calendar.md
Created August 5, 2011 16:59
Rough Calendar for COM530: Fall 2011

8/23 - Welcome & Introductions; Diving In

In Class: Basic setup; intro to editor, command line, Git, Firefox + plugins
Reading: Stolley, ALA stuff
To Do: Set up editor, Git, Firefox + plugins on own computer

8/30 - XHTML Strict & Basic CSS

In Class: XHTML Strict & CSS walk-thrus with Git; GitHub accounts
Reading: Swicegood, ALA on Git (sm. article)
To Do: Page construction, Git use - pushing to GitHub

@karlstolley
karlstolley / for-adam.htm
Created September 10, 2011 23:35
Example for Adam
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bullets, Centered Images for Adam</title>
<link rel="stylesheet" type="text/css" media="all" href="http://yui.yahooapis.com/2.9.0/build/reset/reset-min.css" />
@karlstolley
karlstolley / .zshrc
Created April 16, 2012 16:09
My .zshrc file in Gewgaws Lab
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="gallois"
# Set to this to use case-sensitive completion
@karlstolley
karlstolley / .zshrc
Created April 24, 2012 20:09
Campus Mac .zshrc
# https://github.com/robbyrussell/oh-my-zsh
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
export ZSH_THEME="gallois"
@karlstolley
karlstolley / stolley.md
Created April 25, 2012 17:33
My bit for the C&W Town Hall III, Program or Be Programmed
/*
  I generally don’t write out conference presentations like this, but because
  there’s a respondent for this town hall, I’ve been asked to. So, I’m going
  to compose the thing publicly, although my actual talk will be based on the
  points in the headings, not the verbatim text here.
*/

Source Literacy: A Vision of Craft

Karl Stolley, Illinois Institute of Technology

@karlstolley
karlstolley / setup.md
Created April 26, 2012 01:51
Computer Prep Instructions for End-to-End Agile Web Application Development from Basically Nothing

The workshop will require a number of technologies, which time will not permit us to set up on site. So, find your operating system below (Windows or Mac; if you're on Linux, let me know), and follow the steps to get your computer set up ahead of time. If you have any problems, email karl.stolley@gmail.com

At the request of some participants, I've also provided links to some reading material at the very bottom of this page. Look through that stuff if you have the time or interest.

Windows

First, you'll want to have a good editor on hand for the workshop. You can't do much better than Notepad++; just download and unzip this file: http://download.tuxfamily.org/notepadplus/6.1.2/npp.6.1.2.bin.zip Unzip the file; there will be a folder called unicode; just copy that folder to your desktop (you might want to rename it Notepad++). Done!

Next, you'll need to install Ruby on Rails. The RailsInstaller is the best way to go for Windows: http://railsinstaller.org/