In a terminal start a server.
$ python -m SimpleHTTPServer 8000
In another terminal set up the cgroups freezer.
In a terminal start a server.
$ python -m SimpleHTTPServer 8000
In another terminal set up the cgroups freezer.
# Description: Boxstarter Script | |
# Author: Jess Frazelle <jess@linux.com> | |
# Last Updated: 2017-09-11 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# | |
# Run this boxstarter by calling the following from an **elevated** command-prompt: |
node { | |
try{ | |
notifyBuild('STARTED') | |
bitbucketStatusNotify(buildState: 'INPROGRESS') | |
ws("${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}/") { | |
withEnv(["GOPATH=${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"]) { | |
env.PATH="${GOPATH}/bin:$PATH" | |
stage('Checkout'){ |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
#!/bin/sh -e | |
# | |
# This file belongs in /usr/lib/dhcpcd5/dhcpcd how you get it there is up to you | |
# | |
DHCPCD=/sbin/dhcpcd | |
INTERFACES=/etc/network/interfaces | |
REGEX="^[[:space:]]*iface[[:space:]](*.*)[[:space:]]*inet[[:space:]]*(dhcp|static)" | |
EXCLUDES="" |
function upload(file) { | |
var imageLink =""; | |
/* Is the file an image? */ | |
if (!file || !file.type.match(/image.*/)) return; | |
var fd = new FormData(); | |
fd.append("image", file); // Append the file | |
fd.append("key", "<Imgur API key>"); |
<?php | |
function curry($f, $argument) | |
{ | |
return function (...$arguments) use ($f, $argument) { | |
return $f(...array_merge([$argument], $arguments)); | |
}; | |
} | |
function add(...$numbers) |
variable "region" {default = "us-west-2"} | |
variable "website_dns" {default = "swagger-ui.webblab.info"} | |
variable "r53_zone_id" {default = "Z1S59LUERGUH56"} | |
variable "swagger_ui_version" {default = "v2.2.5"} | |
provider "aws" { | |
region = "${var.region}" | |
} | |
resource "aws_s3_bucket" "main" { |