- Launch Windows Server 2016 Core
- Install docker
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 | |
bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh) --dont-wait | |
apt-get update | |
apt-get install -y vim lsof default-jdk screen | |
[[ -d "/opt/minecraft" ]] || mkdir -p /opt/minecraft | |
wget -O /opt/minecraft/minecraft_server.jar "https://s3.amazonaws.com/Minecraft.Download/versions/1.12.1/minecraft_server.1.12.1.jar" |
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
sudo apt-get install -y openssh-server unzip | |
sudo adduser jason | |
sudo usermod -aG sudo jason | |
wget "https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip" | |
unzip ngrok-stable-linux-amd64.zip | |
./ngrok authtoken API_TOKEN | |
./ngrok tcp 22 |
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
class Jason | |
def say(x) | |
puts "Original definition of say... #{x}" | |
end | |
end | |
# expect(Jason).to receive(:say).with(...).and_return(...) | |
class Jason | |
alias_method :orig_say, :say | |
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
# yum remove iptables -y | |
Loaded plugins: fastestmirror | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package iptables.x86_64 0:1.4.21-16.el7 will be erased | |
--> Processing Dependency: iptables = 1.4.21-16.el7 for package: iptables-services-1.4.21-16.el7.x86_64 | |
--> Processing Dependency: libxtables.so.10()(64bit) for package: iproute-3.10.0-54.el7.x86_64 | |
--> Running transaction check | |
---> Package iproute.x86_64 0:3.10.0-54.el7 will be erased | |
--> Processing Dependency: iproute for package: dracut-network-033-359.el7.x86_64 |
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
# yum remove iptables -y | |
Loaded plugins: fastestmirror | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package iptables.x86_64 0:1.4.21-16.el7 will be erased | |
--> Processing Dependency: iptables = 1.4.21-16.el7 for package: iptables-services-1.4.21-16.el7.x86_64 | |
--> Processing Dependency: libxtables.so.10()(64bit) for package: iproute-3.10.0-54.el7.x86_64 | |
--> Running transaction check | |
---> Package iproute.x86_64 0:3.10.0-54.el7 will be erased | |
--> Processing Dependency: iproute for package: dracut-network-033-359.el7.x86_64 |
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
[jasonbarnett@el7 rugged]$ ldd rugged.so | |
linux-vdso.so.1 => (0x00007ffe6bff9000) | |
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fca258c8000) | |
libcurl.so.4 => /opt/chefdk/embedded/lib/libcurl.so.4 (0x00007fca2565b000) | |
libssh2.so.1 => /lib64/libssh2.so.1 (0x00007fca25431000) | |
libssl.so.1.0.0 => /opt/chefdk/embedded/lib/libssl.so.1.0.0 (0x00007fca251c5000) | |
libdl.so.2 => /lib64/libdl.so.2 (0x00007fca24fc1000) | |
libz.so.1 => /opt/chefdk/embedded/lib/libz.so.1 (0x00007fca24daa000) | |
libcrypto.so.1.0.0 => /opt/chefdk/embedded/lib/libcrypto.so.1.0.0 (0x00007fca248fc000) | |
libruby.so.2.4 => /opt/chefdk/embedded/lib/libruby.so.2.4 (0x00007fca243e5000) |
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
{:service_name=>"1394ohci", :display_name=>"1394 OHCI Compliant Host Controller", :service_type=>"kernel driver", :current_state=>"stopped", :controls_accepted=>[], :win32_exit_code=>1077, :service_specific_exit_code=>0, :check_point=>0, :wait_hint=>0, :binary_path_name=>"\\SystemRoot\\System32\\drivers\\1394ohci.sys", :start_type=>"demand start", :error_control=>"normal", :load_order_group=>"", :tag_id=>0, :start_name=>"", :dependencies=>[], :description=>"", :interactive=>false, :pid=>0, :service_flags=>0, :reset_period=>0, :reboot_message=>nil, :command=>nil, :num_actions=>0, :actions=>nil, :delayed_start=>0} | |
{:service_name=>"3ware", :display_name=>"3ware", :service_type=>"kernel driver", :current_state=>"stopped", :controls_accepted=>[], :win32_exit_code=>1077, :service_specific_exit_code=>0, :check_point=>0, :wait_hint=>0, :binary_path_name=>"\\SystemRoot\\System32\\drivers\\3ware.sys", :start_type=>"demand start", :error_control=>"normal", :load_order_group=>"SCSI miniport", :tag_id=>71, :start_name=>"" |
I hereby claim:
- I am jasonwbarnett on github.
- I am jasonwbarnett (https://keybase.io/jasonwbarnett) on keybase.
- I have a public key ASBh6rVEya9kI55IokyNozyCU8e6MhZDkRPm-M_dShuMYAo
To claim this, I am signing this object: