- [1] https://snapcraft.io/docs/
- [2] https://docs.ubuntu.com/core/en
- [3] https://snapcraft.io/docs/reference/plugins/
- [4] https://snapcraft.io/docs/build-snaps/parts
- [5] https://build.snapcraft.io
- [6] https://docs.ubuntu.com/core/en/guides/build-device/config-hooks#supported-hooks
- [7] https://snapcraft.io/docs/core/interfaces
- [8] https://snapcraft.io/docs/reference/confinement
- [9] https://docs.ubuntu.com/core/en/guides/build-device/board-enablement#the-kernel-snap
- [10] https://mender.io
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
| #!/bin/bash | |
| """:" | |
| exec /usr/bin/env python3 $0 | |
| ":""" | |
| # -*- coding: utf-8 -*- | |
| # <bitbar.title>CircleCI My Worfklows Check</bitbar.title> | |
| # <bitbar.version>v2.0</bitbar.version> | |
| # <bitbar.author>Donald Guy</bitbar.author> | |
| # <bitbar.author.github>donaldguy</bitbar.author.github> |
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
| #!/bin/bash | |
| #: features_failures_on_circle.sh [job number] [project name] | |
| #: | |
| #: Summarizes recorded CircleCI results for a (parallelized) cucumber suite, with | |
| #: a view towards debugging failures locally on macOS. | |
| #: | |
| #: BE ADVISED: running will overwrite your clipboard. You should consider a | |
| #: clipboard history. I like the one provided by Alfred PowerPack | |
| #: |
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
| #!/bin/bash | |
| # This script is intended to ensure an AKS worker pool is patched against CVE-2018-5390 aka SegmentSmack/FragmentSmack | |
| # by ensuring kernel is patched to version 4.15.0-1019 | |
| set -eu | |
| case ${1:-} in | |
| -h|--help|help|/?) | |
| echo "Usages:" | |
| echo " To determine unpatched machines and upgrade all (after prompt):" |
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
| -- Logs begin at Tue 2017-09-26 16:56:52 UTC, end at Tue 2017-09-26 16:57:35 UTC. -- | |
| Sep 26 16:57:12 minikube systemd[1]: Starting Localkube... | |
| Sep 26 16:57:12 minikube localkube[2936]: proto: duplicate proto type registered: google.protobuf.Any | |
| Sep 26 16:57:12 minikube localkube[2936]: proto: duplicate proto type registered: google.protobuf.Duration | |
| Sep 26 16:57:12 minikube localkube[2936]: proto: duplicate proto type registered: google.protobuf.Timestamp | |
| Sep 26 16:57:12 minikube localkube[2936]: listening for peers on http://localhost:2380 | |
| Sep 26 16:57:12 minikube localkube[2936]: listening for client requests on localhost:2379 | |
| Sep 26 16:57:12 minikube localkube[2936]: name = default | |
| Sep 26 16:57:12 minikube localkube[2936]: data dir = /var/lib/localkube/etcd | |
| Sep 26 16:57:12 minikube localkube[2936]: member dir = /var/lib/localkube/etcd/member |
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
| daemon off; | |
| worker_processes 2; | |
| pid /run/nginx.pid; | |
| worker_rlimit_nofile 31744; | |
| events { | |
| multi_accept on; | |
| worker_connections 16384; | |
| use epoll; |
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
| #build us a binary for https://github.com/bitly/oauth2_proxy/pull/277 | |
| FROM golang | |
| WORKDIR /go/src/github.com/bitly | |
| RUN git clone https://github.com/kindlyops/oauth2_proxy.git | |
| WORKDIR /go/src/github.com/bitly/oauth2_proxy | |
| RUN git checkout github-teams-tweaks | |
| RUN go get | |
| # include patch from https://github.com/bitly/oauth2_proxy/pull/295 | |
| RUN curl https://github.com/donaldguy/oauth2_proxy/commit/8965e6b58a3afd8ad9f0f326f91b25253c88d523.patch | git apply --apply - | |
| RUN go build |
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
| {{ if .FromScratch }} | |
| FROM ubuntu:trusty | |
| {{ else }} | |
| FROM your/cookbook:latest | |
| {{ end }} | |
| # use chefdk from host | |
| MOUNT /opt/chefdk:/opt/chefdk | |
| # use ssh environment from host | |
| MOUNT {{ .Env.HOME }}/.ssh/known_hosts:/root/.ssh/known_hosts |
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 ruby | |
| #encoding utf-8 | |
| require 'logger' | |
| require 'net/http' | |
| require 'socket' | |
| require 'json' | |
| ACCOUNT_KEY='' | |
| LOG_FILE = '/var/log/logentries_tokenizer.log' | |
| UDP_HOST = '127.0.0.1' |
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
| [~/code/third/puppet-zookeeper]$ ./script/cibuild ✭ git:master ruby:system | |
| Fetching gem metadata from https://rubygems.org/......... | |
| Fetching additional metadata from https://rubygems.org/.. | |
| Resolving dependencies... | |
| Installing CFPropertyList (2.2.8) | |
| Installing addressable (2.3.6) | |
| Installing rake (10.4.2) | |
| Installing ansi (1.4.3) | |
| Installing highline (1.6.21) | |
| Installing json_pure (1.8.1) |