sh install-docker.sh
- log out
- log back in
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 -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
echo "Database Name: " | |
read -e dbname | |
echo "Database User: " | |
read -e dbuser | |
echo "Database Password: " |
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
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
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
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27015 -tickrate 128 +exec server1.cfg -ip 10.0.1.150 | |
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27016 -tickrate 128 +exec server2.cfg -ip 10.0.1.150 | |
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27017 -tickrate 128 +exec server3.cfg -ip 10.0.1.150 | |
./srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_active +map de_dust2 -port 27018 -tickrate 128 +exec server4.cfg | |
./srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_active +map de_dust2 -port 27019 -tickrate 128 +exec server5.cfg |
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
;//Compact all PST files.au3 | |
;//Rick Upton, November 1, 2015 | |
;//http://www.rickupton.com | http://gb.rickupton.com | |
;// | |
;//This AutoIT script is a slightly modified version of code posted here: http://superuser.com/questions/836758/bulk-compaction-of-700gb-of-pst-files | |
;//The purpose of this code is to automatically compact all Outlook PST files on a Windows PC. | |
;// | |
;//Using a PowerShell script, open the Mail control panel and then run this script using the following two commands: | |
;//Show-ControlPanelItem Mail* | |
;//Start-Process "C:\Compact all PST files.au3" -Wait |
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
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface. | |
You can use the user and password that you use for the web interface. | |
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS. | |
You don't need to install it, just extract it or copy the files in "jre" folder. | |
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor. | |
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture. | |
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs. |
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
# WSB (Windows Server Backup) | |
############################################################################### | |
#### Script Prerequisites ##################################################### | |
############################################################################### | |
using namespace Microsoft.Windows.ServerBackup.Commands | |
Import-Module ServerManager |
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
Season | Episode | Title | Reason | |
---|---|---|---|---|
1 | 5 | The Enchiridion | A good intro to the series, plus introduces the important Enchiridion | |
1 | 2 | Trouble in Lumpy Space* | Introduces LSP (episode out of order) | |
1 | 3 | Prisoners of Love | Introduces Ice King and his obsession (episode out of order) | |
1 | 7 | Ricardio the Heart Guy | Finn and PB development, Sets a returning plot | |
1 | 8 | Business Time* | First mention of Ooo being post-apocalyptic | |
1 | 9 | My Two Favorite People | Intros the Jake and Lady Rainicorn plotline | |
1 | 10 | Memories of Boom Boom Mountain | A look at how Finn was adopted into Jake's Family | |
1 | 12 | Evicted! | Intros Marceline |
These notes from http://tedfelix.com/software/nut-network-ups-tools.html and https://zackreed.me/installing-nut-on-ubuntu/
- Install NUT
$ sudo apt-get install nut
- Identify UPS
$ lsusb
You may see something likeBus 006 Device 005: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS
- Update ups.conf
$ nano /etc/nut/ups.conf
Add to end of file for a USB connected UPS (e.g. CyberPower 1285 AVR)
I tested the setup on Debian Stretch (naive installation) and Jessie (LinuxGSM installation). The setup should work on Debian 8 (Jessie), Debian 9 (Stretch) and Ubuntu (16.04). However, If you're running on Windows or other non-debian based Linux OS (e.g. CentOS, openSUSE), this guide doesn't apply to you.
I'm hosting FFA warm-up and HvH(soon) servers in San Francisco, welcome to join by:
IPv4: 159.89.154.137
Ipv6: 2604:a880:2:d0::20ad:2001
OlderNewer