Skip to content

Commit

Permalink
Changes from last night. Switch to using JSON everywhere, make sure s…
Browse files Browse the repository at this point in the history
…trict mode and warnings is used, fix a bunch of minor bugs, use a simplified config file.
  • Loading branch information
jeresig committed Feb 8, 2011
1 parent e9d482e commit 772566f
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 185 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
config.ini
62 changes: 62 additions & 0 deletions sample-config.ini
@@ -0,0 +1,62 @@
[config]
# Where the event data is backed up (JSON)
backup = backup.json

# An optional place for the JSONP version of the same data
backup_jsonp = backup.js

# The JSONP function prefix
backup_jsonp_fn = wtpa_jsonp

# The long timezone
timezone = America/New_York

# The short one
timezone_short = EST

[places]
# Where to backup/retreive the places from
file = places.txt

# A public URL where the places are listed (optional)
url =

[google]
# Google username and password (for Google Calendar updates)
user =
pass =

# The email you want people to reply to in the calendar entry
email =

# The name of the calendar to update
calendar_name =

[ping]
# PingFM username and key (for Twitter and Facebook updates)
user =
key =

[bitly]
# Bitly username and key (for short Google Map URLs)
user =
key =

[irc]
# The server to connect to (e.g. 'irc.freenode.net')
server =

# The channel to connect to (e.g. 'test')
channel =

# The port to connect to
port = 6697

# Should SSL be used?
ssl = 1

# The nick of the bot
nick = wtpa

# The name of the bot
name = wtpa

0 comments on commit 772566f

Please sign in to comment.