One way is to follow the instructions at https://gist.github.com/chris-moreton/f523650c1863f0181e22e2020d0f2268
Create concourse-policy.hcl
path "concourse/*" {
policy = "read"
# A simple function that shows the changed files relative to the root, asks if you want to | |
# commit all the changes, and then commits and pushes with a given commit messasge. | |
# | |
# Usage gpush "This is a commit message" | |
function gpush() { | |
RETURN_CMD="cd $PWD" | |
while [ ! -d ".git" ] | |
do |
One way is to follow the instructions at https://gist.github.com/chris-moreton/f523650c1863f0181e22e2020d0f2268
Create concourse-policy.hcl
path "concourse/*" {
policy = "read"
Vagrant.configure("2") do |config| | |
config.vm.box = "netsensia/xenial64sscs" | |
config.vm.hostname = "myprecise.box" | |
config.vm.network :private_network, ip: "192.168.0.42" | |
config.ssh.username = "ubuntu" | |
config.ssh.password = "vagrant" | |
config.vm.network "forwarded_port", guest: 3000, host: 7001 | |
config.vm.network "forwarded_port", guest: 3451, host: 7002 |
package com.netsensia.directorzone; | |
import java.util.Base64; | |
import org.apache.http.Header; | |
import org.apache.http.HttpHost; | |
import org.apache.http.message.BasicHeader; | |
import org.elasticsearch.client.RestClient; | |
import org.elasticsearch.client.RestClientBuilder; | |
import org.elasticsearch.client.RestHighLevelClient; |
<?php | |
/*********************************************************** | |
Hacky script to increase the version of the latest tag | |
on the current branch and push the tag. Assumes a simple | |
SemVer tag of the format vx.x.x | |
************************************************************/ | |
$usage = 'Usage: php tag.php [major|minor|patch]' . PHP_EOL; | |
if (count($argv) != 2) { |
This is quick howto for installing vault on AWS Linux, mostly to remind myself. At the end of this tutorial, you'll have a working vault server, using s3 for the backend, self signed certificates for tls, and supervisord to ensure that the vault server is always running, and starts on reboot.
First things first, let's set up an s3 bucket to use as the storage backend for our s3 instance.
From the AWS Mangement Console, go to the S3 console.
Click on the Create Bucket
button
| P--k F---- | D--- S--- o- t-- M--- | | D---d B---- | R--e a-- F--- o- Z---- S--r-u-- | | Q---- | A N---- a- t-- O---- | | T-- B--t--s | S-r----- P-p---- L---l- H-a--s C--- B--d | | M---l--- | B-- o-t o- H--l | | F---t---- M-- | R--o--- | | N-r--n- | N------n- | | T-- C---h | L----- C--l--- | | T-- S--t-s | T-- Q---- I- D-a- | | O-s-- | D--------- M---- |
I would like to get all Captains to read through this. Any feedback would be welcome. This is not set in stone until Monday 14th November after we have heard some feedback. | |
As discussed in a Goals Wimbledon, Referees Meeting which took place on Friday 28th October. | |
Review of League Rules |
<?php | |
$packs = []; | |
$swaps = []; | |
const ATTEMPTS = 5000; | |
const CARDS_PER_PACK = 5; | |
const TOTAL_UNIQUE_STICKERS = 680; | |
const COST_PER_PACK = 50; | |
const COST_PER_MULTIPACK = 275; |
<?php | |
define('TORAN_SERVER', 'toran.local'); | |
$json = file_get_contents('composer.json'); | |
$obj = json_decode($json); | |
if (!property_exists($obj, 'repositories')) { | |
$obj->repositories = []; | |
} |