Skip to content

Commit

Permalink
update zipcode instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
notwaldorf committed Apr 20, 2017
1 parent 4957b0b commit 5db82d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ lists the environment variables that you can copy in your `rc` files:
This is using [`git-standup`](https://github.com/kamranahmedse/git-standup) under
the hood, and looks one subdirectory deep (so if you have all your code
directories in a `~/Code`, you only need to list that one)
- `TTC_WEATHER`, the location or zip code to check the weather for (so both
`90210` and `Paris` should work)
- `TTC_WEATHER`, the location to check the weather for. A zipcode doesn't
always work, so if you can, use a location first (so prefer `Paris` over
`90210`)
- `TTC_CELSIUS` (by default true)
- `TTC_APIKEYS` -- set this to false if you don't want to use Twitter API
keys and want to scrape the tweets instead.
Expand Down
3 changes: 1 addition & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ var config = {
// Directories in which to run git-standup on for a list of your recent commits.
repos: (process.env.TTC_REPOS || '~/Code').replace(/,/g, ' '),

// Where to check the weather for. This can be a zip code or a location name
// So both 90210 and "San Francisco, CA" should be ok.
// Where to check the weather for.
// It's using weather.service.msn.com behind the curtains.
weather: process.env.TTC_WEATHER || 'San Francisco',

Expand Down
3 changes: 2 additions & 1 deletion sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export TTC_BOTS='tinycarebot,selfcare_bot,magicrealismbot'
export TTC_REPOS='~/Work/Code,~/Fun/Code'

# Location/zip code to check the weather for. Both 90210 and "San Francisco, CA"
# should be ok. It's using weather.service.msn.com behind the curtains.
# _should_ be ok (the zip code doesn't always work -- use a location
# first, if you can). It's using weather.service.msn.com behind the curtains.
export TTC_WEATHER='Paris'

# Set to false if you're an imperial savage. <3
Expand Down

0 comments on commit 5db82d2

Please sign in to comment.