Skip to content

Instantly share code, notes, and snippets.

View nebtrx's full-sized avatar
🎈
out of the comfort zone

Omar García nebtrx

🎈
out of the comfort zone
View GitHub Profile
# See commit changes
git whatchanged -m -n 1 -p <sha of merge commit>
# Delete branch
git branch -d the_local_branch
# Delete remote branch
git push origin --delete <branchName>
@nebtrx
nebtrx / python_virtual_env
Created December 30, 2015 16:14
Python Virtual Env Steps
$ pip install virtualenv
$ virtualenv venv
$ source venv/bin/activate
..
..
..
$ deactivate
@nebtrx
nebtrx / flask_migrate_steps
Created December 28, 2015 22:29
Migration steps with Flask-Migrate
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade
@nebtrx
nebtrx / Polly Nuget Package Test
Created January 31, 2015 17:05
Polly Nuget Package Test
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Polly;
namespace ConsoleApplication7
{