- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
| from tail_recursion import tail_recursive, recurse | |
| # Normal recursion depth maxes out at 980, this one works indefinitely | |
| @tail_recursive | |
| def factorial(n, accumulator=1): | |
| if n == 0: | |
| return accumulator | |
| recurse(n-1, accumulator=accumulator*n) |
Picking the right architecture = Picking the right battles + Managing trade-offs
| # Shell to use with Make | |
| SHELL := /bin/bash | |
| # Set important Paths | |
| PROJECT := # Set to your project name | |
| LOCALPATH := $(CURDIR)/$(PROJECT) | |
| PYTHONPATH := $(LOCALPATH)/ | |
| PYTHON_BIN := $(VIRTUAL_ENV)/bin | |
| # Export targets not associated with files |
| #!/usr/bin/env python | |
| """How to do regular expressions in sqlite3 (using python).""" | |
| from __future__ import division, absolute_import, print_function, unicode_literals | |
| import re | |
| import sys | |
| import time | |
| import datetime | |
| import sqlite3 |
| /* | |
| * Note: This template uses some c++11 functions , so you have to compile it with c++11 flag. | |
| * Example:- $ g++ -std=c++11 c++Template.cpp | |
| * | |
| * Author : Akshay Pratap Singh | |
| * Handle: code_crack_01 | |
| * | |
| */ | |
| /******** All Required Header Files ********/ |