Skip to content

Instantly share code, notes, and snippets.

Avatar
🛏️
PR'ing from bed

Nick Schonning nschonni

🛏️
PR'ing from bed
View GitHub Profile
@nschonni
nschonni / .markdownlint.json
Last active Sep 10, 2019
Running Markdownlint config for nodejs/node as run with markdownlint-cli@0.18.0 using `markdownlint "**/*.md" -i "deps/" -i "tools/" -i "test/"`
View .markdownlint.json
{
"default": true,
"MD004": false,
"MD013": false,
"MD014": false,
"MD022": false,
"MD024": false,
"MD026": false,
"MD033": {
"allowed_elements": [
View gist:525f2883806a94fbe61a41b9927cd927
### Keybase proof
I hereby claim:
* I am nschonni on github.
* I am nschonni (https://keybase.io/nschonni) on keybase.
* I have a public key ASDVBIZ6Hw4yRKkFB0-ItEctIBrVE0wM8QXsVYJoZ889bAo
To claim this, I am signing this object:
@nschonni
nschonni / report.html
Created Apr 13, 2017
Ran the translate pytest --cov=. --html=report.html -r EfsxX
View report.html
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,
@nschonni
nschonni / SassMeister-input.scss
Created Aug 14, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
$grid-width: 40px;
$inner-width: 40px;
.foo {
@if $grid-width == $inner-width {
content: "We're equal";
@nschonni
nschonni / SassMeister-input-HTML.html
Created Aug 14, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<head>
<title>Intro to Sass</title>
</head>
<body>
<h1 class="awesome">Look Ma</h1>
</body>
@nschonni
nschonni / SassMeister-input.scss
Created Jun 25, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
// Original
.cal-cnt-fluid.cal-cnt, .cal-cnt-fluid table.cal-cnt {
width: 100%;
}
// Nested
@nschonni
nschonni / nest_selector_spec.rb
Created Apr 21, 2014
Spec file for scss-lint NestSelector lint
View nest_selector_spec.rb
require 'spec_helper'
describe SCSSLint::Linter::NestSelector do
context 'when single root' do
let(:css) { <<-CSS }
p {
}
CSS
it { should_not report_lint }
@nschonni
nschonni / ie8-wet-boew.min.css
Created Mar 6, 2014
Minified IE8 CSS splitting @ rules to separate lines
View ie8-wet-boew.min.css
@charset "utf-8";/*!
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
* v4.0.0-rc1-development - 2014-03-06
*
*//*!
* GLYPHICONS Halflings for Twitter Bootstrap by GLYPHICONS.com | Licensed under http://www.apache.org/licenses/LICENSE-2.0
*//*!
* Bootstrap v3.1.1 (http://getbootstrap.com)
@nschonni
nschonni / ie8-wet-boew2.min.js
Created Mar 5, 2014
IE8 js uglified with the "ansii_true" buetifier option so that the unicode characters aren't escaped
View ie8-wet-boew2.min.js
/*!
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
* v4.0.0-rc1-development - 2014-03-04
*
*/
!function(a,b){b.getData=function(b,c){var d,e=b.jquery?b[0]:b,f=e.getAttribute("data-"+c);if(f)try{d=JSON.parse(f)}catch(g){a.error("Bad JSON array in data-"+c+" attribute")}return a.data(e,c,d),d}}(jQuery,wb),function(a){"use strict";a.jqEscape=function(a){return a.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1")},a.normalizeDiacritics=function(a){var b,c,d={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\
@nschonni
nschonni / SassMeister-input.scss
Created Feb 28, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v0.7.0)
// ----
$gray-light: #eee;
$active-blue: #ddd;
$accent-blue: #0F0;
$gray: #ccc;
@mixin btn-overrides {