Skip to content

Instantly share code, notes, and snippets.

View Pradumnasaraf's full-sized avatar
:electron:
Simplifying Open Source

Pradumna Saraf Pradumnasaraf

:electron:
Simplifying Open Source
View GitHub Profile
@Pradumnasaraf
Pradumnasaraf / README.md
Created January 27, 2024 19:40
Format a Hard Drive/SD Card/Pen Drive Using the Command Prompt

STEP 1: Open Command Prompt As Administrator

STEP 2: Open Diskpart

diskpart

STEP 3: List all the Disks

// Tags and options configured here will be used by the Add Tags command to add tags to struct fields. If promptForTags is true, then user will be prompted for tags and options. By default, json tags are added.
"go.addTags": {
"tags": "json",
"options": "json=omitempty",
"promptForTags": false,
"transform": "snakecase",
"template": ""
},
// Alternate tools or alternate paths for the same tools used by the Go extension. Provide either absolute path or the name of the binary in GOPATH/bin, GOROOT/bin or PATH. Useful when you want to use wrapper script for the Go tools.
@Pradumnasaraf
Pradumnasaraf / .bashrc
Created March 14, 2023 17:04
Set `GOPATH` variables in zshell, fish or bash.
# Set variables in .bashrc file
export GOPATH=$HOME/golang
export PATH=$PATH:$GOPATH/bin
name: Format
on: [push]
jobs:
format:
runs-on: ubuntu-latest
name: Format Files
steps:
- uses: actions/checkout@v3