Skip to content

Instantly share code, notes, and snippets.

View 127's full-sized avatar
😀
happy

Marat Mamyashev 127

😀
happy
View GitHub Profile
@127
127 / course
Last active October 15, 2021 10:37
{"USD": "1230", "EUR": "365", "RUB": "5877"}
@127
127 / symbols
Last active October 15, 2021 12:21
[{"name": "United States Dollar", "symbol": "USD", "sign": "$", "country": "us"},
{"name": "Russian Federation Rouble", "symbol": "RUB", "sign": "₽", "country": "ru"},
{"name": "European Union", "symbol": "EUR", "sign": "€", "country": "eu"} ]

Keybase proof

I hereby claim:

  • I am 127 on github.
  • I am 127 (https://keybase.io/127) on keybase.
  • I have a public key whose fingerprint is 3A11 5EFF DC93 0286 511B DCAF 3C06 2FBE 6E00 6FEE

To claim this, I am signing this object:

du -h /Volumes/Seagate500GB/_cache_
22G /Volumes/Seagate500GB/_cache_/coords
1,7M /Volumes/Seagate500GB/_cache_/inserted_ways
16K /Volumes/Seagate500GB/_cache_/nodes
39M /Volumes/Seagate500GB/_cache_/relations
13G /Volumes/Seagate500GB/_cache_/ways
35G /Volumes/Seagate500GB/_cache_
[May 17 09:21:30] [INFO] Writing OSM data took: 21h50m21.881398133s
[May 17 09:21:30] [INFO] [21h50m21s] C: 0/s ( 0.0%) N: 0/s (0) W: 20800/s (100.0%) R: 10/s (100.0%)
[May 17 09:21:30] [INFO] [PostGIS] Creating generalized tables took: 52.948µs
[May 17 09:21:35] [INFO] [PostGIS] Creating OSM id index on osm_admin took: 4.630162562s
[May 17 09:21:52] [INFO] [PostGIS] Creating geometry index on osm_admin took: 17.955828394s
[May 17 09:21:52] [INFO] [PostGIS] Creating geometry indices took: 22.58762575s
[May 17 09:21:52] [INFO] Importing OSM data took: 21h50m44.469438554s
[May 17 09:22:02] [INFO] [PostGIS] Indexing osm_admin on geohash took: 9.715019468s
[May 17 09:26:59] [INFO] [PostGIS] Clustering osm_admin on geohash took: 4m56.904511421s
[May 17 09:27:01] [INFO] [PostGIS] Analysing osm_admin took: 1.408967406s
tables:
admin:
fields:
- name: osm_id
type: id
- name: geometry
type: geometry
- key: name
name: name
type: string
@127
127 / pdf2htmlEX
Last active August 29, 2015 13:55
wa$ brew install -v pdf2htmlex 2>&1
==> Downloading https://github.com/coolwanglu/pdf2htmlEX/archive/v0.10.tar.gz
Already downloaded: /Library/Caches/Homebrew/pdf2htmlex-0.10.tar.gz
==> Verifying pdf2htmlex-0.10.tar.gz checksum
tar xf /Library/Caches/Homebrew/pdf2htmlex-0.10.tar.gz
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/pdf2htmlex/0.10 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works
@127
127 / gist:3499188
Created August 28, 2012 15:36
osm2pgsql homebrew error
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by osm2pgsql configure 0.80.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
@127
127 / gist:3378336
Created August 17, 2012 12:04
Mountain Lion mapnik-v2.0.1 package fails with ltdl error
127:~ wa$ python
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> mapnik
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'mapnik' is not defined
>>> import mapnik
Traceback (most recent call last):
@127
127 / gist:3378048
Created August 17, 2012 11:14
ltdl fails in brew install --HEAD mapnik
file /private/tmp/homebrew-mapnik-HEAD-wXRb/SConstruct,line 939:
Configure(confdir = .sconf_temp)
scons: Configure: Checking for freetype-config...
freetype-config --libs --cflags
-I/opt/X11/include/freetype2 -I/opt/X11/include
-L/opt/X11/lib -lfreetype -lz -lbz2
scons: Configure: yes
scons: Configure: Checking for xml2-config...
xml2-config --cflags