Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just dontsnitchonme patch 1 #254

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .devcontainer/_config.yml
JustDontsnitchonme marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Site settings
title: Development containers
description: >
Development containers documentation and specification page.

# baseurl: / # the subpath of your site, e.g. /blog/
url: https://devcontainers.github.io # the base hostname & protocol for your site
git_address: https://github.com/devcontainers/devcontainers.github.io
git_edit_address: https://github.com/devcontainers/devcontainers.github.io/settings/pages/blob/gh-pages
theme_color: 2753E3

# Build settings
markdown: kramdown
highlighter: rouge

plugins:
- github-pages
- jemoji
- jekyll-feed


exclude:
- Gemfile
- Gemfile.lock
- .idea/
- .gitignore
- README.md
- resources

timezone: Europe/Zurich

defaults:
- scope:
path: _posts
type: posts
values:
layout: post
sectionid: guide

- scope:
path: _docs
type: docs
values:
layout: docs
sectionid: docs
seo:
type: "WebPage"

- scope:
path: _implementors
type: implementors
values:
layout: implementors
sectionid: implementors

collections:
docs:
permalink: /:collection/:path/
output: true
posts:
permalink: /guide/:title
output: true
implementors:
permalink: /:collection/:path/
output: true
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
}
5 changes: 5 additions & 0 deletions Create
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$key = new Cloudflare\API\Auth\APIKey('[email protected]', 'apiKey');
$adapter = new Cloudflare\API\Adapter\Guzzle($key);
$user = new Cloudflare\API\Endpoints\User($adapter);

echo $user->getUserID();
4 changes: 4 additions & 0 deletions Test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --request GET \
--url https://api.cloudflare.com/client/v4/accounts/account_id/devices/dex_tests \
--header 'Content-Type: application/json' \
--header 'X-Auth-Email: '