pusewicz / sonia Goto Github PK
View Code? Open in Web Editor NEWAwesome Office Dashboard
Home Page: http://pusewicz.github.io/sonia/
License: MIT License
Awesome Office Dashboard
Home Page: http://pusewicz.github.io/sonia/
License: MIT License
Possibly using http://github.com/sgruhier/scripty2-carousel
In the configuration file, for the weather widget, it would be nice to specify both Celsius and Fahrenheit. The calculation could be done in the model or even client side. Since I'm in the US, I prefer F followed by C =)
The weather widget has a small layout issue. If I have a location like "Mountain View", then the text clobbers the temperature. An easy fix on my end in CSS, but thought you want to know.
Prepend all CSS declarations with widgets SHA1 ID.
Eg
.yahoo_widget p { color: black }
would become
#86f7e437faa5a7fce15d1ddcb9eaeaea377667b8 .yahoo_widget p { color: black }
We need to hide console.log invocations in case it is not available in a browser (IE, older Firefox / Safari)
Following the install steps, on step 'cd sonia'
I get:
ruby-1.9.1@sonia is not installed
I am using ruby version 1.9.1p378
Attempt to follow instruction and 'rvm install ruby-1.9.1@sonia' results in:
'The requested url does not exist: ftp://ftp.ruby-lang.org/pub/ruby/1.9/[email protected]
There has been an error while trying to fetch the source. Aborting the installation.
There has been an error fetching the ruby interpreter. Aborting the installation.
So I justr tried trying to get github and twitter working with Sonia, and the log for app looks fine. I see that its fetching the proper information, however nothing is being displayed on the views. I just see a blank Sonia page. In firebug I am seeing a bunch of javascript errors saying : 'Reference Error: JSON is not defined.'
Any ideas as to what is going in here?
Currently, whole EM get's blocked by Tfl widget trying to fetch slow API,
Implement em-httprequest instead of Net::HTTP to fetch data.
In the example configuration file, put a comment that explains what "Follows" does on the twitter widget. (It might be worth looking at the configuration file to see which attributes are not obvious and putting in comments for them, much like the apache httpd.conf file)
Issues with Github widgets whining about incompatible encoding
http://github.com/gimite/web-socket-js
This should sort out Firefox 3.6, IE and others
Add documentation for our JavaScript
Add support for Superfeedr pushes
resize: both;
overflow: auto;
min-width: 50px; /suggest a mid-width & min-height/
min-height 50px;
Only works in WebKit and Chrome.
http://github.com/carlhuda/bundler/blob/master/Rakefile
See SpecTask#ruby_cmd
Issues on ubuntu when starting websocket on 0.0.0.0 and trying to connect to localhost
Change initial push to use non-blocking em-httprequest.
It looks great on Chrome and Safari on the OS 10.5.8 -- yet on Firefox, all is see is the logo "project sonia" and none of the widgets. I thought I wasn't running the project correctly until, out of desperation, I tried it on a different browser.
SASS is nicer and has support for nested rules, variables, mixins, and more, all in a concise, readable syntax.
in the configuration file specify an x,y location for each of the widgets. This would be helpful if the production machine restarts.
It will be easier to get up and running quickly, plus it's going to be easier to drop in custom widgets.
Would work similarly to rails command, say:
gem install sonia
sonia init <- generates directory structure of a new sonia app
sonia start --config config/config.yml
It would contain a config
and empty widgets
directory:
config/
widgets/
Gemfile
I followed the instructions to run Sonia - from cloning the repo to running ./bin/sonia and this is what happens.
will@mini ~/source/sonia(master) % bundle install ruby-1.9.2-p180@sonia_upstream Fetching source index for http://rubygems.org/ Using rake (0.8.7) Installing activesupport (3.0.3) Installing addressable (2.2.2) Installing configuration (1.1.0) Installing daemons (1.1.0) Installing escape_utils (0.1.9) with native extensions Installing eventmachine (0.12.10) with native extensions Installing em-http-request (0.3.0) with native extensions Installing em-websocket (0.2.0) Installing gemcutter (0.6.1) Installing git (1.2.5) Installing haml (3.0.25) Installing i18n (0.5.0) Installing json_pure (1.4.6) Installing rubyforge (2.0.4) Installing jeweler (1.4.0) Installing launchy (0.3.7) Installing nokogiri (1.4.4) with native extensions Installing rack (1.2.1) Installing roauth (0.0.3) Installing roxml (3.1.6) Installing rspec (1.3.0) Installing tilt (1.2.1) Installing sinatra (1.1.2) Installing thin (1.2.7) with native extensions Installing thor (0.14.6) Installing twitter-stream (0.1.10) Installing yajl-ruby (0.7.9) with native extensions Installing yard (0.6.1) Using bundler (1.0.12) Updating .gem files in vendor/cache * i18n-0.5.0.gem * roxml-3.1.6.gem Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. will@mini ~/source/sonia(master) % cp ~/mycode/sonia/example/config.yml example ruby-1.9.2-p180@sonia_upstream will@mini ~/source/sonia(master) % ./bin/sonia start --config example/config.yml ruby-1.9.2-p180@sonia_upstream /Users/will/source/sonia/lib/sonia/cli.rb:1:in `require': no such file to load -- thor (LoadError) from /Users/will/source/sonia/lib/sonia/cli.rb:1:in `' from ./bin/sonia:15:in `require' from ./bin/sonia:15:in `'
That's the end of this story. Hope you enjoyed it.
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.