Code Monkey home page Code Monkey logo

dashboards-bikeshed's People

Contributors

bval avatar cheshire137 avatar dependabot[bot] avatar jameswhite avatar jfryman avatar stephenyeargin avatar technicalpickles avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashboards-bikeshed's Issues

Dashing issues with nextbus

================================================================================
scheduler caught exception:
757: unexpected token at '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://nextbus.jt2k.com/api/findstop/36.162876,-86.78136?key=20e79a0133aece2ffea3b8aca42c782c">here</a>.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at nextbus.jt2k.com Port 80</address>
</body></html>
'
/var/lib/gems/2.1.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse'
/var/lib/gems/2.1.0/gems/json-1.8.2/lib/json/common.rb:155:in `parse'
/home/opt/dashing/jobs/nextbus.rb:67:in `request'
/home/opt/dashing/jobs/nextbus.rb:39:in `nearby_stops'
/home/opt/dashing/jobs/nextbus.rb:15:in `block in <top (required)>'
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `call'
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in `trigger_block'
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in `block in trigger'
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `call'
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'
================================================================================

Cc: @stephenyeargin who might know an unemployed developer who could look at this.

Rename this repository

Go for dashboards-bikeshed or something.

  • Change name in :octocat:
  • Update deploy pieces to pull from correct repository
  • πŸ’°

Update the Stall-me Widget

When #18 lands ...

  • Needs to indicate time since last open (increase size of widget and include moreinfo text?)
  • Change color of background when `[open]
    • < 5 minutes == red
    • 5-10 minutes == yellow
    • 10 minutes == green

  • Improve images used (transparent poo emoji, higher-res Cousin Eddie image)

Untappd leaderboard

Ideas

  • Show 10 most recent beers
  • Show top 10 badge counts
  • Show most recent badge(s) earned

Add next bus widget

Two destinations:

  • next bus to Five Points
  • next bus to the Nations

Ideally, all of this would be configured by way of selecting a particular route (and direction) as part of the "collection" for a widget to measure off of.

Example:

  • Show next bus that uses the 4 or 20 route (that takes you to Five Points or through the Shelby area)
  • Grabbing those two routes, reduce those down to the "next bus that leaves the MCC going out on those routes" and show a countdown timer.

Stretch goal:

  • Show the timer with color-coordinated "meter"
  • 20+ minutes = green
  • 10-19 minutes = yellow
  • < 10 minutes = red

Data source:

README is out of date

#37 points out that the instructions we have for this are bogus

  • This is currently hosted on a central server instead of individual RaspberryPis for performance reasons.
  • To boot the development environment, use ./local_test.sh, which handles the presence of the .app-env file

Can't run script/server

I'm getting the following error:

% script/server
/Users/cheshire137/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/rfc2396_parser.rb:304:in `escape': undefined method `gsub' for nil:NilClass (NoMethodError)
    from /Users/cheshire137/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/common.rb:99:in `escape'
    from /Users/cheshire137/code/websages/dashboards-bnagh/jobs/twitter.rb:12:in `<top (required)>'

Is this due to not setting any values in .app-env? I just left the file the same as .app-env-dist.

Update buses to match ones we use

  • 🌯 🚌 Route 4 - /route/4/dir/0/stop/MCC4_14
  • 🍺 🚌 Route 28 - /route/28/dir/1/stop/MCC4_22
  • Route 50 - /route/50/dir/0/stop/MCC5_1
  • Route 10 - /route/10/dir/0/stop/MCC5_3
  • Route 19 - /route/19/dir/1/stop/MCC5_4
  • Route 3 - /route/3/dir/0/stop/MCC5_5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.