-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into gitlog
- Loading branch information
Showing
7 changed files
with
86 additions
and
57 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Follow the template below to ensure a more accurate response to your issue. | ||
|
||
**Node Version**: `node --version` | ||
**tiny-core-terminal version**: `npm info tiny-care-terminal | grep version:` | ||
**Shell**: `bash, zsh, fish, something else?` | ||
**Terminal Program**: `tmux, iterm, terminator, cmd, something else?` | ||
**Operating System**: `Mac, Windows, Linux, BSD, Really, something else?` | ||
|
||
Thank you! |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
var config = {}; | ||
// Accounts to read the last tweet from. The first one in the list will be | ||
// spoken by the party parrot. | ||
config.twitter = process.env.TTC_BOTS || 'tinycarebot,selfcare_bot,magicrealismbot'; | ||
config.twitter = config.twitter.split(',') | ||
|
||
// Set this to false if you want to scrape twitter.com instead of using | ||
// API keys. The tweets may include RTs in this case :( | ||
config.apiKeys = process.env.TTC_APIKEYS || 'true'; | ||
config.apiKeys = config.apiKeys === 'true' ? true : false; | ||
|
||
// Directories in which to run git-standup on for a list of your recent commits. | ||
config.repos = process.env.TTC_REPOS || '~/Code'; | ||
config.repos = config.repos.split(','); | ||
|
||
// The directory-depth on how to look for git-repos. Use with care! | ||
config.reposDepth = process.env.TTC_REPOS_DEPTH || 1; | ||
|
||
// 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. | ||
// It's using weather.service.msn.com behind the curtains. | ||
config.weather = process.env.TTC_WEATHER || 'San Francisco'; | ||
|
||
// Set to false if you're an imperial savage. <3 | ||
config.celsius = process.env.TTC_CELSIUS || 'true'; | ||
config.celsius = config.celsius === 'true' ? true : false; | ||
|
||
config.updateInterval = parseFloat(process.env.TTC_UPDATE_INTERVAL) || 20; | ||
|
||
config.keys = {}; | ||
config.keys.consumer_key = process.env.CONSUMER_KEY || 'none'; | ||
config.keys.consumer_secret = process.env.CONSUMER_SECRET || 'none'; | ||
config.keys.access_token = process.env.ACCESS_TOKEN || 'none'; | ||
config.keys.access_token_secret = process.env.ACCESS_TOKEN_SECRET || 'none'; | ||
var config = { | ||
// Accounts to read the last tweet from. The first one in the list will be | ||
// spoken by the party parrot. | ||
twitter: (process.env.TTC_BOTS || 'tinycarebot,selfcare_bot,magicrealismbot').split(','), | ||
|
||
// Set this to false if you want to scrape twitter.com instead of using | ||
// API keys. The tweets may include RTs in this case :( | ||
apiKeys: (process.env.TTC_APIKEYS || 'true') === 'true', | ||
|
||
// Directories in which to run git-standup on for a list of your recent commits. | ||
repos: (process.env.TTC_REPOS || '~/Code').split(','), | ||
|
||
// The directory-depth on how to look for git-repos. Use with care! | ||
reposDepth: process.env.TTC_REPOS_DEPTH || 1, | ||
|
||
// Where to check the weather for. | ||
// It's using weather.service.msn.com behind the curtains. | ||
weather: process.env.TTC_WEATHER || 'San Francisco', | ||
|
||
// Set to false if you're an imperial savage. <3 | ||
celsius: (process.env.TTC_CELSIUS || 'true') === 'true', | ||
|
||
updateInterval: parseFloat(process.env.TTC_UPDATE_INTERVAL) || 20, | ||
|
||
keys: { | ||
consumer_key: process.env.TTC_CONSUMER_KEY || process.env.CONSUMER_KEY || 'none', | ||
consumer_secret: process.env.TTC_CONSUMER_SECRET || process.env.CONSUMER_SECRET || 'none', | ||
access_token: process.env.TTC_ACCESS_TOKEN || process.env.ACCESS_TOKEN || 'none', | ||
access_token_secret: process.env.TTC_ACCESS_TOKEN_SECRET || process.env.ACCESS_TOKEN_SECRET || 'none', | ||
} | ||
}; | ||
|
||
module.exports = config; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "tiny-care-terminal", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "A terminal that tries to take care of you 💖", | ||
"main": "care.js", | ||
"author": "Monica Dinculescu <[email protected]>", | ||
|
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
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