Skip to content

Instantly share code, notes, and snippets.

🛏️
PR'ing from bed

Nick Schonning nschonni

🛏️
PR'ing from bed
Block or report user

Report or block nschonni

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nschonni
nschonni / Basic Theories
Created Aug 3, 2012
Theory test for urls
View Basic Theories
public static IEnumerable<object[]> ValidHttpUrlsToTest
{
get
{
yield return new object[] { "HTTP, Closing no slash", "http://foo" };
yield return new object[] { "HTTP, Closing slash", "http://foo.com/" };
yield return new object[] { "HTTP, Closing", "http://foo.com/" };
yield return new object[] { "HTTP, no domain no slash", "http://foo" };
yield return new object[] { "HTTP, no domain no slash", "http://foo/" };
yield return new object[] { "HTTP, More than one parens", "http://foo.com/more_(than)_one_(parens)" };
View grid.css
@charset "UTF-8";
[id|="wb-body-sec"] #wb-core .grid-12 .span-1 {
width: 50px;
}
[id|="wb-body-sec"] #wb-core .grid-12 .offset-1 {
margin-left: 80px;
}
[id|="wb-body-sec"] #wb-core .grid-12 .span-2 {
width: 120px;
}
@nschonni
nschonni / menu-eng.html
Last active Dec 12, 2015
Categorized demo content for mega menu
View menu-eng.html
<!DOCTYPE html>
<html lang="en">
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt -->
<!-- DataAjaxFragmentStart -->
<li><section><h3><a href="http://wet-boew.github.com/wet-boew/index-eng.html">WET project</a></h3><div class="mb-sm">
<div class="span-2">
<ul>
<li><a href="https://github.com/wet-boew/wet-boew/">Main project page</a></li>
<li><a href="http://wet-boew.github.com/wet-boew/demos/index-eng.html">Working examples</a></li>
@nschonni
nschonni / index.html
Created Feb 4, 2013
A CodePen by Nick Schonning. Trying to replace image gradient - Trying to replace the header div in the linked example with a fixed px sized header. An icon sprite will be added as the second background layer if the gradient works
View index.html
<div class="module-info">
<p>The date has a <code>float:left;</code> attribute applied to it, so a <code>&lt;div class="clear"&gt;&lt;/div&gt;</code> is needed afterwards to start a fresh line.</p>
<p>Also, the design is more refined looking in modern browsers, whereas it's simplified for users with IE7/8.</p>
</div>
<p>This should look like the div to the right <a href="http://wet-boew.github.com/wet-boew/demos/grids/grid-other-eng.html#date">here</a> but with the correct sprite icon
</p>
@nschonni
nschonni / formvalid-eng.html
Created Feb 6, 2013
Form validation demo with updated data-* properties replacing validation meta classes for v1.11.0 compatibility
View formvalid-eng.html
<!DOCTYPE html>
<!--[if IE 7]><html lang="en" class="no-js ie7"><![endif]-->
<!--[if IE 8]><html lang="en" class="no-js ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt -->
View RitchieD-1224-1.html
<!DOCTYPE html>
<!--[if IE 7]><html lang="fr" class="no-js ie7"><![endif]-->
<!--[if IE 8]><html lang="fr" class="no-js ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="fr" class="no-js">
<!--<![endif]-->
<head><meta charset="utf-8" /><title>
Test
</title>
<script src="/wet/dist/js/jquery.min.js" type="text/javascript"></script>
@nschonni
nschonni / CONTRIBUTING.md
Last active Dec 13, 2015
Generic contributing instructions for all travis-ci repos
View CONTRIBUTING.md
@nschonni
nschonni / changelog.html
Created Feb 18, 2013
Created using: git log v3.0.4-release-src..v3.0.5-release-src --pretty=format:'<li> <a href="http://github.com/wet-boew/wet-boew/commit/%H">view commit &bull;</a> %s</li> ' --reverse | grep -v Merge >> changelog.html
View changelog.html
<ol>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/430965cf63369fac73fcccb4d21056f8a32d4725">view commit &bull;</a> Updated v3.0 branch to v3.0.5-a1.</li>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/6ce2f440955ceab1365f7f9e7a7d178bf1dc5957">view commit &bull;</a> more changes to scss to make ol appear in table of contents</li>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/de64c55a0878b5568a73d8d5666c66cac0a1ddec">view commit &bull;</a> Updated the post build script keep the root files of the dit branch up to date</li>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/b0deab3a34c9b275f7c3efa83a39497aeb1a683d">view commit &bull;</a> Used a temp folder for the post build dist branches</li>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/902540f8c23db75b823530b540830edea1fe008b">view commit &bull;</a> Fixed problem with the post build script not creating the temp directory</li>
<li> <a href="http://github.com/wet-boew/wet-boew/commit/ea2ec03a1a58616d64c44cb2
View Not-working-inside-tab.html
<!DOCTYPE html>
<!--[if IE 7]><html lang="en" class="no-js ie7"><![endif]-->
<!--[if IE 8]><html lang="en" class="no-js ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt -->
@nschonni
nschonni / intro to sass.md
Last active Dec 20, 2015
Notes and links for Intro to Sass
View intro to sass.md

Introduction to Sass

Sass is a CSS pre-processor language to add on exciting, new, awesome features to CSS. Sass was the first language of its kind and by far the most mature and up to date codebase.

Sass was originally created by Hampton Catlin (@hcatlin). The extension and continuing evolution of the language has all been the result of years of work by Nathan Weizenbaum (@nex3) and Chris Eppstein (@chriseppstein).

http://sass-lang.com/

Why Sass?

  • SCSS >= CSS
  • Sass indentation based
You can’t perform that action at this time.