This file contains 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
''' | |
Run this script either by doing: | |
python gmaildomain.py | |
And you will be prompted for details, or you can save time by doing: | |
python gmaildomain.py WEBFACTION_USERNAME_HERE DOMAIN_TO_USE_GMAIL_FOR_HERE_WITHOUT_WWW | |
And you will only be prompted for your password. |
This file contains 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
class App(object): | |
def __init__(id, name, | |
default=False, selected=False, groups=['misc'], | |
description="", icon="app-icons_default.png"): | |
self._id = id | |
self._name = name | |
self._groups = groups | |
self._default = default | |
self._selected = selected |
This file contains 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 gdata.apps.service | |
service = gdata.apps.service.AppsService(email="admin@mydomain", domain="mydomain.com", password="password") | |
service.ProgrammaticLogin() | |
names = {'from':'to'} | |
for current, change_to in names.iteritems(): | |
user_entry = service.RetrieveUser(current) |
This file contains 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
<a href="https://www.myhaikuclass.com/do/openid/google?openid_identifier=your_google_domain.com" target='_blank'> | |
Sign In with your Google Apps Account | |
</a> |
This file contains 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
@ MX 10 aspmx.l.google.com. | |
MX 20 alt1.aspmx.l.google.com. | |
MX 20 alt2.aspmx.l.google.com. | |
MX 30 aspmx2.googlemail.com. | |
MX 30 aspmx3.googlemail.com. | |
MX 30 aspmx4.googlemail.com. | |
MX 30 aspmx5.googlemail.com. | |
TXT "v=spf1 include:aspmx.googlemail.com ~all" | |
; | |
_xmpp-server._tcp SRV 5 0 5269 xmpp-server.l.google.com. |
This file contains 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
production: | |
email_delivery: | |
delivery_method: :async_smtp | |
smtp_settings: | |
tls: true | |
enable_starttls_auto: true | |
address: "smtp.gmail.com" | |
port: '587' | |
domain: "smtp.gmail.com" | |
authentication: :plain |
This file contains 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
203.208.46.166 www.google.com | |
203.208.46.166 www.google.com.hk | |
203.208.46.166 encrypted.google.com | |
203.208.46.166 encrypted.google.com.hk | |
203.208.46.166 mail.google.com | |
203.208.46.166 webcache.googleusercontent.com | |
203.208.46.166 plus.google.com | |
203.208.46.166 talkgadget.google.com | |
203.208.46.166 picasaweb.google.com | |
203.208.46.166 feedproxy.google.com |
This file contains 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
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
""" | |
Model for microformat properties and parsers. A microformat parser can | |
parse an HTML element into a dictionary of properties, whose keys are | |
strings and whose values are strings or other dictionary of properties. | |
As an example, the main program of this script parses an hResume from | |
given URL. |
This file contains 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/python | |
# -*- coding: utf-8 -*- | |
# default_application, default_controller, default_function | |
# are used when the respective element is missing from the | |
# (possibly rewritten) incoming URL | |
# | |
default_application = 'clientes' # ordinarily set in base routes.py | |
default_controller = 'clientes' # ordinarily set in app-specific routes.py | |
default_function = 'novo' # ordinarily set in app-specific routes.py |
This file contains 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
var f,proxy,d=document; | |
var addCss = function(s) { | |
var c = d.createElement('style'); | |
c.type = 'text/css'; | |
if (c.styleSheet) | |
c.styleSheet.cssText = s; | |
else | |
c.appendChild(d.createTextNode(s)); | |
d.getElementsByTagName('HEAD')[0].appendChild(c); |
OlderNewer