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/sh | |
# Installing sshpass on osx sierra, el capitan ... | |
curl -O -L http://downloads.sourceforge.net/project/sshpass/sshpass/1.06/sshpass-1.06.tar.gz && tar xvzf sshpass-1.06.tar.gz | |
cd sshpass-1.06 | |
./configure | |
sudo make install | |
cd .. | |
rm -rf sshpass-1.06 |
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/sh | |
# Installing ansible via homebrew on osx | |
brew install ansible | |
mkdir ~/ansible | |
touch ~/ansible/hosts | |
ln -s ~/ansible/hosts hosts | |
echo "export ANSIBLE_HOSTS=~/ansible/hosts" >> ~/.bash_profile | |
echo "Edit Ansiblehost-File in Homedirectory /ansible/hosts |
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 | |
echo "Before running this script be sure Xcode 8 or higher is installed and commandline-tools (xcode-select --install)" | |
# installing homebrew | |
if [ ! -f "`which brew`" ]; then | |
echo "Homebrew is not installed, installing now..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi |
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
rm -Rf /Applications/Android\ Studio.app | |
rm -Rf ~/Library/Preferences/AndroidStudio* | |
rm -Rf ~/Library/Preferences/com.google.android.* | |
rm -Rf ~/Library/Preferences/com.android.* | |
rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
rm -Rf ~/Library/Logs/AndroidStudio* | |
rm -Rf ~/Library/Caches/AndroidStudio* | |
rm -Rf ~/.AndroidStudio* | |
# deletes all projects |
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 | |
# find file its beeing block | |
find . -type f -name "e2f50*" | |
# fix permissons | |
chmod -R 755 ./.git/objects |
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
# If mod_headers module is included, we will disable the Server response header totally | |
<IfModule mod_headers.c> | |
Header unset Server | |
Header unset X-Powered-By | |
Header set Connection keep-alive | |
</IfModule> | |
#Security | |
<FilesMatch "\.htaccess|\.htpasswd|wp-config\.php|liesmich\.html|readme\.html|LICENSE|README\.md|bower\.json|package\.json"> | |
order deny,allow |
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/sh | |
echo "Diff Desktop" | |
diff --brief -Nr /Volumes/source/ /Volumes/destination/ |
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
[ip-blacklist] | |
enabled = true | |
banaction = iptables-allports | |
port = anyport | |
filter = ip-blacklist | |
logpath = /etc/fail2ban/ip.blacklist | |
maxretry = 0 | |
findtime = 15552000 | |
bantime = -1 |
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
[Definition] | |
# Option: failregex | |
# Notes : Detection of blocked ip addresses. | |
# Values: TEXT | |
# | |
failregex = ^<HOST> \[.*\]$ | |
# Option: ignoreregex |
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
1.36.59.75 [16/08/2017 12:00:00] | |
1.52.122.21 [16/08/2017 12:00:00] |
OlderNewer