Skip to content

Instantly share code, notes, and snippets.

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

Ndi-tah Samweld Nditah

🏠
Working from home
View GitHub Profile
@Nditah
Nditah / gist:e927d9b0b91a9549daa01b8973879393
Created November 30, 2018 02:55 — forked from paulallies/gist:0052fab554b14bbfa3ef
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@Nditah
Nditah / setting-up-babel-nodemon.md
Created November 18, 2018 14:39 — forked from fega/setting-up-babel-nodemon.md
Setting up Babel and nodemon

Setting up Babel and nodemon

Inital set-up

Set up project:

mkdir project
cd project
npm init -y
@Nditah
Nditah / gist:29258f24f2867abedbb67db12a2cf885
Created October 15, 2018 09:11 — forked from jkubacki/gist:e2dd904bd648b0bd4554
Mac uninstall elasticsearch
#!/usr/bin/env sh
# checks to see if running
launchctl list | grep elasticsearch
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
launchctl remove homebrew.mxcl.elasticsearch
pkill -f elasticsearch