Skip to content

Instantly share code, notes, and snippets.

View oliwer's full-sized avatar
😤
Destroy, Erase, Improve

Olivier Duclos oliwer

😤
Destroy, Erase, Improve
View GitHub Profile

This is from man bash:

A pipeline is a sequence of one or more commands separated by one of the control operators | or |&. The format for a pipeline is:

[ time [ -p ]] [ ! ] command [ [ | | |& ] command2 ... ]

This is the only place in which ! can appear. It never prefixes commands, it prefixes pipelines.

@rwp0
rwp0 / perl_to_unix_mappings.csv
Last active September 12, 2023 11:11
Perl to Unix Table: Cultural influence of Unix on Perl symbol names
Perl Function / Method Namespace (eg. Package) Command / Syscall / C Function
compare File::Compare cmp(1)
catdir File::Spec cat(1)
catfile File::Spec cat(1)
basename File::Basename basename(1)
dirname File::Basename dirname(1)
grep CORE grep(1)
find File::Find find(1)
s/// CORE sed(1)
tr// CORE tr(1)
@mazieres
mazieres / FRA_ISO_3166-2.csv
Created March 2, 2022 06:29
ISO 3166-2 FRA
subdiv_type iso_3166-2 subdiv_name parent_subdiv
département métropolitain FR-01 Ain FR-ARA
département métropolitain FR-02 Aisne FR-HDF
département métropolitain FR-03 Allier FR-ARA
département métropolitain FR-06 Alpes-Maritimes FR-PAC
département métropolitain FR-04 Alpes-de-Haute-Provence FR-PAC
collectivité européenne FR-6AE Alsace FR-GES
département métropolitain FR-08 Ardennes FR-GES
département métropolitain FR-07 Ardèche FR-ARA
département métropolitain FR-09 Ariège FR-OCC
@probonopd
probonopd / Wayland.md
Last active July 8, 2025 20:37
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

image

Source: https://x.com/LundukeJournal/status/1940441670098809093

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.

@paulzhol
paulzhol / main.go
Last active April 15, 2023 08:34
golang.org/x/sys/unix.Signalfd usage example (Linux)
// +build linux
package main
import (
"flag"
"log"
"os"
"runtime"
"time"
@chrispsn
chrispsn / kOS.md
Last active June 1, 2024 12:38
A summary of everything we know about kOS.
@poliveira89
poliveira89 / gist:5966434
Created July 10, 2013 13:51
How to use WebDav on Linux+XFCE+Thunar
davs://[email protected]/webdav/someFolder