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
| module moop | |
| go 1.19 |
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
| 0eNrsvduOHEmWJPgrhXhm9JjeVRM9C9QUFjuzwGwD2w0sFoMEESQ9SUfFbePC2txGfsB8yPzYfMmaeUS4m0eY6BGxIDOIrHrJRCadYqKqR49e5Jyj/37y4fx+c32zvbx7/+Hq6q8nP/374f/cnvz032b/Of3Z7eXZ9end1ennm+2n6b//35OfnBvenfy6+/dv707OPtxend/fbU6nX15vLz+f/HR3c795d7L9eHX5AHi7/Xx5dj797btfrzcnP51s7zYXJ+9OLs8upv86u7nbnp9vbn49/dvZ56vLkxF0e/lpM33pt3fC3767v7nZ3M3+uv/t53cnm8u77d1288Bk9x+/vr+8v/iwuRnx9ygftp9PN+ebj3c324+n11fnm/ED11e3498cCT00O6Vdq0/dyOpkbNvl+Ovtron/fuKmf9xsPs0/MvVX83ni8Plms7lc/LPfRqzLzfbzlw9X9zcTx/H//jy1+hlTv2d6e3d1uRl76vz8JUU3uH96ZJn+Kf22gBNInPCEE5dxIonjDT6JxEkGTiZxotGuQuJkg08lcYrBp5E4zeAzTVkKqBqEnOOA3GAxIk3aOYsRadMuWIxIo3beYkRatYsWI9KsXbIYkXbtisWINGyXLUakZbtqMPKkZbtmMPKkZXvLx3rSsv1gMSIt21te1pOW7S2370nL9pa/9qRle8the9KyveWxPWnZ3nLZnrRsb/nsQFq2t3x2IC07WD47kJYdLJ8dSMsOls8OpGUHy2cH0rKD5bMDadnB8tmBtOxg+exAWnawfHYgLTtYPjuSlh0snx1Jy46Wz46kZUfLZ0fSsqPlsyNp2dHcqpOWHS2fHUnLjpbPjqRlR8tnR9Kyo+WzI2nZ0fLZibTsaPnsRFp2snx2Ii07WT47kZadLJ+dSMtOls9OpGUny2cn0rKT5bMTadnJ8tmJtOxk+exEWnayfHYmLTtZPjuTlp0tn51Jy86Wz86kZWfLZ2fSsrPlszNp2dm8FyEtO1s+O5OWnS2fnUnLzpbPzqR |
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
| # Dockerfile References: https://docs.docker.com/engine/reference/builder/ | |
| ############################################ MULTI STAGE BUILD PART 1 ############################################## | |
| # Start from golang v1.17 base image | |
| FROM golang:1.17 as builder | |
| # Creating/Cd work directory | |
| WORKDIR /app |
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
| <features> | |
| <acpi/> | |
| <apic/> | |
| <hyperv> | |
| <relaxed state='on'/> | |
| <vapic state='on'/> | |
| <spinlocks state='on' retries='8191'/> | |
| <vendor_id state='on' value='123456789ab'/> | |
| </hyperv> | |
| <kvm> |
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
| SERVICE_CONFIG = json.dumps( | |
| { | |
| "methodConfig": [ | |
| { | |
| "name": [{"service": ""}], | |
| "retryPolicy": { | |
| "maxAttempts": 5, | |
| "initialBackoff": "1s", | |
| "maxBackoff": "15s", | |
| "backoffMultiplier": 2, |
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
| { | |
| "Issues": [ | |
| { | |
| "FromLinter": "deadcode", | |
| "Text": "`ACCEPTED` is unused", | |
| "Severity": "", | |
| "SourceLines": [ | |
| "\tACCEPTED AdrStatus = \"Accepted\"" | |
| ], | |
| "Replacement": null, |
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
| <script src="/scripts/qrcode.js/qrcode.min.js"></script> | |
| <script type="text/javascript"> | |
| var qrs = document.getElementsByClassName("qrcode") | |
| Array.from(qrs).forEach(element => { | |
| new QRCode(element,{ | |
| height: window.innerHeight*0.5, |
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
| git checkout master | |
| apply patch | |
| git stash | |
| git checkout review branch | |
| git stash pop |
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
| package main | |
| import ( | |
| "sync" | |
| "time" | |
| "github.com/evalphobia/google-home-client-go/googlehome" | |
| "github.com/hashicorp/mdns" | |
| ) |
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
| func aggregate(baseCtx context.Context) { | |
| ctx, cancel := context.WithTimeout(baseCtx, 5*time.Second) | |
| defer cancel() | |
| ch := make(chan *http.Response) | |
| var wg *sync.WaitGroup | |
| var sources []string | |
| for _, src := range sources { | |
| wg.Add(1) | |
| go func(ctx context.Context, source string) { |
NewerOlder