Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
@seyDoggy
seyDoggy / error_reporting.php
Created February 26, 2013 19:48
Show php errors
ini_set('display_errors',1);
error_reporting(E_ALL);
@seyDoggy
seyDoggy / guess-the-number.php
Created March 6, 2013 02:10
Guess the Number game.
#!/usr/bin/php -q
<?php
/*
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Guess the Numbers
@seyDoggy
seyDoggy / billy-goat-fast-food.php
Created March 12, 2013 18:27
Billy Goat Restaurant solution.
#!/usr/bin/php -q
<?php
/*
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Billy Goat Fast Food
@seyDoggy
seyDoggy / PSPC Chapter 8 review.md
Created March 13, 2013 19:49
Chapter 8 review questions

Problem Solving and Programming Concepts

Adam Merrifield (2697795).

Chapter 8 Review Questions: pg 347

  1. b. descending
  2. a. ascending
  3. c. use numeric values when making comparisons 4 .b. temp = x
@seyDoggy
seyDoggy / pre-scroll-box.html
Last active December 15, 2015 03:59
generic scrolling pre box for code display.
<div style="background-color: rgb(238, 238, 238); border: 1px solid rgb(221, 221, 221); margin-bottom: 2em; padding: 0; width:100%; overflow:auto"><pre style="background:transparent;border-style:none;padding:0.5em 1em;margin:0;">Your Script
That Requires
pre-determined
fomatting</pre></div>
@seyDoggy
seyDoggy / sd-scroll-box.html
Created March 19, 2013 18:15
seydoggy scrolling pre box for displaying code.
<div class="sd-scroll-box"><pre>Your Script
That Requires
pre-determined
fomatting</pre></div>
@seyDoggy
seyDoggy / stacks-starter-script.js
Last active December 15, 2015 04:09
stacks addon starter script
/**
* Script for myStack
*
* A super awesome stack of awesomeness
* http://some.url/mystack
*
* Licensed under the GPL 2
* Copyright 2013 Adam Merrifield
*/
@seyDoggy
seyDoggy / PSPC Chapter 9 review.md
Created March 20, 2013 02:10
Chapter 9 Review questions.

Problem Solving and Programming Concepts

Adam Merrifield (2697795).

Chapter 9 Review Questions: pg 397

  1. c. A method can contain one or more other methods.
  2. a. a header
  3. c. in scope
  4. b. a value in a method call
@seyDoggy
seyDoggy / PSPC Chapter 8 Assignment.txt
Created March 20, 2013 17:09
Chapter 8 Assignment
Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 8 Assignment: pg 350 3a
3. a. Professor Zak allows students to drop the two lowest scores on the 10
100-point quizzes she gives during the semester. Design an application that
accepts a student name and 10 quiz scores. Output the student’s name and
total points for the student’s eight highest-scoring quizzes.
@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