Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
/ip firewall address-list add list=MStelemetry address=111.221.29.177 | |
/ip firewall address-list add list=MStelemetry address=111.221.29.253 | |
/ip firewall address-list add list=MStelemetry address=131.253.40.37 | |
/ip firewall address-list add list=MStelemetry address=134.170.30.202 | |
/ip firewall address-list add list=MStelemetry address=134.170.115.60 | |
/ip firewall address-list add list=MStelemetry address=134.170.165.248 | |
/ip firewall address-list add list=MStelemetry address=134.170.165.253 | |
/ip firewall address-list add list=MStelemetry address=134.170.185.70 | |
/ip firewall address-list add list=MStelemetry address=137.116.81.24 | |
/ip firewall address-list add list=MStelemetry address=137.117.235.16 |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
import javax.swing.JOptionPane; | |
public class UsingSwingClass { | |
/** | |
* Implementinng the input dialog box and show message | |
*+box | |
* Something to check on the showMessage dialog box | |
* JOption.PLAIN_MESSAGE is the one without any icon | |
*/ | |
public static void main(String[] args) { |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
# <SRCUSER> <SRCPW> <DSTUSER> <DSTPW> |
rsync (Everyone seems to like -z, but it is much slower for me)
<# | |
Create Unix VM's. | |
PREREQUISITES: | |
- A VM that has been installed with an OS that supports cloud-init | |
- cloud-init is installed on the vm | |
How it works: | |
- Asks for a bunch of parameters | |
- Creates a disk from parent vhdx for speed |
# ilsap - Intellij License Server Active Proxy | |
# | |
# Since Jetbrains started to blacklist license servers by hostname, it's being a pain in the ass | |
# to find a working one. So this is an active proxy for Intellij license servers, that masks | |
# a license server into your localhost. Just create a startup script to call ilsap, | |
# configure your IDE to activate from the localhost and YOLO! | |
# | |
require "http/server" | |
require "http/client" |