Skip to content

Instantly share code, notes, and snippets.

@consense
consense / gitlab-runner-virtualbox-windows-7.md
Created January 15, 2018 17:50 — forked from vgoma/gitlab-runner-virtualbox-windows-7.md
Gitlab Virtualbox Windows 7 runner

Gitlab Virtualbox Windows 7 runner

Первоисточник

В результате выполнения шагов у вас будет готовый runner на виртуальной машине с Windows 7 с Cygwin, к которой можно будет подключиться по ssh.

Устанавливаем Cygwin

Качаем установочный файл cygwin например в C:\dev\cygwin.

Пакеты для Cygwin устанавливаются именно из него

Запускаем файл с правами администратора:

@consense
consense / .git_hooks_pre-commit
Created May 8, 2017 13:44 — forked from leucos/.git_hooks_pre-commit
ansible-vault pre-commit hook
#!/bin/sh
#
# Pre-commit hook that verifies if all files containing 'vault' in the name
# are encrypted.
# If not, commit will fail with an error message
#
# Original author: @ralovely
# https://www.reinteractive.net/posts/167-ansible-real-life-good-practices
#
# File should be .git/hooks/pre-commit and executable
@consense
consense / es6-best-practices.md
Last active August 17, 2022 01:17
ES6 Best Practices
@consense
consense / influxdb-0.9.3_stacktrace-invalid-memory-address.log
Created August 31, 2015 09:41
influxdb-0.9.3_stacktrace-invalid-memory-address.log
[metastore] 2015/08/28 02:12:22 new shard group 2363 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2364 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2365 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2366 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2367 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2368 successfully created for database databasename-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2369 successfully created for database databasename-log-test, retention policy default
[metastore] 2015/08/28 02:12:22 new shard group 2370 successfully created for database databasename-log
@consense
consense / influxdb-slice_bound_out_of_range.log
Created August 14, 2015 09:15
influxdb-slice_bound_out_of_range
[http] 2015/08/14 08:48:27 127.0.0.1 - user_username [14/Aug/2015:08:48:27 +0200] POST /write?db=databasename HTTP/1.1 204 0 - - 7785f1fc-4250-11e5-8904-000000000000 1.501138ms
panic: runtime error: slice bounds out of range
goroutine 59817 [running]:
github.com/influxdb/influxdb/tsdb.(*FieldCodec).DecodeFields(0xc208f7f5b0, 0x7f646aea12b6, 0x3b, 0x7fffffff, 0x7fffffff, 0x0, 0x0)
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:959 +0x78b
github.com/influxdb/influxdb/tsdb.(*FieldCodec).DecodeFieldsWithNames(0xc208f7f5b0, 0x7f646aea12b6, 0x3b, 0x7fffffff, 0x7fffffff, 0x0, 0x0)
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:974 +0x72
github.com/influxdb/influxdb/tsdb.(*tagSetCursor).Next(0xc20a62cbd0, 0x11bb3e19d77c0000, 0x11bb8cae68bbbdc0, 0xc2099d4420, 0x6, 0x6, 0xc208d85990, 0x1, 0x1, 0x11bb55052c886000, ...)
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:570 +0x1a1
@consense
consense / influxdb-log_backup-restore-panic.log
Created August 5, 2015 06:38
InfluxDB panic when restoring db backup
[metastore] 2015/08/05 08:23:46 [INFO] raft: Node at 127.0.0.1:8088 [Follower] entering Follower state
[metastore] 2015/08/05 08:23:46 read local node id: 1
[shard] 2015/08/05 08:23:46 flush 38 points in 0.008s
[shard] 2015/08/05 08:23:46 flush 74 points in 0.005s
[shard] 2015/08/05 08:23:46 flush 38 points in 0.010s
[shard] 2015/08/05 08:23:46 flush 74 points in 0.010s
[shard] 2015/08/05 08:23:46 flush 37 points in 0.010s
[shard] 2015/08/05 08:23:46 flush 3 points in 0.010s
[shard] 2015/08/05 08:23:46 flush 48 points in 0.010s