Skip to content

Instantly share code, notes, and snippets.

@ehellman
ehellman / cloudSettings
Created August 27, 2022 16:13
Visual Studio Code Settings Sync Gist
// Empty
@ehellman
ehellman / README.md
Last active March 23, 2022 17:53
cyber60 docs

Cyber60 Guide

This board uses ZMK firmware, it can be a great idea to look through the ZMK firmware documentation if you are having problems or if you are just curious how things work.

Prerequisites

It is recommended to have at least basic knowledge of how git and/or GitHub works. You also need to have a GitHub account.

Getting started

@ehellman
ehellman / input.scss
Created December 10, 2020 08:48
Generated by SassMeister.com.
$spacing-mobile-tiny: 0.8rem;
$spacing-mobile-xsmall: 1.6rem;
$spacing-mobile-small: 2rem;
$spacing-mobile-medium: 2.4rem;
$spacing-mobile-large: 3.2rem;
$spacing-mobile-xlarge: 4rem;
$spacing-desktop-tiny: 1.6rem;
$spacing-mobile-xsmall: 2rem;
@ehellman
ehellman / input.scss
Created December 10, 2020 08:48
Generated by SassMeister.com.
$spacing-mobile-tiny: 0.8rem;
$spacing-mobile-xsmall: 1.6rem;
$spacing-mobile-small: 2rem;
$spacing-mobile-medium: 2.4rem;
$spacing-mobile-large: 3.2rem;
$spacing-mobile-xlarge: 4rem;
$spacing-desktop-tiny: 1.6rem;
$spacing-mobile-xsmall: 2rem;
@ehellman
ehellman / input.scss
Created December 10, 2020 08:48
Generated by SassMeister.com.
$spacing-mobile-tiny: 0.8rem;
$spacing-mobile-xsmall: 1.6rem;
$spacing-mobile-small: 2rem;
$spacing-mobile-medium: 2.4rem;
$spacing-mobile-large: 3.2rem;
$spacing-mobile-xlarge: 4rem;
$spacing-desktop-tiny: 1.6rem;
$spacing-mobile-xsmall: 2rem;
@ehellman
ehellman / Configuration.h
Created August 22, 2020 19:59
Marlin 2.0.x with SKR Mini v2.0
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@ehellman
ehellman / es6-and-legacy-bundle-loading-minified.html
Last active March 8, 2018 11:04
A way to serve ES6 bundles to ES6 browsers and serve ES5 to the rest.
<!DOCTYPE html>
<html>
<head>
<title>ES6 and Legacy bundle loading</title>
</head>
<body>
Hi
<script>
// populate this on the server or via webpack
window.__APP_CHUNKS__ = {
@ehellman
ehellman / Layout.js
Created June 21, 2017 15:02
HOC Issue
const Layout = ({ location, initialData, routeData, authenticateUser }) => (
<Wrapper>
<Container>
<Header>
<Navigation />
</Header>
<Switch>
// how do I get these props passed through the HOC? render instead of component made no difference.
<Route exact path="/pages/page-one" component={() => <PageOne routeData={routeData} title="PageOne" />} />
<Route exact path="/pages/page-two" component={() => <PageTwo routeData={routeData} title="PageTwo" />} />
@ehellman
ehellman / empty_bem-blueprint.scss
Created February 7, 2017 11:32
Empty BEM Blueprint
///
/// THE <blueprint> BLOCK
///
///============================================================================
///
/// @description
/// desc
///
///============================================================================
///
@ehellman
ehellman / bem-component-blueprint.scss
Last active February 7, 2017 11:25
BEM Blueprint
///
/// THE <BLUEPRINT> BLOCK
///
///============================================================================
///
/// @description
/// desc
///
/// @usage
/// <div class="blueprint">