Skip to content

Instantly share code, notes, and snippets.

View Danendra10's full-sized avatar
🏠
Working from my heart

Danendra Clevero Ananda Danendra10

🏠
Working from my heart
View GitHub Profile
@Danendra10
Danendra10 / install_node.sh
Created November 4, 2023 16:22
Installing NPM and Node with NVM (just need to copy)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm list-remote
nvm install v18.12.1
nvm install lts/hydrogen
nvm use v18.12.1
@Danendra10
Danendra10 / gobuild.sh
Last active September 18, 2023 03:16
Script to build golang with param of -o [operating_sys] -n [output_name]
#!/bin/bash
#how to use
# cd ~ && mkdir gobuildscript && cd gobuildscript && https://gist.github.com/Danendra10/2910ae7a55e066aa03fec7c967e00b71 && chmod +x gobuild.sh && echo "alias gobuild="~/gobuildscript/gpbuild.sh" >> ~/.bashrc && source ~/.bashrc
output_name="main"
os="linux"
# Define colors
RED='\033[0;31m'
GREEN='\033[0;32m'