Skip to content

Instantly share code, notes, and snippets.

defer/ mañana

go je gocs

defer/ mañana
  • murc
  • Cebu City
View GitHub Profile
jgoc / launch.json
Created Jul 11, 2019
golang delve debugging in vscode launch.json
View launch.json
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
"version": "0.2.0",
"configurations": [
"name": "Launch",
"type": "go",
"request": "launch",
PurpleBooth /
Last active Oct 15, 2020
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


shaunlebron /
Last active Oct 19, 2020
Line breaks in markdown
Hello  (<-- two spaces)


iomintz / jsfuckhello.js
Created Feb 21, 2015
JSFuck Hello World
View jsfuckhello.js
View gist:9c4afcd91fe24316cbf0
func openbrowser(url string) {
var err error
switch runtime.GOOS {
case "linux":
err = exec.Command("xdg-open", url).Start()
case "windows":
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
case "darwin":
err = exec.Command("open", url).Start()
davecheney / bm_test.go
Last active Aug 20, 2020
Which is faster ? map[string]bool or map[string]struct{} ?
View bm_test.go
package bm
import (
var mb = map[string]bool{
"alpha": true,
"beta": true,
"gamma": true,
vaskoz / builder.go
Last active Aug 14, 2020
Golang Builder pattern
View builder.go
package main
import "strconv"
import "fmt"
type Color string
type Make string
type Model string
const (
You can’t perform that action at this time.