The IntelliJ tip bot tweets IntelliJ usage tips.
Note: Many of these tips are specific to a keymap, e.g., Mac OS X, which may or may not be the one you use. I use the Vim and Mac OS X 10.5+ keymaps, for example. If a given tip doesn't work with your settings, use the description to find the equivalent.
Special thanks to @almalkawi (and contributors) for making his IntelliJ shortcuts list available.
- Clone the project
- Add your tip
- Submit a pull request
- or -
Hit me up on twitter
- or -
Open an issue
- Clone this repo
- Set up Heroku, as described in the Heroku quickstart
- Create a Heroku app
- Set up your environment, as described in Heroku's python set up documentation
-
Create an application at dev.twitter.com
-
Click the "create OAuth access token"
-
Create an .env file, as described in Heroku's configuration documentation
-
Populate the .env file as follows:
CONSUMER_KEY=<your app's consumer key> CONSUMER_SECRET=<your app's consumer secret> ACCESS_TOKEN=<your app's access token> ACCESS_TOKEN_SECRET=<your app's access token secret>
- Modify tips.py to include your content
- Commit your changes and push them to your Heroku app
- Export .env vars:
for v in $(cat .env); do export $v; done
- Generate tweet:
$ python bin/generator.py
- Push your .env settings to heroku:
$ heroku config:set $(cat .env)
- Generate tweet:
$ heroku run python bin/generator.py
Note: duplicate tweets will be blocked, as described by Twitter's status/update API docs:
For each update attempt, the update text is compared with the authenticating user's recent tweets. Any attempt that would result in duplication will be blocked, resulting in a 403 error.
- Add the Scheduler add-on to your app
- Configure Scheduler to run
python bin/generator.py
at your desired rate
Copyright 2013 Erik Eldridge and others
Licensed under the MIT License