GithubHelp home page GithubHelp logo

pusewicz / sonia Goto Github PK

View Code? Open in Web Editor NEW
122.0 122.0 18.0 13.62 MB

Awesome Office Dashboard

Home Page: http://pusewicz.github.io/sonia/

License: MIT License

Ruby 48.69% Gherkin 0.27% CSS 26.29% JavaScript 23.71% HTML 1.04%

sonia's People

Contributors

barrym avatar bitdeli-chef avatar copiousfreetime avatar dependabot[bot] avatar edavis10 avatar lucaspiller avatar marcusleemitchell avatar pusewicz 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  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

sonia's Issues

Weather widget show Fahrenheit and Celsius

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 =)

Sandbox all widgets

Prepend all CSS declarations with widgets SHA1 ID.

Eg

.yahoo_widget p { color: black }

would become

#86f7e437faa5a7fce15d1ddcb9eaeaea377667b8 .yahoo_widget p { color: black }

Create custom log class

We need to hide console.log invocations in case it is not available in a browser (IE, older Firefox / Safari)

Error on install: 'ruby-1.9.1@sonia is not installed'

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.

Nothing is showing up on display

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?

Twitter Widget

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)

Ruby 1.9.1

Issues with Github widgets whining about incompatible encoding

Add resize css

resize: both;
overflow: auto;
min-width: 50px; /suggest a mid-width & min-height/
min-height 50px;

Only works in WebKit and Chrome.

Doesn't render on Firefox 3.0.10

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.

Gemify Sonia

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

Starting sonia error - can't find 'thor'

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.

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.