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 | |
from datetime import datetime | |
from jinja2 import Template | |
base_url = 'http://example.com' | |
# Following can go into settings.py | |
sitemap_dict = { | |
'urls': [ | |
{ |
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
"""Code written to test integration of Honeybadger | |
with hug. | |
You need to : | |
pip install honeybadger | |
pip install hug | |
Have a trial/free account for Honeybadger | |
Set the Honeybadger API key as an environment variable | |
HONEYBADGER_API_KEY |
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 python | |
# -*- coding: utf-8 -*- | |
"""Get all your bitbucket issues at once-Fetches/Displays your bitbucket issues | |
- | |
:copyright: (c) 2011 by Openlabs Technologies & Consulting (P) Limited | |
:license: BSD, see LICENSE for more details. | |
- | |
The username and password for this program can be set in multiple ways. | |
- | |
1. Set environment variable |
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 | |
# | |
# Refer to http://www.symscape.com/openfoam-2-1-x-on-windows-64-mpi for original instructions | |
# Following script is for Ubuntu Linux | |
# | |
# Check if apropriate file/packages exists - if not install the package | |
# | |
set -x | |
function maketar() |