Bash script which will:
- Iterate all commits made within a Git repository.
| // first some helpful mixins | |
| .abs { | |
| position: absolute; | |
| } | |
| .rel { | |
| position: relative; | |
| } | |
| .position(@top; @right; @bottom; @left) { | |
| top: @top; | |
| right: @right; |
| # ========================================================================= | |
| # middleware.py | |
| # ========================================================================= | |
| import sqlalchemy.orm.scoping as scoping | |
| class SQLAlchemySessionManager(object): | |
| def __init__(self, session_factory, auto_commit=False): | |
| self._session_factory = session_factory | |
| self._scoped = isinstance(session_factory, scoping.ScopedSession) |
| /** | |
| * Creates a temporary table to hold values from an uploaded CSV. | |
| * @param $table_name | |
| * @param $columns | |
| * @param $message | |
| * @param $context | |
| */ | |
| function csv_import_create_temp_table($table_name, $columns) { | |
| if (db_table_exists($table_name)) { | |
| return; |