Step 1. Setup up a raiblock node using these instructions https://github.com/clemahieu/raiblocks/wiki/Docker-node
Step 2.
yarn
yarn build:client # then open up index.html and check logs
node . # to run in node
const Navigation = styled.div`/* styles */`; | |
const Navigation = () => ( | |
<Navigation /> | |
); | |
// => JS interpreter: "I can't believe you've done this x_x" |
Step 1. Setup up a raiblock node using these instructions https://github.com/clemahieu/raiblocks/wiki/Docker-node
Step 2.
yarn
yarn build:client # then open up index.html and check logs
node . # to run in node
const numberToPixel = prop => { | |
if (!Number.isInteger(prop) || prop === 0) return prop; | |
return `${prop}px`; | |
} | |
const camelToDash = str => str | |
.replace(/(^[A-Z])/, ([first]) => first.toLowerCase()) | |
.replace(/([A-Z])/g, ([letter]) => `-${letter.toLowerCase()}`) | |
<!doctype html> | |
<html ⚡ lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<script async src="https://cdn.ampproject.org/v0.js"></script> | |
<title>Amp Ads | Mic</title> | |
<link rel="canonical" href="http://example.ampproject.org/article-metadata.html" /> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
<meta name="amp-3p-iframe-src" content="https://localhost:9666/amp-remote"> | |
<script type="application/ld+json"> |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# DirtyDaub's Theme - https://gist.github.com/orrybaram/8ce1eeefda56d72437153d98295f88a2 | |
# An Agnoster / Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
/** | |
* Adds a delay to a hovered element | |
* @param {DOMElement} el | |
* @param {Object} opts | |
* opts = { | |
onHover: {Function}, | |
offHover: {Function}, | |
onDelay: {Integer}, | |
offDelay: {Integer}, | |
hoverTarget: {DOMElement} |
var ListenWithMe = (function() { | |
// Add your own config here | |
var LASTFM_API_KEY = ""; | |
var LASTFM_USERNAME = ""; | |
// Element to inject the widget into | |
var $playerWrapper = document.getElementById('spotify-player-wrapper'); | |
return { | |
init: init | |
} |
A Pen by Orry Baram on CodePen.