Test files for https://github.com/qedus/osmpbf.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~/gimme $ ./gimme -k | |
+ readonly GIMME_VERSION=v1.3.0 | |
+ GIMME_VERSION=v1.3.0 | |
+ readonly 'GIMME_COPYRIGHT=Copyright (c) 2015-2018 gimme contributors' | |
+ GIMME_COPYRIGHT='Copyright (c) 2015-2018 gimme contributors' | |
+ readonly GIMME_LICENSE_URL=https://raw.githubusercontent.com/travis-ci/gimme/v1.3.0/LICENSE | |
+ GIMME_LICENSE_URL=https://raw.githubusercontent.com/travis-ci/gimme/v1.3.0/LICENSE | |
+ export GIMME_VERSION | |
+ export GIMME_COPYRIGHT | |
+ export GIMME_LICENSE_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"flag" | |
"log" | |
"os" | |
"path/filepath" | |
"strings" | |
"unicode" |
I hereby claim:
- I am AlekSi on github.
- I am aleksi (https://keybase.io/aleksi) on keybase.
- I have a public key whose fingerprint is 21A0 6D92 5A1F 0A15 D751 77EE DD17 A8A6 EF9C 4CDE
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Привет, | |
Пройти на митап смогут только люди, у которых сейчас стоит RSVP: Yes, и у которых имена и фамилии написаны на русском языке. Ниже подробно описано почему так произошло (TL;DR: правила регистрации были плохо сообщены; я виноват; в следующий раз будет лучше). | |
Митап был создан 13-ого апреля, с тихим анонсом в https://golang-ru.slack.com и некоторых других местах. Официальный анонс состоялся в блоге Badoo на Хабре (https://habrahabr.ru/company/badoo/blog/282606/) 27-ого числа, и сразу после этого во всех остальных местах. Мы с Badoo договорились, что регистрация будет только на meetup.com, что имя и фамилия должны быть указаны на русском языке как в паспорте, что будет нужен он или другой документ для проходе в офис Badoo. Дело в том, что прошлый митап, который проходил там (Zabbix Meetup), оставил их закопанными в списках. :) Однако я сообщил об этом только 27-ого числа, не 13-ого. | |
29-ого апреля, закончив первую часть подготовки, я улетел в отпуск, где не слишком активно проверял почту и страницу мита |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"math" | |
"time" | |
"github.com/labstack/echo" | |
"github.com/labstack/gommon/log" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func check(err error) { | |
if err != nil { | |
panic(err) | |
} | |
} | |
func (h *APIHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request) { | |
defer func() { | |
if p := recover(); p != nil { | |
switch e := p.(type) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package replace | |
import ( | |
"fmt" | |
"strings" | |
"testing" | |
) | |
var keys []string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
panic: interface conversion: error is *os.PathError, not *exec.ExitError | |
goroutine 1 [running]: | |
main.main() | |
/tmp/tmp.9cy9ejlFpP/conq.go:124 +0xcc7 | |
goroutine 2 [syscall]: | |
goroutine 5 [runnable]: | |
net/http.(*persistConn).readLoop(0xc2000c4180) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net" | |
"sync" | |
) |
NewerOlder