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
{ | |
"version": 8, | |
"name": "Raster Tiles", | |
"glyphs": "https://smellman.github.io/creating_tiles_with_global_map_support_files/2015/mapbox_vector_tile_demo/demosites/fonts/{fontstack}/{range}.pbf", | |
"sprite": "https://smellman.github.io/creating_tiles_with_global_map_support_files/2015/mapbox_vector_tile_demo/demosites/maki-sprites/sprite", | |
"sources": { | |
"osm": { | |
"type": "raster", | |
"tiles": [ | |
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png", |
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
/** | |
* EXPORT LABELS | |
* 1. Copy and paste the following code into the repository browser console that you want to get the labels | |
* 2. Copy the result | |
*/ | |
const labels = []; | |
[].slice.call(document.querySelectorAll('.js-label-link')) | |
.forEach(function (element) { | |
labels.push({ |
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
{ | |
"extends": [ | |
"config:base" | |
], | |
"packageRules": [ | |
{ | |
"updateTypes": [ | |
"minor", | |
"patch" | |
], |
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
name: Build and Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build_and_test: |
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 hangmanStages = [ | |
` | |
`, | |
` | |
| | |
| | |
| | |
| | |
| | |
| |
Task Lists
- text
- text
- text
- text
- text
- text
- text
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
/*** | |
* Excerpted from "The Pragmatic Programmer, 20th Anniversary Edition", | |
* published by The Pragmatic Bookshelf. | |
* Copyrights apply to this code. It may not be used to create training material, | |
* courses, books, articles, and the like. Contact us if you are in doubt. | |
* We make no guarantees that this code is fit for any purpose. | |
* Visit http://www.pragmaticprogrammer.com/titles/tpp20 for more book information. | |
***/ | |
const { start, dispatch, stop, spawn, spawnStateless } = require('nact'); |
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
Table of percentages to hex values. | |
E.g. for 50% white you'd use #80FFFFFF. | |
to use in JavaScript CSS in JS `color: ${ white + '80' };` | |
100% — FF | |
95% — F2 | |
90% — E6 | |
85% — D9 | |
80% — CC |
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
{ | |
"quotes":[ | |
{ | |
"quote":"Life isn’t about getting and having, it’s about giving and being.", | |
"author":"Kevin Kruse" | |
}, | |
{ | |
"quote":"Whatever the mind of man can conceive and believe, it can achieve.", | |
"author":"Napoleon Hill" | |
}, |
NewerOlder