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
############################################################ | |
# Powershell script to install DevOps Vagrant Environment | |
# Downloads and installs Wget, Virtualbox, Vagrant, and github desktop OR Git | |
# Author: Joshua Haupt josh@hauptj.com Date: 7.11.2017 | |
############################################################ | |
##### Open IE ##### | |
# Open IE so the user can choose the recommended settings | |
# SOURCE: https://superuser.com/questions/529832/how-to-open-internet-explorer-for-the-desktop-from-command-line-in-windows-8 |
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
Take note of the times. | |
212.159.139.204 # lfd: 212.159.139.204 (GB/United Kingdom/host-212-159-139-204.static.as13285.net), 5 distributed sshd attacks on account [oracle] in the last 3600 secs - Mon Sep 4 01:40:03 2017 | |
221.232.143.219 # lfd: 221.232.143.219 (CN/China/219.143.232.221.broad.wh.hb.dynamic.163data.com.cn), 5 distributed sshd attacks on account [oracle] in the last 3600 secs - Mon Sep 4 01:40:04 2017 | |
213.32.69.137 # lfd: 213.32.69.137 (FR/France/137.ip-213-32-69.eu), 5 distributed sshd attacks on account [oracle] in the last 3600 secs - Thu Sep 14 06:41:45 2017 | |
110.45.145.187 # lfd: 110.45.145.187 (KR/Korea, Republic of/-), 5 distributed sshd attacks on account [oracle] in the last 3600 secs - Thu Sep 14 06:41:47 2017 | |
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 | |
# Simple shell script to install Vagrant with Virtualbox development environment on CentOS 7 / RHEL 7 | |
# Minimal version - no optional packages | |
set -e | |
# Any subsequent(*) commands which fail will cause the shell script to exit immediately | |
# Initial update | |
sudo yum update -y |
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
############################################################################### | |
# Copyright 2006-2017, Way to the Web Limited | |
# URL: http://www.configserver.com | |
# Email: sales@waytotheweb.com | |
############################################################################### | |
# The following IP addresses will be blocked in iptables | |
# One IP address per line | |
# CIDR addressing allowed with a quaded IP (e.g. 192.168.254.0/24) | |
# Only list IP addresses, not domain names (they will be ignored) | |
# |
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
public void printDog() { | |
System.out.println(""); | |
System.out.println(""); | |
System.out.println(""); | |
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"); | |
System.out.println(""); | |
System.out.println(""); | |
System.out.println(" /~~~~~~~~\\ _"); | |
System.out.println(" ##\\__/ @) ~~~~~~~~\\ \\ \\ ) )"); | |
System.out.println(" | /~~\\~~~~~ (( | \\"); |
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
############################################################ | |
# Powershell script to remove shit features bundled in Windows 10 | |
# Removes junk bundled with Windows 10 | |
# App list: https://www.howtogeek.com/224798/how-to-uninstall-windows-10s-built-in-apps-and-how-to-reinstall-them/ | |
# King shit: https://care.king.com/en/candy-crush-soda-saga/how-to-remove-candy-crush-soda-saga-from-windows-10-with-a-powershell-command | |
# Author: Joshua Haupt josh@hauptj.com Date: 19.12.2017 | |
############################################################ | |
##### Remove Awesome Features ##### |
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
############################################################ | |
# Powershell script to set date and time settings and update Windows | |
# Author: Joshua Haupt josh@hauptj.com Date: 22.12.2017 | |
############################################################ | |
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
############################################################ | |
# Powershell provision personal Windows 10 environment | |
# Installs browsers, dev tools, and entertainment | |
# Script 2 | |
# Author: Joshua Haupt josh@hauptj.com Date: 25.12.2017 | |
############################################################ | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install googlechrome -y |
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
############################################################ | |
# Powershell provision personal Windows 10 environment | |
# Installs Vagrant, Vagrant Manager, Packer and Windows Subsystem for Linux | |
# Script 3 | |
# Author: Joshua Haupt josh@hauptj.com Date: 25.12.2017 | |
############################################################ | |
##### Install Vagrant and Vagrant Manager ##### |
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
############################################################ | |
# Powershell provision container development environment | |
# Installs container utilities, | |
# Author: Joshua Haupt josh@hauptj.com Date: 31.12.2017 | |
############################################################ | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
choco install git -y |