- https://www.brianstorti.com/tcp-flow-control/
- https://hicu.be/bridge-vs-macvlan
- https://hicu.be/macvlan-vs-ipvlan
- https://wiki.aalto.fi/download/attachments/69901948/TCP-CongestionControlFinal.pdf
- https://github.com/tass-belgium/picotcp/blob/3c05fc90347beae23f26d7dc60be69280e55bfa2/modules/pico_tcp.c
- https://www.saminiir.com/lets-code-tcp-ip-stack-5-tcp-retransmission/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh-5.0$ alias atroce='func(' | |
sh-5.0$ atroce | |
sh: syntax error near unexpected token `newline' | |
sh-5.0$ atroce ) { | |
> echo vraiment atroce | |
> | |
> } | |
sh-5.0$ if true; then | |
> alias machin='echo hm ok' | |
> machin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2006 Michael Brown <[email protected]>. | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation; either version 2 of the | |
* License, or any later version. | |
* | |
* This program is distributed in the hope that it will be useful, but | |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq c-default-style "bsd" | |
c-basic-offset 4) | |
(setq-default indent-tabs-mode nil) | |
(require 'whitespace) | |
(setq require-final-newline t) | |
(setq whitespace-style '(face empty tabs trailing lines-tail)) | |
(global-whitespace-mode t) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*nat | |
:PREROUTING ACCEPT [0:0] | |
:INPUT ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
:POSTROUTING ACCEPT [0:0] | |
COMMIT | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import json | |
from datetime import datetime | |
def fixup_str(text): | |
return text.encode('latin1').decode('utf8') | |
def fixup_list(l): |
Il y a beaucoup, mais alors beaucoup de manières d'implémenter un allocateur mémoire. Trop pour les lister ici sans y passer vraiment beaucoup de temps. Ainsi, seuls les aspects généraux seront évoqués.
Si vous lisez ce message, c'est que votre malloc ne marche pas. Terrible, non ? Que faire !
Le document a été migré ici
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## A workspace manager | |
: ${WS_CONFIG_DIR:=~/.config/ws} | |
ws_l () { | |
for ws_file in "${WS_CONFIG_DIR}"/*.ws; do | |
local ws_name="$(basename "$ws_file")" | |
ws_name="${ws_name%.ws}" | |
printf "%-10s\t%s\n" "$ws_name" "$(cat "${ws_file}")" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
// random hash implementation from the internet | |
#define rot(x, k) (((x) << (k)) | ((x) >> (32 - (k)))) | |
#define mix(a, b, c) \ | |
{ \ |