Skip to content

Instantly share code, notes, and snippets.

View PulsarBlow's full-sized avatar
💭
👨‍💻⚙️🛠

Alain Mereaux PulsarBlow

💭
👨‍💻⚙️🛠
View GitHub Profile
@PulsarBlow
PulsarBlow / keymirror.js
Created April 3, 2019 21:14
Transforms a list of value into a mirrored key:value object
// Transforms a list a value into a mirrored key:value object
// A one-liner functional rewrote of keyMirror NPM package
// https://github.com/STRML/keyMirror/blob/master/index.js
// example :
//
// import keyMirror from './keyMirror.js'
// console.log(keyMirror(['apple', 'orange', 'banana']));
// output: { apple:'apple', orange:'orange', banana:'banana' }
@PulsarBlow
PulsarBlow / designer.html
Created February 8, 2015 01:25
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../paper-item/paper-item.html">
<link rel="import" href="../core-icon/core-icon.html">
@PulsarBlow
PulsarBlow / designer.html
Last active August 29, 2015 14:06
designer
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;