Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
@seyDoggy
seyDoggy / gmail-search.txt
Created May 18, 2013 20:44
Gmail term for invoices
from:(notifications@e-junkie.com) "residence_country: CA", "payer_state: ON" after:2010/12/31 before:2012/1/1
@seyDoggy
seyDoggy / PSPC Final.txt
Created April 10, 2013 23:14
PSPC Final Exam
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Final Exam
################################
start
@seyDoggy
seyDoggy / test-mail.html
Created April 10, 2013 14:54
Contents of ~/Desktop/test-mail.html for sendmail script.
<h3>This is a test</h3>
<p>Adam;</p>
<p>If you recieved this then you have sucessfully fixed the mail server on your Mac.</p>
@seyDoggy
seyDoggy / test-mail.sh
Created April 10, 2013 14:53
sendmail script for sending html email.
#!/bin/bash
# send mail to seydesign forum and post to blog
(cat <<EOCAT
Subject: Testing the mail system
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
EOCAT
cat ~/Desktop/test-mail.html) | sendmail "someuser@gmail.com"
@seyDoggy
seyDoggy / PSPC Chapter 11 review.txt
Created April 4, 2013 13:46
PSPC Chapter 11 review
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 11 Review Questions: pg 482
1. c. constructor
2. a. exactly one constructor
3. c. both of the above
4. b. a constructor that requires no arguments
@seyDoggy
seyDoggy / stack-starter-script-no-com.js
Last active December 15, 2015 13:58
stacks starter script, no comments.
stack = {
postDom : $(function () {
var myStack = stacks.myStack;
var thisID = myStack.setId('%id%');
myStack.setOption = '%id=someOption%';
myStack.callTallest(thisID);
}),
preDom : (function() {
if (!stacks.myStack) {
stacks.myStack = {
@seyDoggy
seyDoggy / stack-edit-mode-UI.html
Last active December 15, 2015 12:59
stack edit mode UI HTML for Stacks RapidWeaver plugin.
%[if edit]%
<!--
/**
* Edit mode UI styles
*
* source (CSS): https://gist.github.com/5264404
* source (HTML): https://gist.github.com/5264439
*
* Licensed under the GPL 2: http://www.gnu.org/licenses/gpl-2.0.html
* Copyright 2013 Adam Merrifield
@seyDoggy
seyDoggy / stack-edit-mode-UI.css
Last active December 15, 2015 12:59
stack edit mode UI styles for Stacks RapidWeaver plugin.
%[if edit]%
/**
* Edit mode UI styles
*
* source (CSS): https://gist.github.com/5264404
* source (HTML): https://gist.github.com/5264439
*
* Licensed under the GPL 2: http://www.gnu.org/licenses/gpl-2.0.html
* Copyright 2013 Adam Merrifield
*/
@seyDoggy
seyDoggy / PSPC Chapter 10 review.txt
Created March 27, 2013 23:31
PSPC Chapter 10 review questions
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 10 Review Questions: pg 442
1. c. instance
2. a. field
3. b. client
4. b. is-a
@seyDoggy
seyDoggy / PSPC Chapter 9 Assignment.txt
Created March 27, 2013 21:11
PSPC Chapter 9 Assignment
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 9 Assignment
################################
start