Skip to content

Instantly share code, notes, and snippets.

View cbleslie's full-sized avatar
😴

Cameron Leslie cbleslie

😴
  • Los Angeles, CA
View GitHub Profile
@Jakobud
Jakobud / _poly-fluid-sizing.scss
Last active September 18, 2022 14:24
Poly Fluid Sizing using linear equations, viewport units and calc()
/// poly-fluid-sizing
/// Generate linear interpolated size values through multiple break points
/// @param $property - A string CSS property name
/// @param $map - A SASS map of viewport unit and size value pairs
/// @requires function linear-interpolation
/// @requires function map-sort
/// @example
/// @include poly-fluid-sizing('font-size', (576px: 22px, 768px: 24px, 992px: 34px));
/// @author Jake Wilson <jake.e.wilson@gmail.com>
@mixin poly-fluid-sizing($property, $map) {
@elektrowolle
elektrowolle / Braile.js
Last active March 29, 2016 15:53
braile converter
var endOfLine = '\r\n';
Braile = {};
Braile.en = {};
Braile.en.alphabet = {
"a" : "o- -- --",
"b" : "o- o- --",
"c" : "oo -- --",
"d" : "oo -o --",
"e" : "o- -o --",
"f" : "oo o- --",
@mikaa123
mikaa123 / gist:a9380af5cd1d56a387ce
Created June 1, 2014 18:32
Simple Api implementation
var express = require('express'),
app = express();
var bodyParser = require('body-parser');
app.use(bodyParser());
var makeResource = require('catnap').makeResource;
// This simulates our datastore.
var users = [{
@malarkey
malarkey / Contract Killer 3.md
Last active April 16, 2024 21:44
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………