Skip to content

Instantly share code, notes, and snippets.

@adamseckel
adamseckel / cloudSettings
Created January 22, 2019 10:59
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-22T10:59:46.043Z","extensionVersion":"v3.2.4"}
{"lastUpload":"2020-09-18T17:55:27.882Z","extensionVersion":"v3.4.3"}
import styled from 'react-emotion';
import colors from './colors';
import {css} from 'emotion';
// project dependent
const sizes = {
4: '4rem',
3: '3rem',
2: '2rem',
1: '1rem'
@adamseckel
adamseckel / Box.jsx
Created October 1, 2017 14:30
Basic Flexbox Component with Emotion
import styled from 'emotion/react';
import {css} from 'emotion';
const justifyMap = {
start: 'flex-start',
end: 'flex-end',
'space-between': 'space-between',
'space-around': 'space-around'
};
@adamseckel
adamseckel / init.coffee
Last active December 25, 2016 05:11
Sync Atom Settings
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->