Skip to content

Instantly share code, notes, and snippets.

ImreSamu ImreSamu

Block or report user

Report or block ImreSamu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ImreSamu
ImreSamu / id_langDups_all.md
Created Oct 5, 2018
2018-October-05 - 21:50CET - iD Editor unclear translations - Testing
View id_langDups_all.md
language nameTransl nameEn presetKey searchable icon tags0 tags1 tags2 tags3 tags4 geometryArea geometryLine geometryPoint geometryVertex geometryRelation
af Begrafplaas Graveyard amenity/grave_yard maki-cemetery amenity=grave_yard area point
af Begrafplaas Cemetery landuse/cemetery maki-cemetery landuse=cemetery area
af Dorpie Hamlet place/hamlet maki-triangle-stroked place=hamlet area point
af Dorpie Village place/village maki-village place=village area point
af Fontein Fountain amenity/fountain temaki-fountain amenity=fountain area point
af Fontein Spring natural/spring maki-water natural=spring point vertex
af Kroeg Bar amenity/bar maki-bar amenity=bar area point
af Kroeg Pub amenity/pub maki-beer amenity=pub area point
@ImreSamu
ImreSamu / check_idpresets.sh
Created Sep 21, 2018
check_idpresets.sh [ 2018.Sep.21]
View check_idpresets.sh
#!/bin/bash
# name: check_idpresets.sh [ 2018.Sep.21]
# check iD Editor Translations
# --- Determine Duplicate Elements,
# --- Export presets to CSV
#
# License: same as iD Editor / available under the WTFPL : http://sam.zoy.org/wtfpl/
# Created by ImreSamu for helping hungarian translations
#
# requirements :
@ImreSamu
ImreSamu / wof-lau-compare2018.md
Last active Sep 19, 2018
Compare whosonfirst-data and EU LAU data ( "eu_lau_n" last column )
View wof-lau-compare2018.md
wof country country macroregion region macrocounty county localadmin locality eu_lau_n
"AL" 1 0 12 0 61 4 150 57
"AT" 1 0 9 0 98 2103 2427 2098
"BA" 1 0 12 0 142 0 300 143
"BE" 1 2 11 0 42 1306 2866 589
"BG" 1 0 29 0 0 0 1055 265
"CH" 1 0 26 0 141 2804 7110 2240
"CY" 1 0 6 0 0 0 661 615
"CZ" 1 0 14 0 0 811 6326 6258
@ImreSamu
ImreSamu / test.c
Created Sep 8, 2018
julia - test.c
View test.c
#include <julia.h>
JULIA_DEFINE_FAST_TLS() // only define this once, in an executable (not in a shared library) if you want fast code.
int main(int argc, char *argv[])
{
/* required: setup the Julia context */
jl_init();
/* run Julia commands */
jl_eval_string("print(sqrt(2.0))");
@ImreSamu
ImreSamu / Dockerfile
Created Sep 2, 2018
fresh libosmium_log.txt ( ubuntu 18.04 )
View Dockerfile
FROM ubuntu:18.04
RUN date
RUN apt-get update \
&& apt-get install -q -y \
cmake \
doxygen \
g++ \
git \
graphviz \
libboost-dev \
@ImreSamu
ImreSamu / budapest_poly.osc
Created Jul 22, 2018
osmium extract - example for debugging.
View budapest_poly.osc
<?xml version='1.0' encoding='UTF-8'?>
<osmChange version="0.6" generator="osmium/1.8.0">
<delete>
<node id="277285" version="9" timestamp="2011-09-11T22:56:15Z"/>
<node id="277286" version="7" timestamp="2011-09-11T22:56:15Z"/>
<node id="277290" version="3" timestamp="2011-01-16T21:20:27Z"/>
<node id="26733986" version="11" timestamp="2014-12-12T16:15:25Z"/>
<node id="26733991" version="10" timestamp="2014-12-12T16:15:25Z"/>
<node id="26883617" version="8" timestamp="2016-08-17T09:28:03Z"/>
<node id="26884330" version="4" timestamp="2015-02-22T15:04:42Z"/>
@ImreSamu
ImreSamu / poi_address.geojson
Last active Apr 23, 2018
2018-04-21 poi_address.geojson from KAMI ( Hungarian POI -s for importing to OSM )
View poi_address.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View ne_10m_rivers_europe.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ImreSamu
ImreSamu / main.go
Created Jan 7, 2018 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
View Effective_Engineer.md

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

You can’t perform that action at this time.