Skip to content

Instantly share code, notes, and snippets.

View lotharschulz's full-sized avatar
🎧
in flow

Lothar Schulz lotharschulz

🎧
in flow
View GitHub Profile
{
"query": "query ($org: String!, $repo: String!) {repository(owner: $org, name: $repo) { id isArchived } }",
"variables": {
"org": "[github user or org]",
"repo": "[repository]"
}
}
{
"query": "mutation UnArchiveRepository ($mutationId: String!, $repoID: String!) {unarchiveRepository(input:{clientMutationId:$mutationId, repositoryId:$repoID}) {repository { isArchived, description } } }",
"variables": {
"mutationId": "true",
"repoID": "[repo id]"
}
}
{
"query": "mutation ArchiveRepository ($mutationId: String!, $repoID: String!) {archiveRepository(input:{clientMutationId:$mutationId, repositoryId:$repoID}) {repository { isArchived, description } } }",
"variables": {
"mutationId": "true",
"repoID": "[repo id]"
}
}
mutation UnArchiveRepository {
unarchiveRepository(input:{clientMutationId:"true",repositoryId:"[insert ID]"}) {
repository {
isArchived,
description
}
}
}
mutation ArchiveRepository {
archiveRepository(input:{clientMutationId:"true",repositoryId:"[repositoryID]"}) {
repository {
isArchived,
description,
}
}
}
query FindRepoID($name: String!, $owner: String!) {
repository(owner: $owner, name: $name) {
id,
isArchived
}
}
@lotharschulz
lotharschulz / kotlin-null.md
Last active October 6, 2020 18:04
kotlin-null
@lotharschulz
lotharschulz / PublishingArtifactsWithAWSCodeartifactAndGitHubPackages.md
Last active August 15, 2024 16:12
How to publish software artifacts with AWS Codeartifact and GitHub Packages
@lotharschulz
lotharschulz / lotharschulz-hellogo:build.docker-cache–0.2.91 CVEs
Created October 5, 2018 20:40
lotharschulz/hellogo:build.docker-cache–0.2.91 CVEs identified with Clair and klar
╔════════╦══════════════════════════════╦═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
β•‘ CVE β•‘ Found in β•‘