@TODO
sysctl -a |egrep -E "cpu\.[0-9]+\.temp"
Today I learned about the ip route list [table TABLE]
subcommand.
I have always used ip route show [table TABLE]
in the past but
recently found the need/desire for better "queryability" of the routes.
At face value, both list and show look identical. Example:
$ ip route list table local
#!/bin/bash | |
LAST_RUN_FILE=/var/fstrim.lastrun | |
MINIMUM_TIME=$((12*60*60)) | |
PARTITIONS=( \ | |
"/" \ | |
) | |
currentTime=$(date +%s) |
import dns.resolver | |
answer = dns.resolver.query('www.google.com', 'A') | |
for a_record in answer.rrset.items: | |
print "- {}".format(str(a_record)) | |
########## | |
# OUTPUT # | |
########## |
import iptc | |
WAN_IFACE = "eth1" | |
IMQDEV_IN = 0 | |
IMQDEV_OUT = 1 | |
def get_available_imq(): | |
pass | |
def get_imqdev(wan_iface, direction): |
Small primer in using SQLAlchemy & Alembic with a MySQL backend.
Product Link: [NewEggBusiness.com] SAMSUNG 250GB USB 3.0 Portable SSD T1
Before anyone asks "What’s wrong with the Samsung product":
Here is what gparted sees
By default, AWS accounts are not allowed to add/remove their own access keys or multi-factor authentication tokens. To empower some of your users, you may be interested in adding a policy to allow them to do so.
I've named mine UsersManageOwnMFA-and-access-tokens
and replaced my account