Skip to content

Instantly share code, notes, and snippets.

Thomas Monjalon tmonjalo

Block or report user

Report or block tmonjalo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tmonjalo /
Last active Sep 21, 2018
Toggle wifi status on ethernet event with Linux NetworkManager
#! /bin/sh
# path should be /etc/NetworkManager/dispatcher.d/99-disable-wireless-when-wired
log() { logger -p -t "${self}[$$]" "$*" ;}
case $iface in eth*|usb*|en*)
tmonjalo /
Created Sep 13, 2018
List all Firefox tabs with title and URL
#! /usr/bin/env python3
List all Firefox tabs with title and URL
Supported input: json or jsonlz4 recovery files
Default output: title (URL)
Output format can be specified as argument
You can’t perform that action at this time.