This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const convertValueToSymbol = (() => { | |
const SYMBOLS = { | |
1000: 'M', | |
500: 'D', | |
100: 'C', | |
50: 'L', | |
10: 'X', | |
5: 'V', | |
1: 'I' | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Profiles": [ | |
{ | |
"Working Directory": "/Users/zachary", | |
"Prompt Before Closing 2": false, | |
"Selected Text Color": { | |
"Red Component": 0, | |
"Color Space": "Calibrated", | |
"Blue Component": 0, | |
"Alpha Component": 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-04-30T19:52:03.883Z","extensionVersion":"v2.9.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module id="my-app"> | |
<template> | |
<page-title base-title="My App" page-title="[[pageTitle]]"></page-title> | |
<iron-pages id="pages" attr-for-selected="name" | |
selected="{{selectedPage}}" | |
on-selected-item-changed="_selectedPageElementChanged" | |
on-update-page-title="_updatePageTitle"> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am zacharytamas on github. | |
* I am zacharytamas (https://keybase.io/zacharytamas) on keybase. | |
* I have a public key ASAMaqyzP8ZxCgFIIA3lqxgDZGltHe6mHJQi6mnoUNQ4NQo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RedditFeedRowTemplate = ` | |
<style> | |
:host { | |
display: block; | |
} | |
div { | |
display: flex; | |
} | |
div > * { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = { | |
// This should be myFunc: function(a, b) | |
myFunc(a, b) { | |
console.log(a, b); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../bower_components/polymer/polymer.html"> | |
<polymer-element name="img-placeholder" | |
attributes="width height src alt"> | |
<template> | |
<img src="http://placehold.it/{{ generatedSrc }}" | |
width="{{ width }}" | |
height="{{ height }}" | |
alt="{{ alt }}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var _window = window; | |
(function () { | |
var window = {}; | |
Object.defineProperty(window, 'location', { | |
get: function () { return _window.location; }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = new String('aaa'); | |
var b = new String('aaa'); | |
console.log(a == b); // false | |
var a = 'aaa'; | |
var b = 'aaa'; | |
console.log(a == b); // true |
NewerOlder