ephigenia / foobugs-dashboard Goto Github PK
View Code? Open in Web Editor NEWvarious dashing dashboard jobs
Home Page: http://foobugs-dashboard.herokuapp.com/
various dashing dashboard jobs
Home Page: http://foobugs-dashboard.herokuapp.com/
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:in
block 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:in
trigger_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: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/scheduler.rb:430:in `block in trigger_job'
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:in
block in <top (required)>'
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
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}"))
Closed issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.