ćććæć¤ć«ć®åå«ć®äøč¦§ćåå¾ćć
chmod +x tile_children.py
./tile_children.py [parent tile] [maxzoom] [suffix]
// ęæä»¤ęå®é½åø (å ćć¼ćæć§ćÆč”ęæåŗć«ćŖć£ć¦ććććē§éćÆåŗåå Øä½ć§ć¾ćØćććļ¼ę±äŗ¬23ē¹å„åŗä»„å¤ļ¼) | |
// ćć®é åćÆćč”ä¾ęå®é½åøć®å ¬å ±å£ä½ć³ć¼ćć®é 3ć¾ććÆ4ę”ćå«ć | |
const DESIGNATED_CITIES = [ | |
/^011/, // åęµ·éęå¹åø | |
/^041/, // å®®åēä»å°åø | |
/^111/, // å¼ēēćććć¾åø | |
/^121/, // åčēåčåø | |
/^141(?!3|5)/, // ē„å„å·ē横ęµåø | |
/^1413/, // ē„å„å·ēå·å“åø | |
/^1415/, // ē„å„å·ēēøęØ”ååø |
#!/bin/bash -e | |
input=${1} | |
outdir=$(mktemp -d) | |
echo "Output: $outdir" | |
for shp in $(find "$input" -name '*.shp'); do | |
name=$(basename "$shp" .shp) | |
out_geojson="${outdir}/${name}.ndgeojson" |
cp -r moj_data/ ./
mkdir all_zips
find . -name '*.zip' -maxdepth 1 | xargs -P 16 -I '{}' unzip '{}' -d ./all_zips
ććć§ all_zips ć«å±éćććzipććć ꬔćÆä»»ęåŗ§ęØćØå ¬å ±åŗ§ęØē³»ćåćć
import React, { useCallback, useState } from 'react' | |
import { normalize, NormalizeResult } from '@geolonia/normalize-japanese-addresses' | |
interface Result { | |
input: string | |
normalized: NormalizeResult | |
} | |
const App: React.FC = () => { | |
const [ result, setResult ] = useState<Result | undefined>(undefined) |
import React, { useEffect, useMemo, useRef } from "react" | |
import { createPortal } from "react-dom" | |
const NewWindowPortal: React.FC = ({children}) => { | |
const containerEl = useMemo(() => document.createElement("div"), []) | |
useEffect(() => { | |
if (!containerEl) { | |
return | |
} |
function fish_greeting | |
echo "! COMPUTER_NAME" | |
end | |
set -x EDITOR vim | |
set -x LESS -asrRix8 | |
set -x LANG en_US.UTF-8 | |
set -x LC_ALL en_US.UTF-8 | |
set -x LANGUAGE en_US.UTF-8 |
{ | |
"scripts": { | |
"build": "node ./setup && react-scripts build" | |
} | |
} |
function blurb --description Post\ to\ 10C.\\nblurb\ post\ MESSAGE\\nblurb\ POST_ID\ REPLY --argument reply_id message | |
set -l token $TEN_CENTURIES_API_TOKEN | |
set -l endpoint https://api.10centuries.org/content/write | |
set -l usage 'blurb: post or reply to a message on 10C | |
Usage: | |
blurb post MESSAGE | |
Post a new blurb |
I hereby claim:
To claim this, I am signing this object: