Skip to content

Instantly share code, notes, and snippets.

View nschonni's full-sized avatar
🛏️
PR'ing from bed

Nick Schonning nschonni

🛏️
PR'ing from bed
View GitHub Profile
@nschonni
nschonni / index.html
Created February 4, 2013 05:43
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
<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 February 6, 2013 06:46
Form validation demo with updated data-* properties replacing validation meta classes for v1.11.0 compatibility
<!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 -->
<!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 December 13, 2015 20:48
Generic contributing instructions for all travis-ci repos
@nschonni
nschonni / changelog.html
Created February 18, 2013 22:27
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
<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
<!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 December 20, 2015 19:09
Notes and links for Intro to Sass

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
@nschonni
nschonni / 1. Setting up the build.md
Last active December 22, 2015 08:19
Instructions for building WET 4.0 while the build is still in flux

Setup instructions before first build

  1. Install NodeJS
  2. Open command prompt into the project's root directory
  3. Run script/setup (or script\setup in the Windows commandline) to install the global depenencies

Running the build:

  1. Run grunt

You can find a full list of tasks and their descriptions by running grunt --help

/*
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-eng.html / wet-boew.github.io/wet-boew/Licence-fra.html
*/
/*
* Session Timeout plugin
*/
/*global jQuery: false, wet_boew_sessiontimeout:false, alert:false, confirm:false */
(function ($) {
"use strict";
@nschonni
nschonni / report.html
Created April 13, 2017 19:14
Ran the translate pytest --cov=. --html=report.html -r EfsxX
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Test Report</title>
<link href="assets/style.css" rel="stylesheet" type="text/css"/></head>
<body onLoad="init()">
<script>/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */