diff --git a/.docker copy/.token_seed b/.docker copy/.token_seed new file mode 100644 index 000000000..d934a9dd6 --- /dev/null +++ b/.docker copy/.token_seed @@ -0,0 +1,5 @@ +{ + "registry-1.docker.io": { + "Seed": "p7gbie6TKUMet03RZJwXKQ==" + } +} \ No newline at end of file diff --git a/.docker copy/.token_seed.lock b/.docker copy/.token_seed.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker copy/buildx/.buildNodeID b/.docker copy/buildx/.buildNodeID new file mode 100644 index 000000000..70612622d --- /dev/null +++ b/.docker copy/buildx/.buildNodeID @@ -0,0 +1 @@ +84103e0977cf4a67 \ No newline at end of file diff --git a/.docker copy/buildx/.lock b/.docker copy/buildx/.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker copy/buildx/activity/default b/.docker copy/buildx/activity/default new file mode 100644 index 000000000..6451467c3 --- /dev/null +++ b/.docker copy/buildx/activity/default @@ -0,0 +1 @@ +2024-02-19T13:55:11Z \ No newline at end of file diff --git a/.docker copy/buildx/current b/.docker copy/buildx/current new file mode 100644 index 000000000..76bc956c2 --- /dev/null +++ b/.docker copy/buildx/current @@ -0,0 +1 @@ +{"Key":"npipe:////./pipe/docker_engine","Name":"","Global":false} \ No newline at end of file diff --git a/.docker copy/config.json b/.docker copy/config.json new file mode 100644 index 000000000..d494bcc2e --- /dev/null +++ b/.docker copy/config.json @@ -0,0 +1,12 @@ +{ + "auths": { + "https://index.docker.io/v1/": {} + }, + "credsStore": "desktop", + "currentContext": "default", + "plugins": { + "-x-cli-hints": { + "enabled": "true" + } + } +} \ No newline at end of file diff --git a/.docker copy/daemon.json b/.docker copy/daemon.json new file mode 100644 index 000000000..755e228de --- /dev/null +++ b/.docker copy/daemon.json @@ -0,0 +1,9 @@ +{ + "builder": { + "gc": { + "defaultKeepStorage": "20GB", + "enabled": true + } + }, + "experimental": false +} \ No newline at end of file diff --git a/.docker copy/desktop-build/.lastaccess b/.docker copy/desktop-build/.lastaccess new file mode 100644 index 000000000..46aa12ea3 --- /dev/null +++ b/.docker copy/desktop-build/.lastaccess @@ -0,0 +1 @@ +2024-02-17T22:37:11Z \ No newline at end of file diff --git a/.docker copy/desktop-build/.lock b/.docker copy/desktop-build/.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker copy/devenvironments/data.json b/.docker copy/devenvironments/data.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/.docker copy/devenvironments/data.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.docker copy/npm-install b/.docker copy/npm-install new file mode 160000 index 000000000..237ded403 --- /dev/null +++ b/.docker copy/npm-install @@ -0,0 +1 @@ +Subproject commit 237ded403e6012a48281f4572eab0c8eafe55b3f diff --git a/.docker/.docker/.token_seed b/.docker/.docker/.token_seed new file mode 100644 index 000000000..d934a9dd6 --- /dev/null +++ b/.docker/.docker/.token_seed @@ -0,0 +1,5 @@ +{ + "registry-1.docker.io": { + "Seed": "p7gbie6TKUMet03RZJwXKQ==" + } +} \ No newline at end of file diff --git a/.docker/.docker/.token_seed.lock b/.docker/.docker/.token_seed.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker/.docker/buildx/.buildNodeID b/.docker/.docker/buildx/.buildNodeID new file mode 100644 index 000000000..70612622d --- /dev/null +++ b/.docker/.docker/buildx/.buildNodeID @@ -0,0 +1 @@ +84103e0977cf4a67 \ No newline at end of file diff --git a/.docker/.docker/buildx/.lock b/.docker/.docker/buildx/.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker/.docker/buildx/activity/default b/.docker/.docker/buildx/activity/default new file mode 100644 index 000000000..6451467c3 --- /dev/null +++ b/.docker/.docker/buildx/activity/default @@ -0,0 +1 @@ +2024-02-19T13:55:11Z \ No newline at end of file diff --git a/.docker/.docker/buildx/current b/.docker/.docker/buildx/current new file mode 100644 index 000000000..76bc956c2 --- /dev/null +++ b/.docker/.docker/buildx/current @@ -0,0 +1 @@ +{"Key":"npipe:////./pipe/docker_engine","Name":"","Global":false} \ No newline at end of file diff --git a/.docker/.docker/config.json b/.docker/.docker/config.json new file mode 100644 index 000000000..d494bcc2e --- /dev/null +++ b/.docker/.docker/config.json @@ -0,0 +1,12 @@ +{ + "auths": { + "https://index.docker.io/v1/": {} + }, + "credsStore": "desktop", + "currentContext": "default", + "plugins": { + "-x-cli-hints": { + "enabled": "true" + } + } +} \ No newline at end of file diff --git a/.docker/.docker/daemon.json b/.docker/.docker/daemon.json new file mode 100644 index 000000000..755e228de --- /dev/null +++ b/.docker/.docker/daemon.json @@ -0,0 +1,9 @@ +{ + "builder": { + "gc": { + "defaultKeepStorage": "20GB", + "enabled": true + } + }, + "experimental": false +} \ No newline at end of file diff --git a/.docker/.docker/desktop-build/.lastaccess b/.docker/.docker/desktop-build/.lastaccess new file mode 100644 index 000000000..46aa12ea3 --- /dev/null +++ b/.docker/.docker/desktop-build/.lastaccess @@ -0,0 +1 @@ +2024-02-17T22:37:11Z \ No newline at end of file diff --git a/.docker/.docker/desktop-build/.lock b/.docker/.docker/desktop-build/.lock new file mode 100644 index 000000000..e69de29bb diff --git a/.docker/.docker/devenvironments/data.json b/.docker/.docker/devenvironments/data.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/.docker/.docker/devenvironments/data.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/.docker/.docker/npm-install b/.docker/.docker/npm-install new file mode 160000 index 000000000..237ded403 --- /dev/null +++ b/.docker/.docker/npm-install @@ -0,0 +1 @@ +Subproject commit 237ded403e6012a48281f4572eab0c8eafe55b3f diff --git a/.github/workflows/docker-login-action.yml b/.github/workflows/docker-login-action.yml new file mode 100644 index 000000000..920dd0e01 --- /dev/null +++ b/.github/workflows/docker-login-action.yml @@ -0,0 +1,17 @@ +name: ci + +on: + push: + branches: main + +jobs: + login: + runs-on: ubuntu-latest + steps: + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} +``` \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 049bd0f3e..f2b852f99 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,4 +3,159 @@ "asciidoc.extensions.registerWorkspaceExtensions": true, "asciidoc.useWorkspaceRootAsBaseDirectory": true, "asciidoc.antora.enableAntoraSupport": true +} +{ + "workbench.editor.showIcons": true, + "workbench.startupEditor": "none", + "editor.fontSize": 12, + "editor.minimap.enabled": false, + "editor.mouseWheelZoom": true, + "editor.tabSize": 4, + "editor.renderWhitespace": "all", + "editor.insertSpaces": true, + "editor.rulers": [ + 140, 180 + ], + "editor.renderLineHighlight": "all", + "editor.renderIndentGuides": true, + "editor.selectionHighlight": true, + "window.zoomLevel": 0, + "powershell.integratedConsole.focusConsoleOnExecute": false, + "git.ignoreMissingGitWarning": true, + "files.trimTrailingWhitespace": true, + "powershell.powerShellExePath": "", + "vscodeWorkspaceSwitcher.paths": [ + "C:\\Users\\igewebs\\Documents\\Batch Scripts", + "C:\\webserver" + ], + "window.titleBarStyle": "custom", + "sync.askGistName": true, + "todo-tree.defaultHighlight": { + "foreground": "green", + "type": "none" + }, + "todo-tree.customHighlight": { + "TODO": {}, + "FIXME": {} + }, + "cSpell.userWords": [ + "apple", + "icon", + "logo", + "msapplication", + "mstile", + "precomposed", + "square", + "touch", + "x" + ], + "workbench.editor.highlightModifiedTabs": true, + "insertDateString.format": "YYYY-MM-DD HH:mm:ssA", + "insertDateString.formatTime": "HH:mm:ssA", + "textmarker.savedHighlights": [ + { + "pattern": { + "type": "string", + "expression": "\"d\"", + "ignoreCase": false, + "wholeMatch": false + }, + "color": "darkgoldenrod" + }, + { + "pattern": { + "type": "string", + "expression": "\"n\"", + "ignoreCase": false, + "wholeMatch": false + }, + "color": "darkmagenta" + }, + { + "pattern": { + "type": "string", + "expression": "\"c\"", + "ignoreCase": false, + "wholeMatch": false + }, + "color": "darkolivegreen" + }, + { + "pattern": { + "type": "string", + "expression": "\"s\"", + "ignoreCase": false, + "wholeMatch": false + }, + "color": "darkslateblue" + }, + { + "pattern": { + "type": "string", + "expression": "\"f\"", + "ignoreCase": false, + "wholeMatch": false + }, + "color": "darkslategray" + } + ], + "editor.fontLigatures": true, + "editor.quickSuggestionsDelay": 3000000, + "sync.gist": "1b81a58406632b329caa4807abceb896", + "workbench.statusBar.feedback.visible": false, + "terminal.integrated.rendererType": "dom", + "sync.forceUpload": true, + "editor.wordWrap": "on", + "todo-tree.highlights.customHighlight": { + "TODO": {}, + "FIXME": {} + }, + "todo-tree.highlights.defaultHighlight": { + "foreground": "green", + "type": "none" + }, + "cSpell.enabledLanguageIds": [ + "adblock", + "asciidoc", + "c", + "cpp", + "csharp", + "css", + "git-commit", + "go", + "handlebars", + "haskell", + "html", + "jade", + "java", + "javascript", + "javascriptreact", + "json", + "jsonc", + "latex", + "less", + "markdown", + "php", + "plaintext", + "pug", + "python", + "restructuredtext", + "rust", + "scala", + "scss", + "text", + "typescript", + "typescriptreact", + "yaml", + "yml" + ], + "git.enableSmartCommit": true, + "workbench.iconTheme": "vscode-icons", + "vsicons.dontShowNewVersionMessage": true, + "editor.defaultFormatter": "null", + "telemetry.enableTelemetry": false, + "telemetry.enableCrashReporter": false, + "editor.fontFamily": "Iosevka", + "markdown.preview.fontFamily": "Iosevka", + "debug.console.fontFamily": "Iosevka" } \ No newline at end of file diff --git a/.vscode/workspace/.code-workspace b/.vscode/workspace/.code-workspace new file mode 100644 index 000000000..fb3abb712 --- /dev/null +++ b/.vscode/workspace/.code-workspace @@ -0,0 +1,28 @@ +{ + "terminal.integrated.defaultProfile.windows": "WSL", + "terminal.integrated.profiles.windows": { + "PowerShell": { + "source": "PowerShell", + "icon": "terminal-powershell" + }, + "Command Prompt": { + "path": [ + "${env:windir}\\Sysnative\\cmd.exe", + "${env:windir}\\System32\\cmd.exe" + ], + "args": [], + "icon": "terminal-cmd" + }, + "Git Bash": { + "source": "Git Bash" + }, + "WSL": { + "path": [ + "C:\\WINDOWS\\System32\\wsl.exe" + ], + "args": [], + "icon": "terminal-ubuntu-wsl" + } + } + } + \ No newline at end of file diff --git a/.vscode/workspace/.code-workspace-pro b/.vscode/workspace/.code-workspace-pro new file mode 100644 index 000000000..3f9b712b7 --- /dev/null +++ b/.vscode/workspace/.code-workspace-pro @@ -0,0 +1,27 @@ +{ + "terminal.integrated.defaultProfile.windows": "WSL", + "terminal.integrated.profiles.windows": { + "PowerShell": { + "source": "PowerShell", + "icon": "terminal-powershell" + }, + "Command Prompt": { + "path": [ + "${env:windir}\\Sysnative\\cmd.exe", + "${env:windir}\\System32\\cmd.exe" + ], + "args": [], + "icon": "terminal-cmd" + }, + "Git Bash": { + "source": "Git Bash" + }, + "WSL": { + "path": [ + "C:\\WINDOWS\\System32\\wsl.exe" + ], + "args": [], + "icon": "terminal-ubuntu-wsl" + } + } +} diff --git a/README.md b/README.md index 4cb3e4e09..ff91e9e56 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -platform-samples -================ +config +====== -This is a public place for all sample projects related to the GitHub Platform. +This is a public place for all config projects related to the GitHub Platform. ## Hierarchy @@ -9,11 +9,11 @@ The directories are organized to correlate with guides found on developer.github But here it is, broken down: * _api_: here's a bunch of sample code relating to the GitHub API. Subdirectories in this -category are broken up by language. Do you have a language sample you'd like added? -Make a pull request and we'll consider it. + category are broken up by language. Do you have a language sample you'd like added? + Make a pull request and we'll consider it. * _graphql_: here's a bunch of sample GraphQL queries that can be run against our [GitHub GraphQL API](https://docs.github.com/graphql). * _hooks_: want to find out how to write a consumer for [our web hooks](https://docs.github.com/webhooks-and-events/webhooks/about-webhooks)? The examples in this subdirectory show you how. We are open for more contributions via pull requests. -* _microsoft-graph-api_: here's a bunch of sample [Microsoft Graph](https://learn.microsoft.com/en-us/graph/use-the-api) commands related to integrations for GitHub, such as EMU (Enterprise Managed User) OIDC authentication for Azure AD/Entra. +* _microsoft-graph-api_: here's a bunch of sample [Microsoft Graph](https://learn.microsoft.com/en-us/graph/use-the-api) commands related to integrations for GitHub, such as EMU (Enterprise Managed User) OIDC authentication for Azure AD/Entra. * _pre-receive-hooks_: this one contains [pre-receive-hooks](https://docs.github.com/enterprise-server/admin/policies/enforcing-policy-with-pre-receive-hooks) that can block commits on GitHub Enterprise that do not fit your requirements. Do you have more great examples? Create a pull request and we will check it out. * _scripts_: want to analyze or clean-up your Git repository? The scripts in this subdirectory show you how. We are open for more contributions via pull requests. * _sql_: here are sql scripts for custom reporting for GitHub Enterprise Server. We are open for more contributions via pull requests. diff --git a/igewebs@84.247.143.39.url b/igewebs@84.247.143.39.url new file mode 100644 index 000000000..8c79de792 --- /dev/null +++ b/igewebs@84.247.143.39.url @@ -0,0 +1,5 @@ +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,0 +[InternetShortcut] +IDList= +URL=ssh://igewebs;IdentityFile=C%3a%5cUsers%5cigewe%5c.ssh%5cid_rsa@84.247.143.39/?conpty=True&buffer=True diff --git a/webServerApiSettings.json b/webServerApiSettings.json new file mode 100644 index 000000000..fffeaf69a --- /dev/null +++ b/webServerApiSettings.json @@ -0,0 +1,8 @@ +{ + "webServerPort": 8080, + "webSocketPort": 3000, + "FilesDirectory": "DesignTool", + "useTerminalOutputCapture": true, + "useTerminalOutputAnsiStrip": false, + "useTerminalOutputToHtml": true +} \ No newline at end of file