Skip to content

Instantly share code, notes, and snippets.

View guillaumerose's full-sized avatar

Guillaume Rose guillaumerose

  • Apple
  • Paris
View GitHub Profile
@guillaumerose
guillaumerose / noeuds-avec-nom-non-latin.csv
Last active August 2, 2016 20:21
Noeuds avec nom non latin
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 1 column, instead of 3 in line 3.
ARABIC;1898915948;لابوست;Rem Ah;2016-05-14T04:22:26Z;bundle_id:com.mapswithme.maps.pro;comment:Updated a bank;created_by:MAPS.ME android 6.0.7-Google
ARABIC;2398646254;كَباب;jocelin Birnbaum;2013-07-27T19:03:04Z;build:2.3-584-g996bb4d;created_by:Potlatch 2;version:2.3
ARABIC;4140307289;الجوية الجزايرية;hocine30;2016-04-22T09:15:46Z;bundle_id:com.mapswithme.maps.pro;comment:Created a artwork;created_by:MAPS.ME android 6.0.7-Google
ARABIC;4326681396;باريس;Bam Berry;2016-07-29T11:28:07Z;bundle_id:com.mapswithme.full;comment:Created a bank, a bar, and a beauty shop;created_by:MAPS.ME ios 6.2.1
ARABIC;4326688291;هوتيل منصوه;Bam Berry;2016-07-29T11:28:09Z;bundle_id:com.mapswithme.full;comment:Created a bank, a bar, and a beauty shop;created_by:MAPS.ME ios 6.2.1
ARABIC;4326703591;نعمة;Bam Berry;2016-07-29T11:28:09Z;bundle_id:com.mapswithme.full;comment:Created a bank, a bar, and a beauty shop;created_by:MAPS.ME ios 6.2.1
ARABIC;4327547991;هوتيل ماجيستك;Bam Berry;2016-07-30T01:15:31Z;bundle_id:com.mapswithme.full;cre
Node 393451065 CYRILLIC кемпінг бурон Tulchinsco MAPS.ME ios 6.0.4 Updated a parking
Node 428141439 HAN L'Orient d'Or 福源丰 woshilapin iD 1.7.3
Node 428158966 HAN Miyako - 故宫 Emmanuel Dewaele JOSM/1.5 (9329 fr) France (et voisinage), reclassification de la clé "cuisine"
Node 454601618 CYRILLIC бытовая химия Оксана Аргериди MAPS.ME ios 6.2 Updated a chemist shop
Node 508588075 HAN Mei xi 美西 padapada iD 1.3.10 précisions
Node 533756354 HAN Youfeng (友风书店) Popolon Potlatch 2
Node 629651840 CYRILLIC Гастрономъ Pieren JOSM/1.5 (6227 SVN en) survey + cadastre
Node 629824653 CYRILLIC Гастрономъ cquest JOSM/1.5 (7000 fr) Paris: corrections noms de rues
Node 629889367 CYRILLIC Гастрономъ jose_luu iD 1.1.6 adjust location
Node 667342374 HAN Les Nouvelles Halles - 新今日超市 Britz JOSM/1.5 (9060 fr) corrections Osmose
@guillaumerose
guillaumerose / unixtotcp.go
Created August 4, 2017 14:19
Convert docker.sock to a http server on 2375
package main
import (
"net/http"
"github.com/docker/engine-api-proxy/proxy"
"github.com/gorilla/mux"
)
func main() {
@guillaumerose
guillaumerose / .slate
Created October 16, 2017 12:05 — forked from jeanlaurent/.slate
Slate config file
# https://github.com/mattr-/slate
#half left - full - half right
bind 1:alt,cmd move screenOriginX;screenOriginY screenSizeX/2;screenSizeY
bind 2:alt,cmd move screenOriginX;screenOriginY screenSizeX;screenSizeY
bind 3:alt,cmd move screenOriginX+screenSizeX/2;screenOriginY screenSizeX/2;screenSizeY
#1/3 left - center - right
bind 4:alt,cmd move screenOriginX;screenOriginY screenSizeX/3;screenSizeY
bind 5:alt,cmd move screenOriginX+screenSizeX/3;screenOriginY screenSizeX/3;screenSizeY
set i 31
set a 1
mul p 17
jgz p p
mul a 2
add i -1
jgz i -2
add a -1
set i 127
set p 618
goroutine 43 [running]:
github.com/docker/docker/pkg/signal.DumpStacks(0x1d57c1c, 0xf, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/docker/docker/pkg/signal/trap.go:83 +0xc5
github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap.func1(0xc420400180, 0x1d57c1c, 0xf)
/go/src/github.com/docker/docker/daemon/debugtrap_unix.go:19 +0x8b
created by github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap
/go/src/github.com/docker/docker/daemon/debugtrap_unix.go:17 +0xc9
goroutine 1 [chan receive, 53 minutes]:
main.(*DaemonCli).start(0xc420444420, 0xc42043f3b0, 0x0, 0x0)
goroutine 24 [running]:
github.com/docker/docker/pkg/signal.DumpStacks(0x1d57c1c, 0xf, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/docker/docker/pkg/signal/trap.go:83 +0xc5
github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap.func1(0xc4202225a0, 0x1d57c1c, 0xf)
/go/src/github.com/docker/docker/daemon/debugtrap_unix.go:19 +0x8b
created by github.com/docker/docker/daemon.(*Daemon).setupDumpStackTrap
/go/src/github.com/docker/docker/daemon/debugtrap_unix.go:17 +0xc9
goroutine 1 [chan receive, 60 minutes]:
main.(*DaemonCli).start(0xc4203c74d0, 0xc4203d98f0, 0x0, 0x0)
goroutine 38 [running]:
main.dumpStacks()
/tmp/tmp.X5mtKvYY4Q/src/github.com/containerd/containerd/cmd/containerd/main_unix.go:69 +0x8c
main.handleSignals.func1(0xc4201fa000, 0xc4201d4180, 0x147d120, 0xc4201d82a0, 0xc4201fa060)
/tmp/tmp.X5mtKvYY4Q/src/github.com/containerd/containerd/cmd/containerd/main_unix.go:44 +0x2cb
created by main.handleSignals
/tmp/tmp.X5mtKvYY4Q/src/github.com/containerd/containerd/cmd/containerd/main_unix.go:30 +0x8b
goroutine 1 [chan receive, 13 minutes]:
main.main.func1(0xc4201f0000, 0xc4201f0000, 0xc4201afb4f)
@guillaumerose
guillaumerose / README.md
Last active July 9, 2018 09:53
Speedup your Maven builds

With the latest version of Docker for Mac and Windows (18.06), you can prefix all your mvn commands by RUN --mount=target=/root/.m2,type=cache:

Example:

# syntax = tonistiigi/dockerfile:runmount20180618
FROM maven:3.5-jdk-8-alpine AS build
COPY . .
RUN --mount=target=/root/.m2,type=cache mvn --batch-mode clean compile assembly:single

FROM openjdk:8-jre-alpine3.7
stage('versionPack') {
agent {
label 'linux && gcp'
}
steps {
sh 'echo Hello'
}
}