Skip to content

Instantly share code, notes, and snippets.

View sir-farfan's full-sized avatar
Learning Go and REST

Ismael Farfán Estrada sir-farfan

Learning Go and REST
View GitHub Profile
sir-farfan / vscodedebugbug.go
Created August 5, 2020 15:38
VSCode bug on debugger
package main
// BUG:
// Start a debugging session from VSCode and attempt to copy
// the value from the variable.
// You only get the first 80 characters or so.
import "fmt"
func main() {
# put this in: .github/workflows/docker.yml
# an actual working example of the docker/build-push-action
# to push images to the registry automatically from github
on: [push, pull_request]
name: Docker
# Keey the system quiet and cool by disabling Turbo Boost technology
# using Linux Systemd service without installing external scripts
# that could be a security issue.
# Installing:
# Create this file: /etc/systemd/system/IntelNoTurbo.service
# and COPY/PASTE the contents of this snippet there.