Skip to content

Instantly share code, notes, and snippets.

View jakeleboeuf's full-sized avatar
🥃

Jake LeBoeuf jakeleboeuf

🥃
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
fillGradient: null,
strokeGradient: null,
online: [
6,
6,
2,
6,
@jakeleboeuf
jakeleboeuf / settings.js
Last active April 28, 2017 15:00
VS Code User Settings (cmd + ,)
// Place your settings in this file to overwrite the default settings
{
"files.autoSave": "off",
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
@jakeleboeuf
jakeleboeuf / settings.json
Last active May 31, 2017 15:29
VS Code Atom One Dark settings
{
[...],
"workbench.colorTheme": "Atom One Dark",
"workbench.colorCustomizations": {
"activityBar.background": "#282C34",
"activityBar.foreground": "#eeeeee",
"activityBarBadge.background": "#2C313A",
"activityBarBadge.foreground": "#ABB2BF",
"sideBar.background": "#2C313A",
"sideBarSectionHeader.background": "#393f48",
@jakeleboeuf
jakeleboeuf / scones.md
Last active September 7, 2017 01:17
Scones Recipe

Scones

  • 1/4 cup Blueberries
  • 1/4 cup Blackberries
  • 1/4 cup Strawberries
  • 2 cups Flour
  • 1/2 tsp Salt
  • 3 tbsp Sugar
  • 1 tbsp Baking Powder
  • 5 tbsp Cold Unsalted Butter (cut into 1/4" cubes)
  • 1 cup Heavy Whipping Cream
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.tokyoDrift {
color: red;
@jakeleboeuf
jakeleboeuf / cloudSettings
Created February 15, 2018 16:17
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-02-15T16:17:32.085Z","extensionVersion":"v2.8.7"}
@jakeleboeuf
jakeleboeuf / options.md
Last active May 3, 2018 20:37
API Options

API Option 1

import { Scale, Ratio } from 'natural-scale';

let opts = { interval: Ratio.AUGMENTED_FIFTH };

const step1 = MyScale(1, opts);
opts.unit = 'rem';
const step1InRem = MyScale(1, opts);
@jakeleboeuf
jakeleboeuf / config.json
Last active May 21, 2018 14:59
CircleCI deploy to now.sh
# ================================================================
# REQUIRED: Set up the following environment variables in CircleCI
# NOW_TEAM // yourteamname
# NOW_STAGE_URL // https://staging.yourdomain.com
# NOW_PRODUCTION_URL // https://yourdomain.com
# NOW_TOKEN // Create one at https://zeit.co/account/tokens
# GITHUB_ACCESS_TOKEN // Create one at https://github.com/settings/tokens (Needs Repo privileges)
# ================================================================
version: 2
jobs:
@jakeleboeuf
jakeleboeuf / cloudSettings
Created August 7, 2018 00:06
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-08-07T00:06:10.359Z","extensionVersion":"v3.0.0"}
@jakeleboeuf
jakeleboeuf / getTokens.js
Created August 12, 2018 20:12
Token resolvers
import { GET_TOKENS } from "../queries";
export default async (_, __, { cache }) => {
const { getTokens: { tokens } = {} } = cache.readQuery({
query: GET_TOKENS,
});
const defaultTokens = {
authToken: null,
refreshToken: null,