Skip to content

Instantly share code, notes, and snippets.

@e-roux
e-roux / ansible.md
Last active February 7, 2021 15:04
Memo: Ansible

Ansible

logo

Global configuration is in /etc/ansible

By default, Ansible will try to use native OpenSSH for remote communication when possible. This enables ControlPersist[controlPersistNote], Kerberos, and options in ~/.ssh/config such as Jump Host setup.

@e-roux
e-roux / docker.md
Last active July 9, 2020 19:36
Memo: Docker

Docker

Installation

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
# or as one liner
# curl -fsSL https://get.docker.com | sh
@e-roux
e-roux / dash.css
Last active September 28, 2019 08:49
CSS for dash
/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Plotly.js
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
@e-roux
e-roux / git.md
Created September 28, 2019 15:26
Memo: git

Duplicating a repository

Source

Important: the target repo must first be created.

@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.

@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: REST and RPC.md
Last active October 6, 2019 15:21
Memo: REST and RPC
@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: web authentication and authorization.md
Created October 6, 2019 08:06
Memo: web authentication and authorization