Skip to content

Instantly share code, notes, and snippets.

View jakubgs's full-sized avatar
🔥
Notice me Senpai

Jakub jakubgs

🔥
Notice me Senpai
View GitHub Profile
# Why is Vim So Great?
* Plugins (extensibility)
- plethora of extensions for every need
* Vim Script (customizability)
- configuration files
* Community (maturity)
- thousands of dedicated users and developers
" Preamble {{{
" VIM instad of VI
if has('vim_starting')
set rtp+=~/.vim/bundle/neobundle.vim/
set nocompatible
endif
call neobundle#begin(expand('~/.vim/bundle/'))
SCRIPT /home/jso/dotfiles/.vim/bundle/unite.vim/syntax/unite.vim
Sourced 14 times
Total time: 0.014934
Self time: 0.002301
count total (s) self (s)
"=============================================================================
" FILE: syntax/unite.vim
" AUTHOR: Shougo Matsushita <[email protected]>
" License: MIT license {{{
http:
port: 8080
admin:
port: 9876
hostname: localhost
apiEndpoints:
api:
host: localhost
paths: '/:id'
serviceEndpoints:
Jun 8 07:57:17 mail-01.do-ams3.eth.test docker/statusd-mail-1[1443]: #033[32mINFO #033[0m[06-08|07:57:17] Notification received #033[32mpackage#033[0m=status-go/signal #033[32mevent#033[0m="{\"type\":\"discovery.summary\",\"event\":[{\"id\":\"0215a5945aff97d1dd328c97639b4c9f8b6cf1862cb6b5e720228f3cd8fbdb247ffe1ca28551461a75b56bd937daabef311b75d41bfac1a700d0f343ef2f4ba6\",\"name\":\"StatusIM/v0.9.9-/linux-amd64/go1.10.2\",\"caps\":[\"shh/6\"],\"network\":{\"localAddress\":\"206.189.15.225:37912\",\"remoteAddress\":\"206.189.108.62:30305\",\"inbound\":false,\"trusted\":false,\"static\":true},\"protocols\":{\"shh\":\"unknown\"}},{\"id\":\"03f21684e777341df7f1b93888c9ba13a4d15130bb3c2d4fb13e817035b6cd6f3ed3dad1cd6c48dc995b17a2f4005188bae6d74d19d361a789c0f7085675a7f2\",\"name\":\"StatusIM/v0.9.9-/linux-amd64/go1.10.2\",\"caps\":[\"shh/6\"],\"network\":{\"localAddress\":\"206.189.15.225:60920\",\"remoteAddress\":\"206.189.108.89:30304\",\"inbound\":false,\"trusted\":false,\"stati
@jakubgs
jakubgs / digital_ocean_udp_research.md
Created June 22, 2018 09:52
Research into Digital Ocean UDP delivery issues when using Floating IPs.

Info

We've discovered issues with UDP traffic going to our bootnodes via the Digital Ocean Floating IPs. According to DO "Floating IP" is:

Floating IP is an IP address that can be instantly moved from one Droplet to another Droplet in the same datacenter.

Terms

  • Anchor IP - Default internal IP given to a dropplet in 10.0.0.0/8 subnets.
  • Dropplet IP - Default public IP given to a dropplet on creation.
Jun 25 18:35:13 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: INFO [06-25|18:35:13] Delivering mail peer=0xce7400
Jun 25 18:35:13 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: message repeated 11 times: [ INFO [06-25|18:35:13] Delivering mail peer=0xce7400]
Jun 25 18:35:31 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: INFO [06-25|18:35:31] Delivering mail peer=0xce7400
Jun 25 18:35:31 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: panic: runtime error: slice bounds out of range
Jun 25 18:35:31 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]:
Jun 25 18:35:31 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: goroutine 1162 [running]:
Jun 25 18:35:31 mail-01.do-ams3.eth.beta docker/statusd-mail-1[1493]: github.com/status-im/status-go/vendor/github.com/syndtr/goleveldb/leveldb.tFiles.newIndexIterator(0xc420572dc0, 0x26, 0x26, 0xc420032510, 0xc420543c60, 0xc420269740, 0x0, 0x4, 0x5)
Jun 25 18:35:31 m
@jakubgs
jakubgs / tf.log
Created July 4, 2018 10:56
Log from failing to create a cloudflare_load_balancer_pool
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ cloudflare_load_balancer_pool.test
id: <computed>
check_regions.#: <computed>
created_on: <computed>
@jakubgs
jakubgs / tf.log
Created July 4, 2018 11:02
Log from failing to create cloudflare_load_balancer_monitor in Terraform
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ cloudflare_load_balancer_monitor.health
id: <computed>
created_on: <computed>
description: "Basic /health check"
@jakubgs
jakubgs / x-check-mailserver.log
Created January 4, 2019 13:03
Failure log for x-check-mailserver
INFO [01-04|13:56:03.810] LES protocol is disabled package=status-go/node
INFO [01-04|13:56:03.810] LES protocol is disabled package=status-go/node
INFO [01-04|13:56:03.810] Status service api is disabled package=status-go/node
INFO [01-04|13:56:03.810] LES protocol is disabled package=status-go/node
INFO [01-04|13:56:03.811] Status service api is disabled package=status-go/node
INFO [01-04|13:56:03.810] Status service api is disabled package=status-go/node
INFO [01-04|13:56:03.810] LES protocol is disabled package=status-go/node
INFO [01-04|13:56:03.811] Status service api is disabled package=status-go/node
INFO [01-04|13:56:03.810] LES protocol is disabled package=status-go/node
INFO [01-04|13:56:03.811] Status service api is disabled package=status-go/node