%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'monospace', 'pieSectionTextSize': '24px', 'darkMode': true, 'pie1': '#2da44e', 'pie2': '#dbab0a', 'pie3': '#cf222e' }}}%%
pie title 🧪 GitHubActionsTestLogger.Tests
"Passed" : 10
"Skipped" : 2
"Failed" : 1
- GitHub Staff
- https://reb.gg
- @robherley
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
const queryStatusCheckRollupState = `query($owner: String!, $name: String!, $oid: GitObjectID) { | |
repository(owner: $owner, name: $name) { | |
object(oid: $oid) { | |
... on Commit { | |
statusCheckRollup { | |
state | |
} | |
} | |
} | |
} |
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 fs from 'fs' | |
import crypto from 'crypto' | |
import * as Benchmark from 'benchmark' | |
// When transpile target to >= ES2020 (prob after dropping node 12) these can be changed to bigint literals | |
// ts(2737) | |
// Based on 0x9A6C9329AC4BC9B5 Polynomial from Azure Storage https://github.com/Azure/azure-storage-net | |
const TABLE = [ | |
BigInt("0x0000000000000000"), BigInt("0x7F6EF0C830358979"), BigInt("0xFEDDE190606B12F2"), BigInt("0x81B31158505E9B8B"), |
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
const { unprefixed, cbprefixed } = require("./Opcodes.json"); | |
const opToCode = (mnemonic, op) => { | |
const name = op.name.toUpperCase(); | |
// for hex used in RST | |
if (mnemonic === "RST" && name.endsWith("H")) { | |
return `Byte(0x${name.slice(0, -1)})`; | |
} |
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
package main | |
import ( | |
"crypto/md5" | |
"fmt" | |
"os" | |
) | |
const chunkSize = 8388608 |
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
{ | |
"cloudflare": [ | |
{ | |
"authentication": { | |
"api_token": "<omitted>" | |
}, | |
"zone_id": "<omitted>", | |
"subdomains": ["*"], | |
"proxied": false | |
} |
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
According to all known laws | |
of aviation, | |
there is no way a bee | |
should be able to fly. | |
Its wings are too small to get | |
its fat little body off the ground. |
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
const axios = require("axios"); | |
const _ = require("lodash"); | |
const URL = | |
"https://am-i-eligible.covid19vaccine.health.ny.gov/api/get-providers"; | |
const PAYLOAD = { | |
address: "11746", | |
applicationId: "5617632692458176706", | |
dob: "03/02/1997", | |
miles: "100", |
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
package main | |
import ( | |
"fmt" | |
"image" | |
"image/color" | |
"image/png" | |
"os" | |
"github.com/nfnt/resize" |
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
package main | |
import ( | |
"context" | |
"fmt" | |
"net/http" | |
"time" | |
"github.com/gorilla/websocket" | |
_ "github.com/joho/godotenv/autoload" |