I hereby claim:
- I am drewsonne on github.
- I am drewsonnejs (https://keybase.io/drewsonnejs) on keybase.
- I have a public key ASCXiFfVh1ffUUZKA4wHgFyRUmeoiKsO8C4Ncv2L1EJ-bgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def pages(): | |
if response.get('next_page_token') is not None: | |
self.logger.debug('More than 20 results found, paging Dr. Token') | |
results = response['results'] | |
page_token = response['next_page_token'] | |
while page_token is not None: | |
try: | |
response = self.client.places_nearby(page_token=page_token) | |
except googlemaps.exceptions.ApiError as e: # Requesting page before it's available will trigger this exception so we wait | |
self.logger.debug(e) |
#!/bin/bash | |
TIME_SAMPLE=10 | |
MAX_SAMPLES=2 | |
STATSD_HOST=localhost | |
STATSD_PORT=8125 | |
STAT_PREFIX=mke.abortion |
drews@mbp: ~/Development/onelogin-aws-cli | |
$ onelogin-aws-daemon | |
2018-03-08 09:28:29 [debug ] initialise component=daemon-server host=127.0.0.1 port=53819 | |
2018-03-08 09:28:29 [info ] start address=http://127.0.0.1:53819 component=daemon-server host=127.0.0.1 name=1.0.0.127.in-addr.arpa port=53819 | |
2018-03-08 09:28:30 [info ] authentication action=check component=auth-process | |
2018-03-08 09:28:35 [info ] authentication action=check component=auth-process | |
2018-03-08 09:28:41 [info ] authentication action=check component=auth-process | |
2018-03-08 09:28:41 [info ] request component=request-handler message="GET / HTTP/1.1" 200 - | |
2018-03-08 09:28:46 [info ] authentication action=check component=auth-process | |
2018-03-08 09:28:52 [info ] authentication action=check component=auth-process |
$ source ~/.virtualenvs/python-inquirer/bin/activate | |
(python-inquirer) drews@mbp: ~/Development/python-inquirer | |
$ py.test | |
========================================================= test session starts ========================================================= | |
platform darwin -- Python 3.5.4, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 | |
rootdir: /Users/drews/Dropbox/Development/python-inquirer, inifile: setup.cfg | |
plugins: xdist-1.22.0, forked-0.2, cov-2.5.1 | |
collected 96 items | |
tests/acceptance/test_checkbox.py .FFFFFF. [ 8%] |
==> Checking that code complies with gofmt requirements... | |
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -run=TestAccVirtualRepository_full -timeout 120m | |
? github.com/webdevwilson/terraform-provider-artifactory [no test files] | |
=== RUN TestAccVirtualRepository_full | |
2017/11/26 19:55:47.369202 [DEBUG] Test: Executing step 0 | |
2017/11/26 19:55:47.370829 [DEBUG] New state was assigned lineage "7af225df-1277-4506-bf8e-f5c836963a46" | |
2017/11/26 19:55:47.371035 [INFO] terraform: building graph: GraphTypeValidate | |
2017/11/26 19:55:47.371378 [DEBUG] Resource state not found for "artifactory_remote_repository.npm_public": artifactory_remote_repository.npm_public | |
2017/11/26 19:55:47.371500 [DEBUG] Resource state not found for "artifactory_local_repository.npm_private": artifactory_local_repository.npm_private | |
2017/11/26 19:55:47.371564 [DEBUG] Resource state not found for "artifactory_virtual_repository.npm": artifactory_virtual_repository.npm |
#!/usr/bin/env bash | |
docker run -d -p8153:8153 -p8154:8154 gocd/gocd-server:v17.10.0 | |
ENDPOINT="http://127.0.0.1:8153/go/api/admin/config.xml" | |
function get_status { | |
curl -H 'Accept: application/vnd.go.cd.v3+json' \ | |
--write-out %{http_code} \ | |
--silent \ | |
--output /dev/null \ |
{ | |
"pipeline": { | |
"group": "", | |
"_links": { | |
"self": { | |
"href": "http://127.0.0.1:8153/go/api/admin/pipelines/test-pipeline3" | |
}, | |
"doc": { | |
"href": "https://api.gocd.org/#pipeline-config" | |
}, |
* gocd_pipeline_stage.test: Received HTTP Status '422 Unprocessable Entity': '{ | |
"message": "Validations failed for pipeline 'test-pipeline3'. Error(s): [Validation failed.]. Please correct and resubmit.", | |
"data": { | |
"_links": { | |
"self": { | |
"href": "http://127.0.0.1:8153/go/api/admin/pipelines/test-pipeline3" | |
}, | |
"doc": { | |
"href": "https://api.gocd.org/#pipeline-config" | |
}, |
#! /usr/bin/env bash | |
# Installation: | |
# brew tap drewsonne/tap | |
# brew install tf-install-provider | |
# | |
# Usage: | |
# Make sure your provider is in your $PATH sommewhere already | |
# Run `tf-install-provider <provider-stub>` | |
# |