Skip to content

Instantly share code, notes, and snippets.

View jssee's full-sized avatar
🤝
Building, destroying

Jesse Hoyos jssee

🤝
Building, destroying
View GitHub Profile
@jssee
jssee / easing.css
Created April 2, 2017 06:29 — forked from bendc/easing.css
Easing CSS variables
:root {
--ease-in-quad: cubic-bezier(.55, .085, .68, .53);
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19);
--ease-in-quart: cubic-bezier(.895, .03, .685, .22);
--ease-in-quint: cubic-bezier(.755, .05, .855, .06);
--ease-in-expo: cubic-bezier(.95, .05, .795, .035);
--ease-in-circ: cubic-bezier(.6, .04, .98, .335);
--ease-out-quad: cubic-bezier(.25, .46, .45, .94);
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
@jssee
jssee / .hyper.js
Last active February 8, 2018 05:55
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: "stable",
/*!
// ███ █ ████▄ ▄▄▄▄▀ ▄▄▄▄▀ ▄███▄ █▄▄▄▄
// █ █ █ █ █ ▀▀▀ █ ▀▀▀ █ █▀ ▀ █ ▄▀
// █ ▀ ▄ █ █ █ █ █ ██▄▄ █▀▀▌
// █ ▄▀ ███▄ ▀████ █ █ █▄ ▄▀ █ █
// ███ ▀ ▀ ▀ ▀███▀ █
// ▀
// The MIT License
//
// Copyright © 1986 - ∞, Blotter / Bradley Griffith / http://bradley.computer
{
"name": "www",
"version": "1.0.0",
"description": "www",
"main": "index.html",
"author": "_",
"license": "MIT",
"repository": "_",
"browserslist": ["last 2 versions"],
"scripts": {
@jssee
jssee / async-css.html
Created August 7, 2018 15:24 — forked from bendc/async-css.html
CSS delivery optimization
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, width=device-width">
<title>Defer non-essential stylesheets</title>
<style>
/* Critical above-the-fold styles */
* { margin: 0; padding: 0 }
:root { background: red }
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@jssee
jssee / functional-utils.js
Created August 23, 2018 15:20 — forked from bendc/functional-utils.js
A set of pure ES2015 functions aimed to make functional JavaScript more idiomatic.
// array utils
// =================================================================================================
const combine = (...arrays) => [].concat(...arrays);
const compact = arr => arr.filter(Boolean);
const contains = (() => Array.prototype.includes
? (arr, value) => arr.includes(value)
: (arr, value) => arr.some(el => el === value)
@jssee
jssee / table.mkdn
Created December 14, 2018 21:31 — forked from ngs/table.mkdn
Unicode character table

A

Description Entity Preview
A With Acute, Latin Capital Letter &#x00C1; Á
A With Acute, Latin Small Letter &#x00E1; á
A With Breve, Latin Small Letter &#x0103; ă
A With Caron, Latin Small Letter &#x01CE; ǎ
A With Circumflex, Latin Capital Letter &#x00C2; Â
A With Circumflex, Latin Small Letter &#x00E2; â
# OPTIONS
# =======
set-option global ui_options ncurses_assistant=cat ncurses_enable_mouse=no
set-option global autoreload yes
set-option global scrolloff 5,10
set-option global tabstop 2
set-option global indentwidth 2
set-option global grepcmd 'rg --column --with-filename'
# HIHGHLIGHTERS
@jssee
jssee / SchemeProvider.tsx
Last active April 19, 2019 15:22
ColorProvider
/** @jsx jsx */
import * as React from "react";
import { jsx } from "@emotion/core";
import theme from "../../../lib/theme";
type ColorScheme = "dark" | "light";
interface Props {
scheme: ColorScheme;