This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
```c++ | |
#include <iostream> | |
#include <numeric> | |
#include <string> | |
#include <vector> | |
int main() | |
{ | |
std::vector<std::string> v{"one", "two", "three"}; | |
std::string s = std::transform_reduce(v.begin(), v.end(), std::string{}, |
# For clearing remote branches from local repo which are already deleted: `git remote prune origin` | |
# To clean local branches, use the following python script: | |
# Usage: | |
# python gitcleanbranches.py -c branchnamepart1,branchnamepart2 | -x branchnamepart1,branchnamepart2 [-n] | |
# python gitcleanbranches.py --contains branchnamepart1,branchnamepart2 | -excludes branchnamepart1,branchnamepart2 [--dryrun] | |
# | |
# Version 0.1 | |
import argparse | |
import pprint |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer