Skip to content

Instantly share code, notes, and snippets.

View 1ec5's full-sized avatar
🙈
Not actively reading bugmail

Minh Nguyễn 1ec5

🙈
Not actively reading bugmail
View GitHub Profile
@1ec5
1ec5 / index.html
Last active August 26, 2024 14:58
MapLibre GL JS complex text rendering demo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
<title></title>
<script type="text/javascript" src="./maplibre-gl-dev.js"></script>
<link rel="stylesheet" href="./maplibre-gl.css"/>
<style type="text/css">
body {
@1ec5
1ec5 / Construction Timeline.svg
Created January 26, 2024 02:03
OpenHistoricalMap logo explorations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1ec5
1ec5 / allpages.csv
Last active October 9, 2023 07:18
All pages on the AARoads Wiki
We can't make this file beautiful and searchable because it's too large.
id,name,P12052
52678,"100-series highways (Nova Scotia)",52678
49769,"101 Avenue, Edmonton",49769
49466,"16 Avenue N",49466
41491,"183A Toll Road",41491
35153,"1923 Ohio state highway renumbering",35153
19590,"1923 Virginia state highway renumbering",19590
28417,"1926 Arkansas state highway numbering",28417
39736,"1926 Iowa highway renumbering",39736
39175,"1926 Missouri highway renumbering",39175
@1ec5
1ec5 / total.csv
Last active August 16, 2023 06:03
Valid image domains in OpenHistoricalMap
domain count share
upload.wikimedia.org 368 61%
multimedia.inrap.fr 46 7%
s3.eu-west-3.amazonaws.com 37 6%
www.inrap.fr 17 2%
static.wixstatic.com 11 1%
archive.org 11 1%
stacks.stanford.edu 8 1%
web.archive.org 7 1%
commons.wikimedia.org 5 0%
@1ec5
1ec5 / stanford.geojson
Created July 20, 2023 16:39
Stanford campus
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1ec5
1ec5 / mutcd_colors.md
Created July 11, 2023 08:43
MUTCD colors
Color Pantone RGB Hex triplet
${\color{#003f87}{\rule[-4px]{50px}{18px}}}$ Blue 294 0 63 135 #003f87
${\color{#693f23}{\rule[-4px]{50px}{18px}}}$ Brown 469 105 63 35 #693f23
${\color{#006747}{\rule[-4px]{50px}{18px}}}$ Green 342 0 103 71 #006747
${\color{#f38f00}{\rule[-4px]{50px}{18px}}}$ Orange 152 243 143 0 #f38f00
${\color{#df4661}{\rule[-4px]{50px}{18px}}}$ Pink 198 223 70 97 #df4661
${\color{#6d2077}{\rule[-4px]{50px}{18px}}}$ Purple 259 109 32 119 #6d2077
${\color{#bf2033}{\rule[-4px]{50px}{18px}}}$ Red 187 191 32 51 #bf2033
${\color{#ffcd00}{\rule[-4px]{50px}{18px}}}$ Yellow 116 255 205 0 #ffcd00
@1ec5
1ec5 / opening_hours.pegjs
Last active June 1, 2023 06:22
Peggy grammar for opening_hours syntax
// Time domain
time_domain
= rule_sequence|1.., any_rule_separator|
rule_sequence
= selector_sequence space rule_modifier
// Rule separators
@1ec5
1ec5 / break-all.html
Created May 7, 2023 22:52
Break all by grapheme cluster test
<!DOCTYPE html>
<html>
<head>
<style>
p {
width: 0;
border: 1px solid #000000;
word-break: break-all;
}
@1ec5
1ec5 / oh2017.mermaid
Last active July 20, 2022 09:05
Speed limits in Ohio
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@1ec5
1ec5 / college_corner.svg
Last active March 28, 2022 09:25
Ohio boundary edge cases
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.