Skip to content

Instantly share code, notes, and snippets.

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

Maksym Vlasov MaxymVlasov

🚴‍♂️
🇺🇦
View GitHub Profile
@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';

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):

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

##Пункт 1

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

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

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

#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)