create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # Basic Makefile for Golang project | |
| # Includes GRPC Gateway, Protocol Buffers | |
| SERVICE ?= $(shell basename `go list`) | |
| VERSION ?= $(shell git describe --tags --always --dirty --match=v* 2> /dev/null || cat $(PWD)/.version 2> /dev/null || echo v0) | |
| PACKAGE ?= $(shell go list) | |
| PACKAGES ?= $(shell go list ./...) | |
| FILES ?= $(shell find . -type f -name '*.go' -not -path "./vendor/*") | |
| # Binaries | |
| PROTOC ?= protoc |
| set ignorecase | |
| set smartcase | |
| set scrolloff=3 " 3 lines above/below cursor when scrolling | |
| " Emulated Plugins | |
| set surround | |
| " Copy to system clipboard as well | |
| set clipboard+=unnamed |
| #!/bin/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| chgrp -R admin /usr/local | |
| chmod -R g+w /usr/local | |
| # allow admins to homebrew's local cache of formulae and source files | |
| chgrp -R admin /Library/Caches/Homebrew |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/usr/bin/env bash | |
| vm='minikube' | |
| natnet='vboxipv6' | |
| echo 'Fixing virtualbox/minikube IPV6 problems' | |
| if ! command -v vboxmanage &> /dev/null; then | |
| echo 'vboxmanage is not installed' | |
| exit 1 |
| #include <sys/socket.h> | |
| #include <sys/un.h> | |
| #include <sys/event.h> | |
| #include <netdb.h> | |
| #include <assert.h> | |
| #include <unistd.h> | |
| #include <fcntl.h> | |
| #include <stdio.h> | |
| #include <errno.h> |
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "syscall" | |
| ) | |
| const ( |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "strings" | |
| "time" |