This file contains 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
""" | |
Runs a DBus message loop with a callback to receive... pretty much | |
anything on a session bus. | |
Listen to the Notify event; if it's a message we hate, record it, then | |
listen for the return message, and kill that message. | |
Tested On: | |
- Ubuntu 18.04.5 LTS, CPython 3.6.9 (dbus: 1.2.6, gi: 3.26.1) | |
To test, try running the following with and without this script running: |
This file contains 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
_DOTFILES=<DEFINE THIS> | |
use-personal-git() { | |
export GIT_AUTHOR_EMAIL=personal@email.com | |
export GIT_COMMITTER_EMAIL=${GIT_AUTHOR_EMAIL} | |
export GIT_SSH=${_DOTFILES}/ssh_personal_for_git.sh | |
export PS1="personal!$ " | |
} |
This file contains 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
Gotta catch 'em all! | |
Last updated: 2020-03-23 | |
[X] - Site taken down | |
[ ] - Site still up | |
[X] https://luanzi.myshopify.com/collections/home-gym/products/adjustable-dumbbell-the-work-of-multiple-dumbbells-in-one | |
[X] https://aback.rooftop1.com/collections/home-gym/products/adjustable-dumbbell-the-work-of-multiple-dumbbells-in-one | |
[X] https://blshaln.myshopify.com/collections/sports-fitness/products/adjustable-dumbbell-the-work-of-multiple-dumbbells-in-one | |
[ ] https://www.wajious.com/shopping/sports-outdoors/home-gym.html/adjustable-dumbbell-the-work-of-multiple-dumbbells-in-one |
This file contains 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
attrs==19.1.0 | |
backcall==0.1.0 | |
bleach==3.1.0 | |
decorator==4.3.2 | |
defusedxml==0.5.0 | |
entrypoints==0.3 | |
ipykernel==5.1.0 | |
ipython==7.3.0 | |
ipython-genutils==0.2.0 | |
ipywidgets==7.4.2 |
This file contains 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
#!/bin/bash | |
# Makes and mounts temporary encfs partition that is removed upon program exit. | |
# Requires encfs. | |
set -eu -o pipefail | |
tmp=$(mktemp -d) | |
enc=${tmp}/.enc | |
mnt=${tmp}/mnt |
This file contains 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
#!/usr/bin/python | |
import fnmatch | |
import argparse | |
import rosgraph.masterapi | |
import roslib | |
import rospy | |
import uuid | |
import sys | |
parser = argparse.ArgumentParser() |
This file contains 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
#!/bin/bash | |
# Git Lightweight User Management | |
# To start a new user 'session' | |
# glum USER EMAIL | |
# To end user 'session' | |
# glum | |
glum-broken() { | |
# This shows an error, and replaces git in the current shell as an alias to this function |
This file contains 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
for dir in a b c d; do | |
git init $dir | |
pushd $dir | |
touch test | |
echo $dir > bob | |
git add -A | |
git commit -m "Init" | |
popd | |
done | |
This file contains 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
Incorporated into: https://github.com/eacousineau/util |
This file contains 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
Incorporated into: https://github.com/eacousineau/util |
NewerOlder