Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
#!/usr/bin/env python | |
# To run this make sure you have selenium and bidpom | |
# pip install -U selenium | |
# git clone git://github.com/davehunt/bidpom.git | |
from selenium import webdriver | |
from bidpom.browser_id import BrowserID | |
browser = webdriver.Firefox() | |
browser.get('http://mozillians.allizom.org') |
EMAIL_TYPE_CHOICES = ( | |
('work', 'Work'), | |
('home', 'Person'), | |
('other', 'Other'), | |
) | |
class EmailAddress(models.Model): | |
email = models.EmailField(db_index=True, max_length=254, unique=True) | |
# Allows us to remove the choices and be backwards compatible | |
type = models.CharField(max_length=10, choices=EMAIL_TYPE_CHOICES) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"> | |
<meta name="dcterms.created" content="Mon, 29 Oct 2012 22:24:36 GMT"> | |
<meta name="description" content=""> | |
<meta name="keywords" content=""> | |
<title>Banana 1.1.1</title> | |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)