A tab completion script that works for Bash. Relies on the BSD md5
command on Mac and md5sum
on Linux, so as long as you have one of those two commands, this should work.
$ gradle [TAB]
#!/bin/sh | |
REPOSRC=$1 | |
LOCALREPO=$2 | |
# We do it this way so that we can abstract if from just git later on | |
LOCALREPO_VC_DIR=$LOCALREPO/.git | |
if [ ! -d $LOCALREPO_VC_DIR ] | |
then |
print("UPDATE AUG 2023: this script is beyond old and broken") | |
print("You may find interesting and more up to date resources in the comments of the gist") | |
exit() | |
from slacker import Slacker | |
import json | |
import argparse | |
import os | |
# This script finds all channels, private channels and direct messages |
#!/bin/sh | |
# Enumerate all interrupts used by either the default or a specified | |
# network interface, and map them to separate CPUs. Each CPU that gets | |
# assigned interrupts will also have its C-states deeper than C1 | |
# disabled to reduce the probability of rx queue overflow. | |
# | |
# TODO: NUMA interrupt scheduling. | |
# |