Skip to content

Instantly share code, notes, and snippets.

View uidoyen's full-sized avatar
🏠
Working from home

Ashique Ansari uidoyen

🏠
Working from home
View GitHub Profile
@uidoyen
uidoyen / machine.js
Last active September 3, 2022 13:56
Generated by XState Viz: https://xstate.js.org/viz
const loginMachine = Machine({
id: "form",
context: {
retries: 0
},
initial: "entering",
states: {
entering: {
on: {
SUBMIT: {
@uidoyen
uidoyen / update-golang.md
Created July 12, 2021 15:40 — forked from nikhita/update-golang.md
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: