later from 16.04
install pip3 if you don't have already
| [build] | |
| publish = "public" | |
| command = "hugo --gc --minify" | |
| [context.production.environment] | |
| HUGO_VERSION = "0.52" | |
| HUGO_ENV = "production" | |
| HUGO_ENABLEGITINFO = "true" | |
| [context.split1] |
| # vim | |
| :%s/^[ ]\+/\t/g |
| SHELL := /bin/bash | |
| PYTHON_BIN := $(VIRTUAL_ENV)/bin | |
| .PHONY: help test lint redis up start stop django | |
| # COLORS | |
| BLACK := $(shell tput -Txterm setaf 0) | |
| RED := $(shell tput -Txterm setaf 1) | |
| GREEN := $(shell tput -Txterm setaf 2) |
| export $(grep -v '^#' ./.envs/.env.dev | xargs) | |
| DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}" |
| #!/bin/bash | |
| set -o errexit | |
| set -o pipefail | |
| set -o nounset | |
| # DECRYPT PubKey + PriKey | |
| #----------------------------------------------------------------------------------------------------- |
| # region Django Conf Test Setup | |
| import os | |
| os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.dev') | |
| from django.core.wsgi import get_wsgi_application | |
| application = get_wsgi_application() | |
| # endregion | |
| # code to test |
I hereby claim:
To claim this, I am signing this object:
| [loggers] | |
| keys=root | |
| [logger_root] | |
| level=DEBUG | |
| handlers=screen,file | |
| [formatters] | |
| keys=simple,verbose |
| #!/usr/bin/env python3 | |
| # Clone or update all a user's gists | |
| # curl -ks https://gist.githubusercontent.com/SerhatTeker/3b9bd9c5add01730f67ee5458db13b2e/raw/a4de62633a8818580d37114b20efbd576388413d/backup-gist.sh | bash | |
| # curl -ks https://gist.githubusercontent.com/SerhatTeker/3b9bd9c5add01730f67ee5458db13b2e/raw/a4de62633a8818580d37114b20efbd576388413d/backup-gist.sh | USER=serhatteker bash | |
| from __future__ import absolute_import | |
| from __future__ import division | |
| from __future__ import print_function | |
| from __future__ import unicode_literals |