Skip to content

Instantly share code, notes, and snippets.

Juraj Bubniak jbub

Block or report user

Report or block jbub

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jbub
jbub / log.txt
Created Mar 5, 2019
Athens minio crash
View log.txt
gc 1 @0.194s 1%: 0.039+9.2+0.88 ms clock, 0.079+5.5/0.47/8.1+1.7 ms cpu, 4->4->1 MB, 5 MB goal, 2 P
gc 2 @0.515s 1%: 0.014+7.9+0.039 ms clock, 0.029+0.79/1.8/4.9+0.078 ms cpu, 4->4->2 MB, 5 MB goal, 2 P
gc 3 @0.578s 0%: 0.010+2.4+0.032 ms clock, 0.021+0.34/0.011/2.3+0.065 ms cpu, 5->5->2 MB, 6 MB goal, 2 P
gc 4 @0.656s 0%: 0.007+2.3+0.21 ms clock, 0.014+0.13/1.2/1.7+0.43 ms cpu, 5->5->2 MB, 6 MB goal, 2 P
gc 5 @0.678s 0%: 0.008+2.6+0.035 ms clock, 0.017+0.18/0.38/2.0+0.070 ms cpu, 5->5->3 MB, 6 MB goal, 2 P
buffalo: Unless you set SESSION_SECRET env variable, your session storage is not protected!
time="2019-03-05T21:57:51Z" level=info msg="Exporter not specified. Traces won't be exported"
buffalo: Starting application at :3009
gc 6 @42.566s 0%: 3.3+6.9+0.039 ms clock, 6.6+0.24/3.9/0+0.078 ms cpu, 6->6->3 MB, 7 MB goal, 2 P
gc 7 @44.055s 0%: 0.010+15+0.043 ms clock, 0.020+0.11/7.7/10+0.086 ms cpu, 580->580->580 MB, 581 MB goal, 2 P
View customers.yml
data:
count: 100
format:
name: csv
options:
delimiter: ";"
fields:
- name: id
resolver: ctx_index
- name: cookie
View spec.yml
data:
count: 20
format:
name: csv
options:
delimiter: ";"
fields:
- name: id
resolver: ctx_index
- name: cookie
View .gqlgen.yml
schema: ../schema.graphql
models:
DateTime:
model: my.domain.com/project/types.DateTime
exec:
filename: schema.go
model:
filename: models.go
View hl.md

title: Plot Pie Charts of Tuna Landed Catch Composition on a Map in R author: Jethro Emmanuel date: "2018-05-30T10:10:44+08:00" slug: plot-pie-chart-tuna-landed-catch-map-in-r categories:

  • R
  • ggplot2 tags:
  • r
View hugohighlight.md
<section id="main">
  <div>
    <h1 id="title">{{ .Title }}</h1>
    {{ range .Data.Pages }}
      {{ .Render "summary"}}
    {{ end }}
  </div>
</section>
View cel.py
from celery import Celery
from celery.utils.log import get_task_logger
logger = get_task_logger(__name__)
app = Celery('cel')
app.config_from_object('celeryconfig')
View conf.py
BROKER_URL = env('BROKER_URL')
BROKER_HEARTBEAT = 30
BROKER_CONNECTION_TIMEOUT = 30
CELERYD_LOG_FORMAT = '[%(asctime)s:] %(message)s'
CELERYD_TASK_LOG_FORMAT = '[%(asctime)s:] %(message)s'
CELERY_DEFAULT_QUEUE = 'default'
CELERY_DEFAULT_EXCHANGE = 'default'
CELERY_DEFAULT_ROUTING_KEY = 'default'
CELERY_DEFAULT_EXCHANGE_TYPE = 'direct'
View store.py
from kombu import Connection, Exchange, Queue
from kombu.pools import connections
class AmqpStore(Store):
name = 'amqp'
def configure(self, cfg, logger):
url = cfg.var('ITEM_STORE_URL')
self.logger = logger
View gist:1900e74fb2625506fcd5cde5f3d669cd
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 785 bytes | 785.00 KiB/s, done.
Total 8 (delta 4), reused 0 (delta 0)
Gitea: Internal error
UpdatePublicKey: Failed to update public key: EOF
To ssh://my.repo.com:1234/my/repo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://git@my.repo.com:1234/my/repo.git'
You can’t perform that action at this time.