Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈
Just gayin' up the place the best I can

Michelle Tilley BinaryMuse

🏳️‍🌈
Just gayin' up the place the best I can
Block or report user

Report or block BinaryMuse

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@BinaryMuse
BinaryMuse / README.md
Last active Oct 14, 2019
Elixir Map/HashDict Performance on Erlang OTP R17 vs R18
View README.md
@BinaryMuse
BinaryMuse / webpack.config.js
Last active Aug 29, 2019
webpack less -> css with source maps via extracttextplugin
View webpack.config.js
var webpack = require("webpack");
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var lessLoader = ExtractTextPlugin.extract(
"css?sourceMap!less?sourceMap"
);
module.exports = {
cache: true,
entry: { bundle: "./master/client/index.jsx" },
@BinaryMuse
BinaryMuse / complete.js
Last active Jun 13, 2019
DND: Blog Post - Staggered Animation with React Motion
View complete.js
import React from "react";
import { Motion, StaggeredMotion, spring } from "react-motion";
import { constant, range } from "lodash";
const DEG_TO_RAD = Math.PI / 180;
const MAIN_BUTTON_DIAM = 100;
const CHILD_BUTTON_DIAM = 50;
const CHILDREN_ICONS = [
"at", "linkedin", "facebook", "github", "twitter"
@BinaryMuse
BinaryMuse / restful.js
Last active Mar 17, 2019
Express API with Async/Await
View restful.js
import express from "express";
/**
* Takes a route handling function and returns a function
* that wraps it after first checking that the strings in
* `reserved` are not part of `req.body`. Used for ensuring
* create and update requests do not overwrite server-generated
* values.
*/
function checkReservedParams(routeHandler, ...reserved) {
@BinaryMuse
BinaryMuse / index.html
Created Dec 13, 2018
Electron Fiddle Gist
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
<webview src="https://electronjs.org/" style="width: 100%; height: 100vh">
</body>
</html>
View accessibility-tools.diff
278c279,280
< })</code></pre>
---
> })
> </code></pre>
View new-pane-commands.js
// Existing commands that used to be 'pane:split-*'
'pane:split-left-and-copy-active-item'
'pane:split-right-and-copy-active-item'
'pane:split-up-and-copy-active-item'
'pane:split-down-and-copy-active-item'
// New commands to create splits
'pane:split-left'
'pane:split-right'
'pane:split-up'
You can’t perform that action at this time.