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
#!/bin/bash | |
# This is a script designed to setup a development workstation on Google Cloud | |
# The underling VM is not designed to be a development environment, but rather | |
# focuses on filesystem, HTTP routing and docker features. Development environments | |
# can be managed by a developer by using the devcontainer feature of VS Code via | |
# devcontainer inside remote connection. | |
# Here is a sample VM configuration what will work: | |
# - Machiene Type: e2-highcpu-4 |
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
from datetime import datetime, timedelta, date | |
import math | |
import sys | |
import time | |
class NrDrClock(object): | |
def __init__(self, from_time): |
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
[buildout] | |
parts = pycairo | |
[pycairo-buildpy] | |
recipe = zc.recipe.egg | |
eggs = | |
interpreter = pycairo-buildpy | |
bin-dir=${buildout:directory}/bin | |
[pycairo] |
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
# upstart script to detect /context/context.sh and update HOSTNAME contained within | |
# place in /etc/init folder | |
# use at your own risk | |
description "Changes the hostname to HOSTNAME found in the OrionVM context file system" | |
start on filesystem or runlevel [2345] | |
script | |
if [ -f /context/context.sh ]; then |
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
[buildout] | |
parts = | |
perl | |
perl-modules-install | |
[perl] | |
recipe = hexagonit.recipe.cmmi | |
url = http://www.cpan.org/src/perl-5.12.3.tar.gz | |
configure-command = |