Installing kubeflow on localmachine is not a simple task. Documentation on the official website might be outdated. At the time of writing, the solutions suggested include miniKF and microk8s. The later sets up GPU passthrough effortlessly.
With heightening concern regarding the state of internet privacy (fuelled in part by the passing of the Investigatory Powers Act in the UK), I have set up a VPN server on the virtual server I have hosted with Mythic Beasts. This uses strongSwan and certificate-based IKEv2 authentication.
Assumptions:
- Debian Jessie server already set up and accessible via
debian.example.com
, a public IPv4 of203.0.113.1
and a public IPv6 of2001:db8::1
- Client username of
me
- Clients are running the latest versions of macOS and iOS (Sierra and 10 respectively at the time of writing)
- No need to support any other operating systems (although the setup is easily translated)
For automated deployment of a similar setup, albeit Ubuntu-based and using ansible for deployment, I recommend you take a look at Algo VPN. I used that project as a basis for my configuration.
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
# generated by Slic3r 1.2.9 on Sat Oct 15 09:22:30 2016 | |
[filament:PETG] | |
bed_temperature = 50 | |
bridge_fan_speed = 100 | |
cooling = 0 | |
disable_fan_first_layers = 3 | |
extrusion_multiplier = 1 | |
fan_always_on = 0 | |
fan_below_layer_time = 60 |
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
# generated by Slic3r 1.2.9 on Wed Jul 13 23:01:20 2016 | |
[filament:Black ABS] | |
bed_temperature = 106 | |
bridge_fan_speed = 100 | |
cooling = 0 | |
disable_fan_first_layers = 3 | |
extrusion_multiplier = 1 | |
fan_always_on = 0 | |
fan_below_layer_time = 60 |
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
[root@a59c35ad939a /]# yum install epel-release | |
Loaded plugins: fastestmirror | |
Setting up Install Process | |
Loading mirror speeds from cached hostfile | |
* base: ftp.riken.jp | |
* extras: ftp.riken.jp | |
* rpmforge: ftp.riken.jp | |
* updates: ftp.riken.jp | |
Resolving Dependencies | |
--> Running transaction check |
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
#!/usr/bin/env python | |
""" | |
moonphase.py - Calculate Lunar Phase | |
Author: Sean B. Palmer, inamidst.com | |
Cf. http://en.wikipedia.org/wiki/Lunar_phase#Lunar_phase_calculation | |
""" | |
import math, decimal, datetime | |
dec = decimal.Decimal |