Inspired by Terminal outputting the last login date, seinfeld.sh shows the date of your last open source contribution as tracked by Calendar About Nothing.
- Authorize Calendar About Nothing (if you haven’t already).
- Source the script in your bash so it gets called when you open a terminal.
If you use GitHub, you’re all set. seinfeld.sh looks for your GitHub user name in ~/.gitconfig.
Last login: Sat Aug 20 23:19:43 on ttys002 Last OSS Commit: 2011-08-21 $ brian:
- some sort of caching (if the date hasn’t changed, don’t fetch)
improved response parsing and cleaning (my first time usingThanks to @laserlemon!
awk, it all feels a bit kludgy to me)
- install/setup process (would love to have something better than download this file, put it here, source it from there)
- include longest or current streak(s) in output
- groups parsing (allow for seeing the last commit of a group of users)
In the spirit of free software, everyone is encouraged to help improve this project.
Here are some ways you can contribute:
- using alpha, beta, and prerelease versions
- reporting bugs
- suggesting new features
- writing or editing documentation
- writing specifications
- writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
- refactoring code
- closing issues
- reviewing patches
We use the GitHub issue tracker) to track bugs
and features. Before submitting a bug report or feature request, check to make sure it hasn’t already
been submitted. You can indicate support for an existing issuse by voting it up. When submitting a
bug report, please include a Gist that includes a stack trace and any
details that may be necessary to reproduce the bug, including your gem version, Ruby version, and
operating system. Ideally, a bug report should include a pull request with failing specs.
1. Fork the project.
2. Implement your feature or bug fix.
3. Commit and push your changes.
4. Submit a pull request. Please do not include changes to the gemspec, version, or history file.
Copyright © 2011 Brian Ryckbost
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.