Skip to content

Instantly share code, notes, and snippets.

View sebastian-philipp's full-sized avatar
🔫
I'm here

Sebastian Wagner sebastian-philipp

🔫
I'm here
View GitHub Profile
@BaronKimaru
BaronKimaru / syntax error near ")": solution.md
Last active August 18, 2023 11:41
Solve: django.db.utils.OperationalError: near ")": syntax error

My Code:

from django.db import migrations


class Migration(migrations.Migration):

    dependencies = [
 ('wagtailcore', '0066_collection_management_permissions'),

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@satoru-takeuchi
satoru-takeuchi / rook_and_cephadm_performance_comparison.md
Last active October 1, 2023 02:59
rook and cephadm performance comparison

What is measured

The elapsed time to create 1 MON, 1 MGR, and 1 OSD Ceph cluster in one node. All container is in local host.

result

  • rook
    • launching a one node k8s cluster by kubeadm: 84s
    • launching a rook/ceph cluster on top of this k8s cluster: 64s
SSH tunnel to remote host socket
ssh -fNT -L /tmp/remote-docker.sock:/var/run/docker.sock <remote-user>@<host-ip>
Map localhost docker host to ssh tunnel
export DOCKER_HOST=unix:///tmp/remote-docker.sock