once you have done the initial install of Ubuntu 16.04, Connect to the machine over ssh. then run the following commands. this will install all required dependencies. you will be prompted to set the root password for the Mysql database.
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
diskpart | |
select disk 3 | |
clean | |
create partition primary size=300 | |
format quick fs=ntfs label="System" | |
assign letter="s" | |
active | |
create partition primary | |
format quick fs=ntfs label="Windows" | |
assign letter="w" |
Managing your Mincraft server with docker is a little bit nicer than just using the old "screen -r Mincraft" trick. docker can do snaphoting and auto restarting, and will allow you to think of the Mincraft server as a service, not just a java file that is being executed. Heres how I built mine. You should not have to edit the docker files. Just make sure you replace minecraft jar file version inside the code blocks when specified.
obviosly the only difference if your not using Ubuntu is the installation of java and the installation of docker
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
# You Should be able to Copy and Paste this into a powershell terminal and it should just work. | |
# To end the loop you have to kill the powershell terminal. ctrl-c wont work :/ | |
# Http Server | |
$http = [System.Net.HttpListener]::new() | |
# Hostname and port to listen on | |
$http.Prefixes.Add("http://localhost:8080/") |
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
/* | |
NAME: AeriesMonthlyAttendanceReport | |
AUTH: Jacob Ochoa | |
DATE: 2018-11-15 12:02:14.497 | |
VERSION: 0.2.1 | |
DESCRIPTION: | |
This is a reverse engineered collection of calculated columns often | |
used in Aeries Attendance Reports. This Query can be used as a basis | |
for creating sql reports that are grouped similarly to some of aeries |
use curl credentials
replace with your info.
printf "machine <server>\nlogin <username>\npassword <password>\n" > ~/_netrc
example:
printf "machine github.com\nlogin foo\npassword bar\n" > ~/_netrc
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
# Our Custom Logic | |
$CustomErrorAction = { | |
param( | |
$TheError | |
) | |
# some custom logic | |
write-host $TheError -ForegroundColor 'red' | |
} | |
# A Contrived Function |
OlderNewer