Skip to content

Instantly share code, notes, and snippets.

View guillaumerose's full-sized avatar

Guillaume Rose guillaumerose

  • Red Hat
  • Paris
View GitHub Profile
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)
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
@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
@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() {
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 / 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
@guillaumerose
guillaumerose / convert.sh
Created July 21, 2016 11:29
Agrégation des fichiers de la BD Alti de l'IGN. Reprojection en WGS84
find . -iname "*.asc" -exec gdal_translate -a_nodata none -a_srs EPSG:2154 {} {}.tif \;
gdal_merge.py -o france.tif *.tif
gdalwarp -overwrite -s_srs EPSG:2154 -t_srs EPSG:4326 france.tif france.wgs84.tif
gdal_translate -of AAIGrid -ot Int32 france.wgs84.tif france.asc
@guillaumerose
guillaumerose / keybase.md
Created February 25, 2015 16:49
keybase.md

Keybase proof

I hereby claim:

  • I am guillaumerose on github.
  • I am guillaumerose (https://keybase.io/guillaumerose) on keybase.
  • I have a public key whose fingerprint is 4C92 A833 9C48 C34E D917 7017 4FAB 23B1 A548 D15C

To claim this, I am signing this object:

@guillaumerose
guillaumerose / gist:7338869
Created November 6, 2013 16:08
Ordre d'arrivée différent, pourtant 1 seul thread coté client.
Serveur =
2013-11-06 16:56:43.127 HTTPElevator http://0.0.0.0:9292/reset?cause=Connexion+refus%C3%A9e
2013-11-06 16:56:44.126 HTTPElevator http://0.0.0.0:9292/call?atFloor=0&to=UP
2013-11-06 16:56:44.143 HTTPElevator http://0.0.0.0:9292/nextCommand UP
2013-11-06 16:56:45.126 HTTPElevator http://0.0.0.0:9292/call?atFloor=3&to=UP
2013-11-06 16:56:45.139 HTTPElevator http://0.0.0.0:9292/nextCommand UP
Client, premier essai =
127.0.0.1 - - [06/Nov/2013 16:56:43] "GET /reset?cause=Connexion+refus%C3%A9e HTTP/1.1" 200 - 0.0190
127.0.0.1 - - [06/Nov/2013 16:56:44] "GET /nextCommand HTTP/1.1" 200 2 0.0027
@guillaumerose
guillaumerose / func.coffee
Created February 28, 2012 17:44
CoffeeScript + Rhino
hello = (name) ->
print "Hello #{name} !"
hello "Java"