Skip to content

Instantly share code, notes, and snippets.

Ryan Niswonger rniswonger

Block or report user

Report or block rniswonger

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
rniswonger / em-value.scss
Created Oct 7, 2017
Sass Mixin: Generate EM value from px
View em-value.scss
// generate an em value
@function em($target_px, $context_px: 16) {
@return $target_px / $context_px * 1em;
rniswonger / rays.js
Last active Nov 16, 2016 — forked from alanedwardes/rays.js
Generates animated sun rays using HTML canvas
View rays.js
var rays = new Object({
canvas: false,
context: false,
offset: 0,
speed: 0.005,
animating: false,
color_1: '',
color_2: '',
mid_x: 0,
rniswonger / script.js
Last active Oct 19, 2016
Scroll-away header
View script.js
* Header animation with requestAnimationFrame debounce
(function($) {
$(document).ready(function() {
var lastKnownScrollY = 0;
var lastUpdatedScrollY = 0;
var scrollCheck = false;
var showingHeader = false;
View remove-google-analytics-utm-from-addressbar.js
// Wes Bos
function removeUTM() {
const loc = window.location;
if ('utm')) {
if (window.history.replaceState) {
history.replaceState({}, '', loc.pathname);
} else {
loc.hash = '';
rniswonger / config.json
Last active Jun 28, 2016 — forked from anonymous/config.json
Bootstrap Customizer Config - Minimum components for navbar w/dropdowns
View config.json
"vars": {},
"css": [
View gist:e8773cc532490b0aeb6ff0422c52945d
All attributes:
A specific attribute (ex. class):
Test it:
View Maban Website

Website Contract [month] [year]

Description of this Contract

This contract is not meant to trick or deceive you; the intention is purely to protect both parties. I have tried to keep the wording as plain as possible, but if anything is unclear, please let me know and I will be more than happy to clarify it with you. Also, until you sign it, please feel free to request to change bits of it to suit your requirements.

In short, [client name] is contracting me, [my name], to [description of my role] between [start date and finish date].

By signing this, you are confirming that you have the power and ability to enter into this contract on behalf of [client's company].

View dabblet.css
* buy button
input {
border:0px solid #d9e1f1;
rniswonger / Table with fixed col and row headers (prototype).markdown
Last active Aug 29, 2015
Table with fixed col and row headers (prototype)
View Table with fixed col and row headers (prototype).markdown

Table with fixed col and row headers (prototype)

Limited browser support, fixed size cells. I hope to make something more flexible.

A Pen by Ryan Niswonger on CodePen.


You can’t perform that action at this time.