Skip to content

Instantly share code, notes, and snippets.

View shagohead's full-sized avatar

Anton Vakhmin shagohead

  • JetStyle
  • Anywhere
View GitHub Profile
@shagohead
shagohead / env.sh
Last active December 17, 2019 06:55
environment variables helper script
#!/usr/bin/env bash
# Usage:
# --- .env file creation mode (will be created from provided files):
# env.sh f .env.dist .another.env.dist
# --- command mode (will be run with exported variables):
# env.sh c subcommand
if [[ $1 == "f" ]]; then
if [[ -z "$2" ]]; then
echo -e "\033[31mProvide at least one .env.dist file name\033[0m"
I am a web developer from Yekaterinburg, Russia.
Using these languages, libraries and frameworks from:
AngularJS, PhoneGap: 2015
Python, Django: 2012
jQuery: 2009
JavaScript: 2008
PHP: 2008
xHTML, CSS: 2006
beautifulsoup4
celery
Django>=1.4.0
django-ckeditor
django-debug-toolbar
django-mptt
gunicorn
lxml
Pillow
psycopg2