Skip to content

Instantly share code, notes, and snippets.

View furdarius's full-sized avatar

Artemiy Ryabinkov furdarius

View GitHub Profile
class ParsingError extends SyntaxError {
constructor(message, line, column) {
super(`line ${line + 1}, column ${column + 1}: ${message}`);
this.name = "ParsingError";
this.line = line;
this.column = column;
}
}
We can't make this file beautiful and searchable because it's too large.
address,unrestricted_value,city_area,city_district,geo_lat,geo_lon
"город москва, варшавское шоссе, дом 2","117105, г Москва, Донской р-н, Варшавское шоссе, д 2",Южный,Донской,55.699943,37.619683
"город москва, варшавское шоссе, дом 7, корпус 1","117105, г Москва, Донской р-н, Варшавское шоссе, д 7 к 1",Южный,Донской,55.700877,37.622405
"город москва, варшавское шоссе, дом 29","117105, г Москва, Донской р-н, Варшавское шоссе, д 29",Южный,Донской,55.693226,37.622432
"город москва, варшавское шоссе, дом 72, корпус 2","117556, г Москва, Нагорный р-н, Варшавское шоссе, д 72 к 2",Южный,Нагорный,55.656869,37.618758
"город москва, варшавское шоссе, дом 100","117556, г Москва, Нагорный р-н, Варшавское шоссе, д 100",Южный,Нагорный,55.646061,37.618902
"город москва, варшавское шоссе, дом 143а","117405, г Москва, Чертаново Южное р-н, Варшавское шоссе, д 143А",Южный,Чертаново Южное,55.583953,37.599148
"город москва, проспект вернадского, дом 9/10","119311, г Москва, Гагаринский р-н, пр-кт Вернадского, д 9/10",Юго-западны
@furdarius
furdarius / arch_installation.md
Last active November 9, 2024 18:57 — forked from eltonvs/arch_installation.md
Arch Linux step to step installation guide

Arch Linux Installation Guide

This guide will show step-by-step how to Install Arch Linux on UEFI mode.

Table of Contents

  • Bootable Flash Drive
  • BIOS
  • Pre installation
    • Set Keyboard Layout
    • Check boot mode
  • Update System Clock
@furdarius
furdarius / rkn_unblock.md
Last active November 14, 2024 12:52
Настройка обхода РКН на роутере
@furdarius
furdarius / pool.go
Created December 19, 2018 11:51
Redis Pool
package redis
import (
"net"
"strconv"
"time"
"github.com/garyburd/redigo/redis"
)
@furdarius
furdarius / manjaro_setup.md
Last active December 23, 2020 06:34
Arch Linux (Manjaro with xfce) bootstrap
@furdarius
furdarius / docker_tagging.sh
Created September 3, 2018 16:03
Docker semver tagging bash script
#!/bin/bash
TAG=$1
if [[ $TAG =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "$TAG tag received"
else
echo "Invalid tag format"
exit 1
fi
@furdarius
furdarius / gracefulshutdown.go
Last active January 2, 2020 18:12
Go Graceful Shutdown with errorgroup
sigTrap := shutdown.TermSignalTrap()
g, ctx := errgroup.WithContext(context.Background())
s := &http.Server{...}
go func() {
err := s.ListenAndServe()
if err != nil && err != http.ErrServerClosed {
log.Fatalf("httpServer error: %v.", err.Error())
@furdarius
furdarius / ubuntu_agnoster_install.md
Created December 2, 2017 20:21 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH