This file contains hidden or 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 cyrilicWordsHash = phrase => phrase | |
.replace(/[^А-Яа-я0-9 ]/g,'') | |
.toUpperCase() | |
.split(" ") | |
.map(word => word.slice(0,1) + word.slice(1) | |
.replace(/А|Я|О|Ё|У|Ю|Ы|И|Э|Е/g, '') | |
).filter(word => word.length > 1); | |
export default cyrilicWordsHash; |
This file contains hidden or 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
echo "" > files.txt | |
for i in {0..12} | |
do | |
for j in {0..5} | |
do | |
printf "https://geo3.ggpht.com/cbk?cb_client=maps_sv.tactile&authuser=0&hl=de&gl=de&panoid=%s&output=tile&x=%d&y=%d&zoom=4&nbt&fover=2\n\tout=images/%d_%d.png\n" $1 $i $j $i $j >> files.txt | |
done | |
done | |
mkdir images | |
aria2c -q -i files.txt -j 3 |
This file contains hidden or 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 jsonpack = require("jsonpack"); | |
const lzwcompress = require("lzwcompress"); | |
const cjson = require('compressed-json'); | |
const base2048 = require("base2048"); | |
const Table = require('cli-table'); | |
const data = require("./data.json"); | |
const base64string = data => Buffer.from(data).toString("base64"); | |
const getSize = data => Buffer.byteLength(JSON.stringify(data), 'utf8'); |
OlderNewer