Skip to content

Instantly share code, notes, and snippets.


Cheewai cynici

  • Takealot
  • Pretoria, South Africa
View GitHub Profile
zobayer1 /
Last active Jul 19, 2021
Fedora 34 Post Installation (For Developers). Things you should do after installing your new Fedora workstation.

Fedora 34 Post Installation (For Developers)

Things you should do after installing your new Fedora workstation.


Change Hostname

  • Method (a): from Settings -> About, change Device Name.
View glitch.json
"install": "pip3 install --user -r requirements.txt",
"start": "PYTHONUNBUFFERED=true python3",
"watch": {
"ignore": [
"install": {
"include": [
kentonv /
Last active Jan 2, 2021

As tested on Linux:

  • An SCM_RIGHTS ancillary message is "attached" to the range of data bytes sent in the same sendmsg() call.
  • However, as always, recvmsg() calls on the receiving end don't necessarily map 1:1 to sendmsg() calls. Messages can be coalesced or split.
  • The recvmsg() call that receives the first byte of the ancillary message's byte range also receives the ancillary message itself.
  • To prevent multiple ancillary messages being delivered
yanivmn /
Last active Jun 30, 2021 — forked from bmaupin/
Comparison of open-source SSO implementations
Aerobase Keycloak WSO2 Identity Server Gluu CAS OpenAM Shibboleth IdP
OpenID Connect/OAuth support yes yes yes yes yes yes third-party
Multi-factor authentication yes yes yes yes yes yes yes
Admin UI yes yes yes yes yes yes no
OpenJDK support yes yes yes yes no
Identity brokering yes yes yes
Middleware NGINX, Wildfly Wildfly, JBOSS WSO2 Carbon Jetty, Apache HTTPD any Java app server any Java app server Jetty, Tomc
bmaupin /
Last active Jul 20, 2021
Comparison of open-source SSO implementations
View Docker Best

Mistakes to Avoid: Docker Antipatterns

Whichever route you take to implementing containers, you’ll want to steer clear of common pitfalls that can undermine the efficiency of your Docker stack.

Don’t run too many processes inside a single container

The beauty of containers—and an advantage of containers over virtual machines—is that it is easy to make multiple containers interact with one another in order to compose a complete application. There is no need to run a full application inside a single container. Instead, break your application down as much as possible into discrete services, and distribute services across multiple containers. This maximizes flexibility and reliability.

Don’t install operating systems inside Docker containers

It is possible to install a complete Linux operating system inside a container. In most cases, however, this is not necessary. If your goal is to host just a single application or part of an application in the container, you need to install only the essential

fxkraus /
Last active Jun 12, 2021
Install LSI MegaCli .deb package on Debian/Ubuntu




cdelaitre / docker-compose-tick.yml
Last active Mar 22, 2021
Monitor Docker Swarm with the InfluxData TICK Stack
View docker-compose-tick.yml
version: '3'
# Full tag list:
image: chronograf
replicas: 1
bnagy /
Last active Jul 10, 2021
Mutt, Gmail and GPG

GPG / Mutt / Gmail


This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.

Here is an incomplete list of things that are different from other approaches:

  • I don't use keyservers. Ever.
  • Yes, I use Gmail instead of some bespoke hipster freedom service
willejs / gist:043ffaeec61c4501760e
Created Feb 12, 2015
haproxy 1.5 logstash grok filter - working!
View gist:043ffaeec61c4501760e
HAPROXYTIME (?!<[0-9])%{HOUR}:%{MINUTE}(?::%{SECOND})(?![0-9])
HAPROXYHTTP <%{BASE10NUM}>%{SYSLOGTIMESTAMP} %{SYSLOGPROG}: %{IP:client}:%{INT:port} \[%{HAPROXYDATE:accept_date}\] %{NOTSPACE:frontend_name} %{NOTSPACE:backend_name}/%{NOTSPACE:server_name} %{INT:time_request}/%{INT:time_queue}/%{INT:time_backend_connect}/%{INT:time_backend_response}/%{NOTSPACE:time_duration} %{INT:http_status_code} %{NOTSPACE:bytes_read} %{DATA:captured_request_cookie} %{DATA:captured_response_cookie} %{NOTSPACE:termination_state} %{INT:actconn}/%{INT:feconn}/%{INT:beconn}/%{INT:srvconn}/%{NOTSPACE:retries} %{INT:srv_queue}/%{INT:backend_queue} \"(<BADREQ>|(%{WORD:http_verb} (%{URIPROTO:http_proto}://)?(?:%{USER:http_user}(?::[^@]*)?@)?(?:%{URIHOST:http_host})?(?:%{URIPATHPARAM:http_request})?( HTTP/%{NUMBER:http_version})?))?\"