Skip to content

Instantly share code, notes, and snippets.

Avatar
💪
Maintaining @renovatebot

Jamie Magee JamieMagee

💪
Maintaining @renovatebot
View GitHub Profile
View output.json
This file has been truncated, but you can view the full file.
[
{
"name": "3fd",
"version": "2.6.3",
"port-version": 2,
"description": "C++ Framework For Fast Development",
"supports": "windows & !static & !arm64",
"dependencies": [
{
View dotnet-tags.sh
#!/usr/bin/env bash
set -euo pipefail
tags=$(curl --silent https://mcr.microsoft.com/v2/dotnet/sdk/tags/list | jq -r '.tags[] | select(index("7.0"))')
for tag in $tags
do
echo -ne "\033[K$tag\r"
response=$(curl --write-out '%{http_code}' --silent --output /dev/null https://mcr.microsoft.com/v2/dotnet/sdk/manifests/$tag)
if [[ $response == "404" ]]; then
View npm-install-angular-animations
$ npm install @angular/animations --verbose
npm verb cli [
npm verb cli '/usr/bin/node',
npm verb cli '/usr/sbin/npm',
npm verb cli 'install',
npm verb cli '@angular/animations',
npm verb cli '--verbose'
npm verb cli ]
npm info using npm@8.5.5
npm info using node@v18.3.0
@JamieMagee
JamieMagee / MyWebhookEventProcessor.1.cs
Last active Mar 4, 2022
Writing GitHub bots in .NET
View MyWebhookEventProcessor.1.cs
using Octokit.Webhooks;
using Octokit.Webhooks.Events;
using Octokit.Webhooks.Events.IssueComment;
public sealed class MyWebhookEventProcessor : WebhookEventProcessor
{
private readonly ILogger<MyWebhookEventProcessor> logger;
public MyWebhookEventProcessor(ILogger<MyWebhookEventProcessor> logger)
@JamieMagee
JamieMagee / config
Created Oct 5, 2021
Azure DevOps OpenSSH 8.8
View config
Host ssh.dev.azure.com
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
View Webhooks.cs
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.4.6.0 (Newtonsoft.Json v9.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
namespace Octokit.Webhooks
{
#pragma warning disable // Disable all warnings
@JamieMagee
JamieMagee / schema.log.txt
Last active Jul 29, 2021
github webhooks quicktype
View schema.log.txt
resolving # relative to schema.json# (schema.json#)
trying to fetch schema.json
successully fetched schema.json
resolved to # (schema.json#)
resolving # relative to schema.json# (schema.json#)
resolved to # (schema.json#)
resolving #/definitions/check_run_event relative to #/oneOf/0 (schema.json#/oneOf/0)
trying to fetch
couldn't fetch
resolved to #/definitions/check_run_event (schema.json#/definitions/check_run_event)
View index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const child_process_1 = require("child_process");
function getProjectUrl(project) {
if (typeof project === 'string') {
return project;
}
if ((project === null || project === void 0 ? void 0 : project.url) !== undefined) {
return project.url;
}
View distroless-base-latest.log
2021-02-23 21:36:59,136 - DEBUG - __main__ - Starting...
2021-02-23 21:36:59,137 - DEBUG - prep - Setting up...
2021-02-23 21:36:59,150 - DEBUG - __main__ - Clearing cache...
2021-02-23 21:36:59,159 - DEBUG - run - Starting analysis...
2021-02-23 21:36:59,222 - DEBUG - docker_api - Checking if image "gcr.io/distroless/base:latest" is available on disk...
2021-02-23 21:36:59,239 - DEBUG - docker_api - Image "gcr.io/distroless/base:latest" found
2021-02-23 21:36:59,777 - DEBUG - rootfs - Running command: tar -tf /root/.tern/temp.tar
2021-02-23 21:36:59,782 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /root/.tern/temp.tar -C /root/.tern/temp
2021-02-23 21:36:59,819 - DEBUG - rootfs - Running command: tar -tf /root/.tern/temp/82a2e23fb9f1f5ac86b6c60196bff58e163601e5f37f1bc2bb1bd1781e8f6906/layer.tar
2021-02-23 21:36:59,831 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /root/.tern/temp/82a2e23fb9f1f5ac86b6c60196bff58e163601e5f37f1bc2bb1bd1781e8f6906/layer.tar -C /root/.tern/temp/82
View output.json
This file has been truncated, but you can view the full file.
{
"images": [
{
"image": {
"repotag": "node:14.15.3-alpine3.12",
"name": "node",
"tag": "14.15.3-alpine3.12",
"manifest": [
{