This file contains hidden or 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/python2 | |
def linkdupes(base_dir, loglevel='DEBUG'): | |
import logging, mimetypes, os, zlib | |
logging.basicConfig(format='%(asctime)s | %(levelname)s | %(funcName)s | %(message)s') | |
logger = logging.getLogger('linkdupes') | |
logger.setLevel(logging.getLevelName(loglevel)) | |
mimetypes.add_type('audio/ape', '.ape') | |
hashes = {} |
This file contains hidden or 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 | |
trap exit SIGINT SIGTERM | |
sshcmd="ssh -q -o StrictHostKeyChecking=no" | |
hostlist="" | |
username="" | |
outfile="" | |
totalhosts=0 | |
while getopts :u:f:o:h arg ; do | |
case $arg in | |
u) |
This file contains hidden or 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 | |
#this script can be run from: | |
#curl -Ls https://git.io/vie2W | bash -s -- -i | |
trap exit SIGINT SIGTERM SIGKILL | |
function usage () { | |
echo " | |
About: | |
This script installs and updates the necessary kernel modules for VMware Workstation and the Horizon View Client to work on OpenSUSE Tumbleweed x64. |
This file contains hidden or 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 -ve | |
##### | |
# This script will take a fresh OpenSuse Tumbleweed (KDE Plasma Desktop) install and make it suitable for getting stuff done. | |
##### | |
trap exit INT TERM QUIT HUP ERR | |
# add tmpfs mount for better speed | |
grep ' /tmp ' /etc/fstab >/dev/null || sudo tee -a /etc/fstab <<< "tmpfs /tmp tmpfs noatime,nodiratime" |
NewerOlder