Wallpaper Notifier

3,993 views

Published on

This is the winner proposal of the Sismo Challenge programming contest organized by ibuildings.

Reference: http://techportal.ibuildings.com/2012/04/17/sismo-challenge-results/

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,993
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Wallpaper Notifier

  1. 1. Wallpaper notifierby Javier Eguiluz javier.eguiluz@gmail.com
  2. 2. notifies build results via wallpaper⤵
  3. 3. Features
  4. 4. it scales from one project tolots of projects
  5. 5. simple. unobtrusive. minimalistic.
  6. 6. How to use it
  7. 7. $notifier = new SismoContribWallpaperNotifier();$projects[] = new SismoGithubProject( ..., ..., $notifier); from now on, your wallpaper will be automatically updated with the latest build results
  8. 8. Requirements
  9. 9. 1. Use a Mac2. Enable PHP GD extension ; php.ini extension=gd.so
  10. 10. Configuration
  11. 11. $notifier = new SismoContribWallpaperNotifier(array( image_width => 1024, image_height => 768));Match image sizewith your desktop resolution
  12. 12. $notifier = new SismoContribWallpaperNotifier(array( background_color => #FFF)); Replace dark background with your own color
  13. 13. $notifier = new SismoContribWallpaperNotifier(array( background_color => #FFCC29, text_color => #222, success_color => #00A859, failure_color => #3E4095)); Customize every color
  14. 14. $notifier = new SismoContribWallpaperNotifier(array( success_color => #333));Fade success bars to highlight failures
  15. 15. $notifier = new SismoContribWallpaperNotifier(array( vertical_gutter => 0)); Customize sizes and gutters
  16. 16. $notifier = new SismoContribWallpaperNotifier(array( bar_width => 50, bar_height => 50, horizontal_gutter => 25, vertical_gutter => 25)); Customize sizes and gutters
  17. 17. Available options and default values bar_width => 80 bar_height => 10 horizontal_gutter => 20 vertical_gutter => 10 horizontal_padding => 20 vertical_padding => 50 image_width => 1920 image_height => 1080 background_color => #161616 text_color => #CCCCCC success_color => #267326 failure_color => #B30F00 font_size => 10
  18. 18. contactjavier.eguiluz@gmail.com

×