!SLIDE
## Departments
Camptocamp has 3 departments:
~~~ENDLANG~~~
~~~LANG:fr~~~
## Départements
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| require 'csv' | |
| options = { | |
| :min_cm => 7, | |
| :min_snp => 700, | |
| :min_total_cm => 20, | |
| } |
| package main | |
| import ( | |
| "log" | |
| "github.com/raphink/narcissus" | |
| "honnef.co/go/augeas" | |
| ) | |
| type OVHConfig struct { |
!SLIDE
## Departments
Camptocamp has 3 departments:
~~~ENDLANG~~~
~~~LANG:fr~~~
## Départements
| data "aws_iam_policy_document" "terraboard" { | |
| statement { | |
| sid = "ReadOnly" | |
| actions = [ | |
| "s3:GetObject", | |
| "s3:ListBucket", | |
| "s3:ListBucketVersions", | |
| "s3:GetObjectVersion", |
| { | |
| name: "Allow nodes to delete their own certificates", | |
| match-request: { | |
| path: "^/puppet-ca/v1/certificate(_status|_request)?/([^/]+)$", | |
| type: regex, | |
| method: [delete] | |
| }, | |
| allow: "$2", | |
| sort-order: 500 | |
| } |
| FROM golang:1.9 as builder | |
| COPY main.go /tmp | |
| RUN cd /tmp && \ | |
| go get -d github.com/Sirupsen/logrus && \ | |
| CGO_ENABLED=0 GOOS=linux \ | |
| go build -a \ | |
| -installsuffix cgo -o entrypoint main.go | |
| # ~/.config/google-chrome-beta/NativeMessagingHosts/com.justwatch.gopass.json | |
| { | |
| "name": "com.justwatch.gopass", | |
| "description": "Gopass wrapper to search and return passwords", | |
| "path": "/home/raphink/bin/gopass_wrapper.sh", | |
| "type": "stdio", | |
| "allowed_origins": [ | |
| "chrome-extension://kkhfnlkhiapbiehimabddjbimfaijdhk/" | |
| ] | |
| } |
| docker run -d -p 8080:8080 \ | |
| -e AWS_REGION=<AWS_DEFAULT_REGION> \ | |
| -e AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> \ | |
| -e AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> \ | |
| -e AWS_BUCKET=<terraform-bucket> \ | |
| -e AWS_DYNAMODB_TABLE=<terraform-locks-table> \ | |
| -e DB_PASSWORD="mygreatpasswd" \ | |
| --link postgres:db \ | |
| camptocamp/terraboard:latest |
| # Pass with specific location | |
| _pass-perso() { | |
| PASSWORD_STORE_DIR=~/.password-store-perso/ _pass | |
| } | |
| complete -o filenames -o nospace -F _pass-perso pass-perso | |
| pass-perso() { | |
| PASSWORD_STORE_DIR=~/.password-store-perso/ pass "$@" | |
| } |
I hereby claim:
To claim this, I am signing this object: