- GitHub Staff
- https://www.peterbe.com
- @peterbe
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
This file contains 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
"context_href","count_" | |
"https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api#basic-authentication","730" | |
"https://docs.github.com/fr/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","219" | |
"https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting","178" | |
"https://docs.github.com/pt/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","178" | |
"https://docs.github.com/ja/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","175" | |
"https://docs.github.com/de/copilot/using-github-copilot/getting-started-with-github-copilot?tool=vscode#prerequisites-2","117" | |
"https://docs.github.com/en/enterprise-cloud@latest/admin/identity-and-access-management/understanding-iam-for-enterprises/about-enterprise-managed-users#authenticating-as-a-managed-user","105" | |
"https://docs.github.com/en/actions/using-workflows/events-that-trigger |
This file contains 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 | |
set -ex | |
# 1 | |
pushd docs-internal.de-de | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd |
This file contains 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
/* Orange color for light color scheme (Default) */ | |
/* Can be forced with data-theme="light" */ | |
[data-theme=light], | |
:root:not([data-theme=dark]) { | |
--pico-text-selection-color: rgba(244, 93, 44, 0.25); | |
--pico-primary: #bd3c13; | |
--pico-primary-background: #d24317; | |
--pico-primary-underline: rgba(189, 60, 19, 0.5); | |
--pico-primary-hover: #942d0d; | |
--pico-primary-hover-background: #bd3c13; |
This file contains 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 python | |
import subprocess | |
def main(*args): | |
if not args: | |
requirements_in = "requirements.in" | |
else: | |
requirements_in = args[0] |
This file contains 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
❯ pyenv install 3.12 | |
python-build: use openssl@3 from homebrew | |
python-build: use readline from homebrew | |
Installing Python-3.12.1... | |
python-build: use tcl-tk from homebrew | |
python-build: use readline from homebrew | |
python-build: use ncurses from homebrew | |
python-build: use zlib from xcode sdk | |
BUILD FAILED (OS X 14.3 using python-build 2.3.35-11-g9908daf8) |
This file contains 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
class TestClass | |
def self.some_method | |
puts "A class method" | |
new.some_method | |
end | |
def some_method | |
puts "My instance method" | |
end |
This file contains 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
class TestClass | |
def self.some_other_method | |
puts "Hi" | |
end | |
def my_instance_method | |
puts "My instance method" | |
end | |
# Also possible and convenient when you |
This file contains 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
{ | |
"content/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-azure.md": [ | |
{ | |
"href": "https://azure.microsoft.com", | |
"url": "/en/enterprise-server@3.11/admin/installation/setting-up-a-github-enterprise-server-instance/installing-github-enterprise-server-on-azure", | |
"text": "Microsoft Azure website", | |
"flaw": { | |
"CRITICAL": "Broken external link ({\"requestError\":\"Timeout awaiting 'request' for 10000ms\"})", | |
"isExternal": true | |
} |
This file contains 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
import { renderUnified } from './src/content-render/unified/index.js' | |
const template = | |
// '<div class="ghd-tool jetbrains">\n' + | |
'GitHub Copilot Chat is currently in beta, and is subject to change.\n' + | |
'<br><br>\n' + | |
// '</div>\n' + | |
'All users with a GitHub Copilot Individual subscription can access the GitHub Copilot Chat beta in Visual Studio Code and Visual Studio.\n' + | |
'<br><br>\n' + | |
'Owners of organizations with a Copilot Business subscription can decide whether to grant access to the GitHub Copilot Chat beta for Visual Studio and VS Code.\n' + |
This file contains 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
import { RequestError } from '@octokit/request-error' | |
import Github from './src/workflows/github.js' | |
const github = Github() | |
// https://docs.github.com/rest/reference/git#list-matching-references | |
export async function listMatchingRefs(owner, repo, ref) { | |
try { | |
// if the ref is found, this returns an array of objects; | |
// if the ref is not found, this returns an empty array | |
const { data } = await github.git.listMatchingRefs({ |
NewerOlder