search for: jhsu802701

Displaying 8 results from an estimated 8 matches for "jhsu802701".

2012 Feb 13
1
Enabling auto-login
How do you enable auto-login? I went into /etc/lightdm/lightdm.conf, uncommented autologin-user (and set it to = my login name), and uncommented autologin-user-timeout (and set it to = 0). Is there something else I missed? -- Jason Hsu <jhsu802701 at jasonhsu.com>
2012 Feb 10
1
Changing the appearance of the login box
...ounts. What I miss from SLiM is the better-looking login box. The default login box of LightDM is ugly. How do I change the appearance of the login box? I'd like to make it translucent, shrink the session box, and eliminate the icon and the computer name from the display. -- Jason Hsu <jhsu802701 at jasonhsu.com>
2013 Nov 01
0
Using Chef to set the database name, username, and password
One of my Ruby on Rails apps is Bargain Stock Funds (https://github.com/jhsu802701/bsf), and it relies on a Ruby gem called bsf_scrape (https://github.com/jhsu802701/bsf_scrape) to obtain and process data on stock funds and then save the results in a PostgreSQL database. As you well know, the config/database.yml file needs the database name, the username, and the password. My...
2011 Oct 26
3
My Ruby on Rails procedures and projects
Check out the Ruby on Rails page on my web site at: http://jasonhsu.com/ror.html I''ve included my procedure for installing Ruby on Rails in Linux Mint Debian Edition. That''s right, I''m no longer dependent on Ubuntu or Ubuntu-based Linux distros for developing Ruby on Rails applications. Linux Mint Debian Edition offers the smoothness and user-friendliness of its
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report that (as of the end of section 7) I''m able to get things working. (That said, I skipped the section on automated testing, as Hartl warned that automated testing is the most likely part of his book to become outdated.) There is a heavy emphasis on the "bundle exec rspec spec" tests.
2013 Apr 23
4
Examples of long AND WELL-WRITTEN Ruby scripts
I''m looking for examples of Ruby scripts that are long AND well-written. I have a Ruby script for scraping information on stock ETFs and mutual funds and storing the data in a Postgres database at https://github.com/jhsu802701/bsf-scrape/blob/master/scrape.rb . While I need to make some minor changes to it (like providing external options to choose between the long and short version, as the "Enter blahblahblah within 20 seconds" approach doesn''t work in a cron job), I know I need to make one major...
2011 Nov 13
1
How do you execute "rails runner" in Heroku?
I''m going through the 4th edition of the book _Agile Web Development in Rails_. One of the exercises involves automatically creating 100 orders. The command to run locally is "rails runner script/load_orders.rb". I have no problems here - it works. What''s the command for running this in the deployed Heroku application? -- You received this message because you
2012 Apr 04
0
NEW GROUP: Hunt Bugs Club
Come join the new Hunt Bugs Club. The web site is http://huntbugs.com/. The forum is on Google Groups at http://groups.google.com/group/hunt-bugs-club. This group will meet on the 3rd Wednesday of the month at Clockwork (http://www.clockwork.net). The next meeting is on Wednesday May 16th. The lightning talks will include: Bookmarklets: Andrew Leaf How to Write a Good Bug: Chris Countryman