# I usually add a similar block to the .bashrc | |
#################################### | |
##### My Stuff: Walid Shouman #### | |
#################################### | |
# disable freezing, follow https://unix.stackexchange.com/a/72092/310075 | |
stty -ixon | |
#~~~~~~~~~~~~~~~~~~~~~~~# |
apt configurations are located in /etc/apt/
following is a breakdown for the different directories
-
sources.list
: This is the main list of repositories that APT will use for software package management. Each line in this file specifies a different repository. Ref:man 5 sources.list
-
sources.list.d/
: This directory allows you to add additional repository lists without modifying the mainsources.list
file. Each file in this directory should end with.list
and contain one or more repository lines, just like the mainsources.list
file. Ref:man 5 sources.list
- Simple Assignment (
=
):-
It assigns a value to a variable.
-
The value of the variable is evaluated when the variable is used, not when it's declared.
-
This means that if you reference other variables in the assignment, their values will be expanded at the time of use, not at the time of assignment.
FOO = $(BAR) BAR = Hello all:
-
@echo $(FOO) # This will output "Hello"
import unittest | |
import tempfile | |
import subprocess | |
# One could use vimdiff, meld, or even diff | |
def diff_with(test_func=None, tool='vimdiff'): | |
# The decorator was used with parentheses | |
# thus the test_func is not set, we need to call it ourself | |
if test_func is None: | |
return functools.partial(diff_with, tool=tool) |
#!/usr/bin/python | |
# This script cleans up reference keys assuming they start with an underscore | |
import yaml | |
import argparse | |
def read_data(input_file): | |
# Read YAML file | |
with open(input_file, 'r') as f: | |
data = yaml.safe_load(f) |
Following is an index for the official Cilium documentation
- Introduction to Cilium & Hubble - An introductory guide to Cilium and Hubble.
pip install pybind11
: install requirementspip3 show pybind11 | grep Location
: to ensure installation.\install_evdi.sh
: install evdi