Skip to content

Instantly share code, notes, and snippets.

View lakgani's full-sized avatar

Ganesh Pendyala lakgani

  • Hyderabad
View GitHub Profile
@lakgani
lakgani / ubuntu-init.sh
Last active December 10, 2020 08:54
Init script setup new Ubuntu machine with necessary tools and configuration
#!/bin/bash
sudo apt update
sudo apt install vim git htop \
make g++ zsh tmux
git config --global user.name "Ganesh Pendyala"
git config --global credential.helper store
mkdir -p ~/$USER/Programming
@lakgani
lakgani / javaNodemon.sh
Last active January 4, 2018 06:32
Simple command to apply nodemon for a quick prototype java application
nodemon -e "java" -x "javac *.java -d "dist" && java -cp ./dist Main"
# prerequsites - javac, java and ofcourse nodemon (installed globally using npm) and a directory named dist in the current folder
# Main at the end should be changed based on your java main class
@lakgani
lakgani / 0_reuse_code.js
Last active March 10, 2017 16:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@lakgani
lakgani / Pi
Last active December 14, 2016 05:30
Tools I find daily on web
Dataplicity: Web Portal to access Pi from Internet