Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
@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 / 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 / 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 / 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 / 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 / error_reporting.php
Created February 26, 2013 19:48
Show php errors
ini_set('display_errors',1);
error_reporting(E_ALL);
@seyDoggy
seyDoggy / stacks-down-arrow-width.css
Last active December 14, 2015 00:29
"If you have any stacks that use responsive styling for images, you probably know that when you apply your width:100% to images, the default arrow image inside edit mode gets huge. I finally took the time to find a fix/hack so I thought that I would share it. Add the following CSS to your stack and you should be golden!" -- Joe Workman
/* Responsive Edit Mode Hack courtesy of Joe Workman <joeworkman.net> */
%[if edit]%
#%id% img[src*="YHStacksKit.framework/Resources/down_arrow.png"]{ width:auto !important; }
%[endif]%
@seyDoggy
seyDoggy / release-note-regex-answer.txt
Created February 7, 2013 18:23
release note answer to regular expression.
<li>$1</li>
@seyDoggy
seyDoggy / release-note-regex.txt
Created February 7, 2013 18:23
release note regular expression
>>\s{4}([^<]*)\s{4}<<[^>]*
@seyDoggy
seyDoggy / seydoggy-grid.php
Created January 18, 2013 17:02
Our homegrown grid system
// Open Grid
echo '<div class="seydoggyGrid">';
// Open Column
echo '<div class="column two"><div class="content">';
// Open Content
echo '<h2>Column 1</h2>';
echo '<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin venenatis risus dictum mi. Etiam ullamcorper. Mauris justo. Fusce nibh quam, imperdiet at, nonummy.</p>';