This file contains hidden or 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
{{ $urlPre := "https://api.github.com" }} | |
{{ $gistJ := getJSON $urlPre "/users/ktwbc/gists" }} | |
{{ range first 5 $gistJ }} | |
{{ if .public }} | |
<li><a href="{{ .html_url }}" target="_blank">{{ .description }}</a></li> | |
{{ end }} | |
{{ end }} |
This file contains hidden or 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
interface RequestInfo { | |
readonly httpMethod: string; | |
readonly url: string; | |
readonly sessionId: string; | |
readonly requestId: number | string; | |
readonly start: number; | |
} | |
const logRequestStart = (r: RequestInfo) => { | |
const lines = [ |
This file contains hidden or 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
$cacheKey = "smilData" .$id; | |
$obj = $this->r2Cache->get($cacheKey); | |
if (!$obj) { | |
//Heigh Ho, Heigh Ho, off to the Database we go... | |
/** @var CoverageLive $objChannel */ | |
$objChannel = $this->repoCoverageLive->find($id); | |
$obj = $objChannel->getSmil(); |