Skip to content

Instantly share code, notes, and snippets.

View john-raymon's full-sized avatar
🔮
Building

John Raymon john-raymon

🔮
Building
View GitHub Profile
@john-raymon
john-raymon / routeDeploy.js
Created March 7, 2021 08:01 — forked from clonn/routeDeploy.js
Node.js with Express, deploy through web hook. this is route part code.
var exec = require('child_process').exec;
var set = function (app) {
app.post('/deploy', function (req, res) {
var feedback;
var branch = 'master';
try {
feedback = JSON.parse(req.body.payload);
@john-raymon
john-raymon / lodash-fp-documentation.md
Created January 28, 2019 21:03 — forked from jfmengels/lodash-fp-documentation.md
Generated docs for Lodash/fp. Help make them better at https://github.com/jfmengels/lodash-fp-docs
@john-raymon
john-raymon / remove-node-modules.md
Created August 18, 2018 06:41 — forked from lmcneel/remove-node-modules.md
How to remove node_modules after they have been added to a repo

How to remove node_modules

  1. Create a .gitignore file in the git repository if it does not contain one

touch .gitignore 2. Open up the .gitignore and add the following line to the file

node_modules 3. Remove the node_modules folder from the git repository