Skip to content

Instantly share code, notes, and snippets.

View MaxymVlasov's full-sized avatar
🚴‍♂️
🇺🇦

Maksym Vlasov MaxymVlasov

🚴‍♂️
🇺🇦
View GitHub Profile
#Dependencies: tweepy, pyshp
import json, shapefile, time, math
from tweepy import Stream, OAuthHandler
from tweepy.streaming import StreamListener
from keys import keys
# Need to fixing encoding where convert shapefile
import sys
reload(sys)

Завдання (Копія) | Репа

##Пункт 1

Якщо ви вдруг новенький в гіті, то задаєте

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

Перевірити налаштування можна за допомогою git config --list

Install PostGIS and GeoServer on Ubuntu 13.04

PostGIS installation

Postgresql

Install the server:

sudo apt-get install postgresql-9.1 postgresql-contrib-9.1 pgadmin3

Execute the psql command under user postgres (sudo -u postgres)
and connect to database postgres (psql postgres):

@MaxymVlasov
MaxymVlasov / for.php
Created September 2, 2017 20:48
PHP native with algoritms vs C++ on PHP
<?php declare(strict_types=1);
var_dump('for, 1000000 iteration');
$start=microtime(true);
for ($j = 0; $j < 1000000; $j++) {
$str8Byte = 'Str8byte';
Feature AWS API Gateway Kong
gzip - (AWS cloudfront supports gzip compression , what you can do is just create new cloudfront distribution a

If you need to get all the keys from the branch of Consul and put in .ini file:

[service]
{{range tree "path/to/service"}}{{.Key | replaceAll "/" "." }}={{.Value}} 
  1. tree get all keys by path.
  2. range get access to {{.Key}} and {{.Value}} constructions.
  3. {{.Key | replaceAll "/" "." }} - replace all / in path to nested keys in dir (path/to/service) to ..

КПІ 5 курс, 2 семестр

Пари за 2 тижні Назва предмету Препод Тип
2 Лек, 1 Лаб Технології розподілених обчислень Гордієнко Ю. Г.
2 Лек, 1 Прак Патентознавство та інтелектуальна власність Лек - Ромашко А. С., прак - Гаврушкевич Н. В. Залік
1 Лек, 1 Прак Цивільний захист Пятова А. В.
2 Лек, 1 Прак Основи інженеріїї та технології ст
[user]
name = MaxymVlasov
email = m.vlasov@post.com
signingkey = D17008C3CDCF957F
[gpg]
program = /usr/bin/gpg
[core]
editor = "vim"
[commit]
gpgsign = true
@MaxymVlasov
MaxymVlasov / 1_tf12.tf
Last active July 9, 2019 15:01
make list of strings w/ computable elements in string. Terraform 0.12
variable "account_names" {
default = ["prod", "dev", "sb"]
}
variable "aws_accounts_ids" {
type = "map"
default = {
dev = "xxxxxxxxxxxx"
prod = "yyyyyyyyyyyy"