Skip to content

Instantly share code, notes, and snippets.

View mokshchaudhary's full-sized avatar
:octocat:
Currently in the process of learning

Moksh Chaudhary mokshchaudhary

:octocat:
Currently in the process of learning
View GitHub Profile
# Install Node and Start Server
echo "==============================="
echo "|| Starting ||"
echo "==============================="
echo " "
echo "|| Updating ||"
sudo apt -qq update -y
echo " "
echo "|| Install nodejs ||"
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
@mokshchaudhary
mokshchaudhary / server.js
Last active November 17, 2022 09:20
Simple Express Server
const express = require('express')
const app = express()
const port = 80
app.get('/', (req, res) => {
res.send('India has won the match')
})
app.post('/', (req, res) => {
res.send('Post /')
@mokshchaudhary
mokshchaudhary / config.conf
Created February 7, 2022 13:15
Neofetch Configuration
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
#info title
#info underline
info "OS\t\t" distro
info "Host\t" model
#info "Kernel" kernel
info "Uptime\t" uptime