Skip to content

Instantly share code, notes, and snippets.

Renan Martins nbkhope

Block or report user

Report or block nbkhope

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nbkhope
nbkhope / git-push-origin-branch-name.sh
Last active Jan 15, 2018
Push the current branch to origin with the `gp` command
View git-push-origin-branch-name.sh
gp() {
if [ -d ".git" ]
then
BRANCH_NAME="$(git branch | grep '*' | cut -d' ' -f2)"
git push origin "$BRANCH_NAME"
fi
}
@nbkhope
nbkhope / app.js
Created Mar 16, 2018 — forked from nulltask/app.js
Output CSV in Express
View app.js
/**
* Module dependencies.
*/
var express = require('express')
, app = module.exports = express.createServer();
// Configuration
app.use(app.router);
You can’t perform that action at this time.