Skip to content

Instantly share code, notes, and snippets.

View rmasci's full-sized avatar

RichM rmasci

  • 00:40 (UTC -04:00)
View GitHub Profile
@rmasci
rmasci / README.md
Last active April 21, 2023 15:49
NvChad install with Go Language server support

Install NVChad for Go

Installning NvChad (nvim ide) with support for Go Language Server (gopls). This worked for me (on a mac) and it's very easy. Wish I had known this BEFORE spending hours googling and searching for how to add Gopls support.

Steps

Follow steps to install nvim. Once nvim is installed run these commands:

rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
@rmasci
rmasci / 0-go-os-arch.md
Created February 9, 2023 14:28 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@rmasci
rmasci / polling.sh
Last active September 2, 2021 15:47 — forked from larryclaman/polling.sh
Fixed polling.sh
#!/bin/bash
declare -i duration=1
declare hasUrl=""
declare endpoint
usage() {
cat <<END
polling.sh [-i] [-h] endpoint