This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%[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 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 "[email protected]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem Solving and Programming Concepts | |
Adam Merrifield (2697795). | |
Final Exam | |
################################ | |
start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from:([email protected]) "residence_country: CA", "payer_state: ON" after:2010/12/31 before:2012/1/1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg | |
$ sudo chown -R `whoami` /usr/local/texlive | |
$ tlmgr update --self | |
$ tlmgr install ucs | |
$ tlmgr install etoolbox | |
# Install pandoc view homebrew |