Giter Site home page Giter Site logo

ephigenia / foobugs-dashboard Goto Github PK

View Code? Open in Web Editor NEW
68.0 68.0 42.0 953 KB

various dashing dashboard jobs

Home Page: http://foobugs-dashboard.herokuapp.com/

Ruby 12.75% CoffeeScript 3.69% JavaScript 66.97% CSS 16.59%
dashboard javascript metrics stock-market widget

foobugs-dashboard's Introduction

Hi there πŸ‘‹

Hi, I’m a formerly freelance full-stack developer from Berlin working for @bitly Europe (@Egoditor). Beforehand I was supporting agencies, businesses, and science projects with clean and fast performing JavaScript & PHP since 2001.

Whether it’s back end or front end, apps or web-based services, consulting or coding – I love to tackle complex challenges and always strive for a structured product.

GitHub stats

foobugs-dashboard's People

Contributors

ephigenia avatar frdmn avatar harry-harrison avatar jpreardon avatar juhamust avatar openmosix avatar orbitalstudios avatar tswicegood avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

foobugs-dashboard's Issues

Tweets appear immediately, Follower only after 2 minutes (first job execution)

Hi everyone,
if I execute my dashing with this widget, I always get the Tweets by loading the page immediately, but the Followers only after first execution of the job, so after 2 minutes.
I already tried to reorder the commands, but always with the same result.
Has anyone an idea?
Thank you,
Sebastian

twitter_username = ENV['TWITTER_USERNAME'] || 'BWweissenstadt'

SCHEDULER.every '2m', :first_in => 0 do |job|
  doc = Nokogiri::HTML(open("https://twitter.com/#{twitter_username}"))
  followers = doc.css('a[data-nav=followers]').first.attributes['title'].value.split(' ').first
  send_event('twitter', follower: followers)  
  tweets = doc.css('a[data-nav=tweets]').first.attributes['title'].value.split(' ').first
  tweets << " Tweets"
  send_event('twitter', tweet: tweets)
end

twitter_user.rb error

I tried to use the twitter_user.rb file but I receive this error. Is something not right?

scheduler caught exception:
undefined method attributes' for nil:NilClass /home/pi/manch/jobs/twitter_user.rb:14:inblock in <top (required)>'
/home/pi/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in call' /home/pi/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:intrigger_block'
/home/pi/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in block in trigger' /home/pi/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:incall'
/home/pi/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job'

foursquare job error

Hi I got this error when trying to use the foursquare plugin

I just copied the erb file into my dashboard-project/jobs/ directory

All other plugins are working fine, did I missed a step?

scheduler caught exception:
undefined method []' for nil:NilClass */jobs/foursquare_venue.rb:25:inblock in <top (required)>'

Typo in yahoo_stockquote.rb

Hello,

i found there is a little typo in yahoo_stockquote.rb

response = http.request(Net::HTTP::Get.new("/d/quotes.csv?fb=nsac1&s=#{s}"))

should be

response = http.request(Net::HTTP::Get.new("/d/quotes.csv?f=nsac1&s=#{s}"))

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.