View pgp-merge-drv
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 | |
# WARNING: This creates and manipulates clear text copies of the | |
# encrypted files. It tries to clean up afterwards, but lots can go | |
# wrong. If you are seriously worried about the secrecy of the files, | |
# don't trust this! | |
ANCESTOR=$1 | |
MINE=$2 | |
OTHER=$3 |
View install-docker-mint.sh
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
sudo apt-get update | |
sudo apt-get install apt-transport-https ca-certificates -y | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo echo deb https://apt.dockerproject.org/repo ubuntu-xenial main >> /etc/apt/sources.list.d/docker.list | |
sudo apt-get update | |
sudo apt-get purge lxc-docker | |
sudo apt-get install linux-image-extra-$(uname -r) -y | |
sudo apt-get install docker-engine cgroup-lite apparmor -y | |
sudo usermod -a -G docker $USER | |
sudo service docker start |
View bulk-change-remmina-passwords.sh
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
# Change passwords in Remmina in bulk | |
# Inspiration: https://community.spiceworks.com/scripts/show/2059-mass-change-of-passwords-in-remmina-profiles | |
ret_path=`pwd` && cd ~/.remmina && ls -t `grep -li "username=astellin" *.remmina | xargs grep -l "domain=OPENTEXT"` | grep -m 2 "^.*$" | xargs sed -nr 's/(password=)(.*)/\2/p' | sed -r 's/([\x24\x27-\x2B\x2E\x2F\x3F\x5B-\x5E\x7B\x7C\x7D])/\\\\\1/g' | xargs bash -c 'sed -ri s/$1/$0/ *.remmina' && cd $ret_path |
View build.gradle
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
// Add a new configuration | |
configurations { | |
fortify { extendsFrom compile } | |
} | |
// pull in the fortify libs for the new configuration | |
dependencies { | |
// fortify 'com.fortify:sourceanalyzer:3.90' // Ideally | |
fortify files('/home/astellin/fortify/HP_Fortify_SCA_and_Apps_4.10/Core/lib/sourceanalyzer.jar') // For now | |
} |