Skip to content

Instantly share code, notes, and snippets.

View regisbamba's full-sized avatar

Régis Bamba regisbamba

  • Djamo Côte d'Ivoire
  • Abidjan
View GitHub Profile
@regisbamba
regisbamba / backup-github.sh
Created June 29, 2020 14:14 — forked from rodw/backup-github.sh
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
@regisbamba
regisbamba / heroku_tornado.sh
Created October 9, 2011 17:54 — forked from javisantana/heroku_tornado.sh
tornado on heroku
virtualenv --no-site-packages .
source bin/activate
bin/pip install tornado
bin/pip freeze > requirements.txt
mkdir app
git init
cat >.gitignore <<EOF
bin/
include/
lib/