Skip to content

Instantly share code, notes, and snippets.

View oksushi's full-sized avatar

Cal Wilson oksushi

View GitHub Profile
---
layout: gist
title: Snatch
published: true
permalink: /workouts
hero-title: Snatch
category: Workouts
tag: CrossFit
hero-paragraph: Monday, Dec 2
hero-image: man-changing-oly-weights-at-alsw-in-holly-springs-hero
@oksushi
oksushi / frontendDevlopmentBookmarks.md
Last active October 19, 2016 23:45 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
{% comment %}
This snippet spits out the HTML navigation derived from the front matter settings in your markdown files.
https://gist.github.com/dominikwilkowski/c7d916c9b36e4eebbc90
Usage:
{% include navigation.liquid %}
Return:
HTML direct output
'use strict';
/*******************************************************************************************************
*
* FOLDER STRUCTURE
*
* dev // files in root just move to ./prod/ and *.html files will look for grunt-includes directives
* ├── HTMLincludes // HTML snippets included by grunt-includes
* └── windows.html
* ├── fonts // files will simply be moved to ./prod/fonts/
@oksushi
oksushi / dabblet.css
Created May 30, 2013 11:10 — forked from LeaVerou/dabblet.css
Vertical centering with Flexbox + margin fallback
/**
* Vertical centering with Flexbox + margin fallback
* Lea Verou & David Storey
*/
html, body { height: 100%; }
body {
width: 100%; /* needed for FF */
margin: 0;
@oksushi
oksushi / dabblet.css
Created March 25, 2013 06:49 — forked from anonymous/dabblet.css
Any chance to get the result displayed as in
/**
* Any chance to get the result displayed as in
* http://dabblet.com/gist/5235311 without using
* javascript or having to move the subnav out of .nav?
*/
* { margin: 0; padding: 0; }
li { list-style: none; }
.nav > li { width: 20%; float: left; color: white; min-height: 6ex; }
.nav > li > ul { /* this is supposed to be 100% wide */position: absolute; left: 0; right: 0; top: 6ex }
@oksushi
oksushi / dabblet.css
Created December 17, 2012 05:12 — forked from martisj/dabblet.css
Icons getting cut off
/* Icons getting cut off*/
span.event-type
{
color: #6c6c6c;
}
.event_heading{
color: #ffffff;
background-color: #464646;
margin: 15px -26px 0 -24px;
@oksushi
oksushi / dabblet.css
Created December 13, 2012 04:08 — forked from anonymous/dabblet.css
Untitled
* {
margin: 0px;
padding: 0px;
}
body {
background-color:#888;
vertical-align:top;
}
div#header,
div#content,
@oksushi
oksushi / dabblet.css
Created December 13, 2012 03:45 — forked from anonymous/dabblet.css
Untitled
* {
margin: 0;
padding: 0;
}
body: {
margin: 0;
padding: 0;
}
div {
border: 2px solid;
@oksushi
oksushi / css-stats-ack.sh
Created October 1, 2012 23:03 — forked from pjkix/css-stats-ack.sh
shell script to generate some css file statistics
#!/bin/bash
## v1.0.6
## this script will gernerate css stats
### example output
# CSS STATS
# ----------
# Floats: 132