- Install docker-engine
- Download files Dockerfile and rpki-validator.conf in the server directory.
- Change user and password settings:
ui.kiosk.user=admin
ui.kiosk.pass=password
- Create docker image:
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/python | |
# -*- coding: utf-8 -*- | |
import re | |
import sys | |
import markdown | |
from markdown.extensions.codehilite import CodeHilite, CodeHiliteExtension, parse_hl_lines | |
CODE_WRAP = '<ac:structured-macro ac:name="code">%s<ac:plain-text-body><![CDATA[%s]]></ac:plain-text-body></ac:structured-macro>' |
# install requerements
sudo apt-get -y update
sudo apt-get -y install pkg-config libx11-dev libxfixes-dev libssl-dev libpam0g-dev libtool libjpeg-dev flex bison gettext autoconf libxml-parser-perl libfuse-dev xsltproc libxrandr-dev python-libxml2 nasm xserver-xorg-dev fuse
sudo apt-get -y install git
sudo apt-get -y install xfce4 xfce4-goodies tightvncserver xfonts-base xfonts-75dpi xfonts-100dpi
sudo apt-get -y install xrdp
sudo apt-get -y remove xrdp
cd /tmp
# build xrdp
package main
import (
"fmt"
)
func main() {
// slice of string
sl := []string{"one", "two"}
# python ./taskflow-example.py
call AllocateSubnet.execute(client=some_client)
call CreateSubnet.execute(client=new_client, subnet_id={'id': '111222333'})
call PrintSubnet.execute(client=some_client, subnet={'subnet': {'id': {'id': '111222333'}, 'name': 'test'}})
revert PrintSubnet task with kwargs={'subnet': {'subnet': {'id': {'id': '111222333'}, 'name': 'test'}}, 'result': None, 'flow_failures': {'__main__.ErrorTask': <taskflow.types.failure.Failure object at 0x7f07b4eac910>}}
revert CreateSubnet task with kwargs={'result': {'subnet': {'id': {'id': '111222333'}, 'name': 'test'}}, 'flow_failures': {'__main__.ErrorTask': <taskflow.types.failure.Failure object at 0x7f07b4eac910>}}
revert AllocateSubnet task with kwargs={'result': {'id': '111222333'}, 'flow_failures': {'__main__.ErrorTask': <taskflow.types.failure.Failure object at 0x7f07b4eac910>}}
Traceback (most recent call last):
File "./test-task-flow.py", line 61, in <module>
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/python | |
# -*- coding: utf-8 -*- | |
# Reference: https://github.com/frostschutz/SourceLib/blob/master/SourceRcon.py | |
# Converted to Python3 by Guillaume "Elektordi" Genty (Tested on 3.7) | |
#------------------------------------------------------------------------------ | |
# SourceRcon - Python class for executing commands on Source Dedicated Servers | |
# Copyright (c) 2010 Andreas Klauer <Andreas.Klauer@metamorpher.de> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy |
OlderNewer