Skip to content

Instantly share code, notes, and snippets.

@e-roux
e-roux / Memo: Ubuntu.md
Last active January 17, 2021 18:19
Memo: Ubuntu

Ubuntu

Alternatives: update-alternatives

Add an alternative group:

$ sudo update-alternatives --install <link> <name> <path> <priority>
@e-roux
e-roux / Memo: Kubernetes - K8S.md
Last active October 6, 2019 17:11
Memo: Kubernetes - K8S
@e-roux
e-roux / Memo: webhooks.md
Created October 6, 2019 12:50
Memo: webhooks
@e-roux
e-roux / Memo: web authentication and authorization.md
Created October 6, 2019 08:06
Memo: web authentication and authorization
@e-roux
e-roux / Memo: Apache Arrow.md
Last active November 30, 2020 22:20
Mémo: Apache Airflow

Apache Arrow

Flight

From https://www.dremio.com/understanding-apache-arrow-flight :

What Makes Apache Arrow Flight Fast?

No serialization/deserialization. The Apache Arrow memory representation is the same across all languages as well as on the wire (within Arrow Flight). As a result, the data doesn’t have to be reorganized when it crosses process boundaries.
@e-roux
e-roux / Memo: REST and RPC.md
Last active October 6, 2019 15:21
Memo: REST and RPC
@e-roux
e-roux / Memo: shell startup.md
Last active September 20, 2020 15:39
Memo: shell startup

/etc/profile

/etc/profile is the system-wide .profile file for the Bourne shell and Bourne compatible shells

  • On ubuntu, the PATH environment variable is being set in /etc/environment and addition can be set in /etc/profile. This one references /etc/bash.bashrc and every readable files in /etc/profile.d.
  • On mac OS, /usr/libexec/path_helper is beeing exectued for setting the $PATH environment variable, then /etc/bashrc and later on terminal specific configuration /etc/bashrc_${TERM_PROGRAM} will be loaded

macOS

@e-roux
e-roux / Memo: network.md
Last active November 24, 2019 08:44
Memo: DNS

Network elements

Source: Wikipedia

The Open Systems Interconnection model (OSI model) is a conceptual model that characterizes and standardizes the communication functions of a telecommunication or computing system without regard to its underlying internal structure and technology.