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 "How many pages of images you would like?" | |
### Sets threshold for loop ### | |
read max_pages | |
echo "At what resolution would you like them." | |
echo "1] 1920x1080" | |
echo "2] 3840x2160" |
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
Don't worry, be happy, and turn it off and on again |
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
#!/usr/bin/env ruby | |
require 'mechanize' | |
require 'json' | |
### You need to insert a valid key here. | |
key = "" | |
@agent = Mechanize.new() |
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 | |
# | |
# https://github.com/Nyr/openvpn-install | |
# | |
# Copyright (c) 2013 Nyr. Released under the MIT License. | |
# Detect Debian users running the script with "sh" instead of bash | |
if readlink /proc/$$/exe | grep -q "dash"; then | |
echo "This script needs to be run with bash, not 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
#!/bin/bash | |
# | |
# https://github.com/Nyr/openvpn-install | |
# | |
# Copyright (c) 2013 Nyr. Released under the MIT License. | |
# Detect Debian users running the script with "sh" instead of bash | |
if readlink /proc/$$/exe | grep -q "dash"; then | |
echo "This script needs to be run with bash, not 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
"question":"Do you currently employ or work with an organization that manages your IT Security?", | |
"options": [ | |
{ | |
"class":"btn-danger", | |
"value":"No", | |
"score":-10 | |
}, | |
{ | |
"class":"btn-primary", | |
"value":"We contract a company", |
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 | |
### Usage: chmod +x easy-wordpress.sh && ./easy-wordpress.sh yourapp.yourdomain.com | |
NAME="wordpress" | |
DOMAIN="$1" | |
SUBDOMAIN="www" | |
WWW="$SUBDOMAIN.$DOMAIN" | |
DB="_db" | |
DB_NAME="$NAME$DB" |
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
apt-get update | |
apt-get -y upgrade | |
apt-get -y install openvpn mkisofs | |
mkdir -p /home/op/.ssh | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbix5Qn5zjtJubC+6wJSxve1h3P2NENY7G8/AakpPdXe0GYU9uewCmYBOaLN9ialJS/AidDbd8BnxZEpfYgI++nj9k7F/dd59/kEVX5ZzjFgsgpSgHToiSYhXSLDps/szRxtUSSEJ2RFnQia/A8/WarMEYy/PIlwsCrYjMMeffG9KxzbbjcvUQ83VXocD2U7N5oXVxrg0gSfMVMy4N28fdPRU4qfNcyc6ka5QIira3hTn+jv5ZvDNoSPDrHraq8dWKTEwTF0EofYkykhGk6wO9MnMVPkRAKZqkCRyudv/u1j4DwisfuYL3Z4VK9zlowFf6BSUp8YMi4QllCCeDdyyT pry@Ghost3" >> /home/op/.ssh/authorized_keys | |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6iJbV57PHnk+kPfoBEnUWtUXfxft3oPUU75q/eraT4bMi4Xj4ScQcjqRIUHL5XTesB+mG6yzmlrp14+ZPslFqsi+2zcU/UdibErcwcCOcq+t+EOUDnCYsvAqm9VUUcdaHHGdkqPkm8NJaEYx/Wk6FmztHfD/RG99vWrHohzZicCCSfjZBjWkSQypklHBqrnVp6TjQUFCzOkdgb64a2c0AscBBi0Rw/iv+xsXi2nHJe7ZpiuktkIhmeH0zxW5/cSFtBY14AX0+jRYqTMPVsmtx5NkyMSbYJ66rp4IWbULHJOXhfEeEzQLIerNYQc88ECv5mmEutBhIuFxPn/zdlEA5 op@mission" >> /home/op/.ssh/authorized_keys | |
git clone https://github.com/Tomas-M/linux-live |
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
using System; | |
using System.Text; | |
using System.IO; | |
using System.Diagnostics; | |
using System.ComponentModel; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Sockets; | |
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
#!/usr/bin/env ruby | |
names = File.open("names.txt").read.split("\n") | |
emails_who_fell = [] | |
names[1..-1].each do |firstlast| | |
first = firstlast.split(" ")[0] | |
last = firstlast.split(" ")[1] | |
email = "#{first.downcase}.#{last.downcase}@gmail.com" | |
emails_who_fell.push(email) | |
end |