This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import tarfile | |
from contextlib import closing | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROJECT=$1 | |
REPO_USER=myusername | |
REPO_API_URL=https://api.bitbucket.org/1.0/repositories/ | |
PROJECTS_DIR=/home/username/projects | |
APP_DIR="$PROJECTS_DIR/$PROJECT" | |
curl --user $REPO_USER $REPO_API_URL --data name=$PROJECT --data is_private='true' --data scm='git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Simple shell script for django project creation | |
# Edit variables section and run: create_django_app.sh projectname | |
# | |
NAME=$1 | |
DOMAIN="$NAME.dev" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true, | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module", |
NewerOlder