Skip to content

Instantly share code, notes, and snippets.

JT Archie jtarchie

Block or report user

Report or block jtarchie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jtarchie
jtarchie / howto.md
Last active Jan 15, 2019
How we use mkdocs?
View howto.md

Intro

Originally the docs were written wuith book-binder. It could not support a complex use case that was needed to embed multiple code snippets. This is when mkdocs was proposed as many other sites use it -- Azure and GCP.

The platform automation team has been using mkdocs to build our documentation and on Pivotal docs for our beta. This document is to explain the technical changes, not the product changes of the choice.

Customization

@jtarchie
jtarchie / product.yml
Last active Sep 26, 2018 — forked from calebwashburn/product.yml
Test for configuration change
View product.yml
product-properties:
.properties.push_apps_manager_nav_links:
value:
- href: /marketplace
name: Marketplace
- href: https://docs.pivotal.io/pivotalcf/2-1/pas/intro.html
name: Docs
- href: /tools
name: Tools
View pacer.md

Hi!

You've expressed interest in being a pacer/crew. That's great! It would be awesome to have you there.

First off, what is a pacer/crew?

The pacer(s) helps the runner by running with them. The crew helps a runner by meeting them at aid stations for moral support.

I've done both of these duties for friends. The takeaway from the experience is exhausting and motivational. It is why I've decided to revisit the 100-miler experience.

View pacer.md

Hi!

You've expressed interest in being a pacer/crew. That's great! It would be awesome to have you there.

First off, what is a pacer/crew?

The pacer(s) helps the runner by running with them. The crew helps a runner by meeting them at aid stations for moral support.

I've done both of these duties for friends. The takeaway from the experience is exhausting and motivational. It is why I've decided to revisit the 100-miler experience.

View keybase.md

Keybase proof

I hereby claim:

  • I am jtarchie on github.
  • I am jtarchie (https://keybase.io/jtarchie) on keybase.
  • I have a public key ASBweLkiDXMDPc0AQOqTRY9sYjSvXoZ2wvvv0S0OT4k8kwo

To claim this, I am signing this object:

View concourse-lite.yml
cloud_provider:
mbus: https://mbus:kj4b649jspfg7duyxa9p@192.168.100.4:6868
properties:
agent:
mbus: https://mbus:kj4b649jspfg7duyxa9p@0.0.0.0:6868
blobstore:
path: /var/vcap/micro_bosh/data/cache
provider: local
ntp:
- time1.google.com
View flatten.sql
WITH build_events AS
(SELECT *,
payload::json#>>'{origin,source}' AS origin_source,
payload::json->'payload' AS origin_payload,
payload::json#>>'{origin,id}' AS origin_id
FROM pipeline_build_events_5
WHERE build_id = 98909
AND TYPE = 'log'
ORDER BY event_id),
ordered_build_events AS
View tests.diff
diff --git a/tests/out_test.go b/tests/out_test.go
index 6d786a9..674e0ba 100644
--- a/tests/out_test.go
+++ b/tests/out_test.go
@@ -3,35 +3,34 @@ package docker_image_resource_test
import (
"os/exec"
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
View task.yml
platform: linux
image_resource:
type: docker-image
source: { repository: busybox }
outputs:
- {name: output-1, path: output-1-src/}
- {name: output-2, path: output-2-src/}
run:
path: sh
args:
@jtarchie
jtarchie / test.sh
Last active Jul 6, 2017
bosh int does not support multiline single vars
View test.sh
cat <<EOL > multi-line
A
B
C
D
EOL
cat <<EOL > test.yml
value: ((value))
EOL
You can’t perform that action at this time.