e-commerce software
open-source
rails/ruby based
For programmers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Confreaks: | |
| http://confreaks.tv/videos/larubyconf2013-refactoring-fat-models-with-patterns | |
| http://confreaks.tv/videos/railsconf2015-nothing-is-something | |
| http://confreaks.tv/videos/railsconf2012-ten-things-you-didn-t-know-rails-could-do | |
| http://confreaks.tv/videos/burlingtonruby2014-breaking-up-with-the-asset-pipeline | |
| http://confreaks.tv/videos/railsconf2015-docker-isn-t-just-for-deployment | |
| http://confreaks.tv/videos/rubyconf2014-enumerable-for-fun-profit | |
| http://confreaks.tv/videos/rubymanor3-programming-with-nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def foo(x) | |
| case x | |
| when 10 then 'The number Ten' | |
| when String then 'A String' | |
| when lambda{|x| x%2==1 } then 'An odd number' | |
| when (1..9) then 'In range' | |
| end | |
| end | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Program Nov-1 | |
| Sessions: | |
| - TryRuby | |
| - Before Rails | |
| ~~ Lunch | |
| - Sinatra | |
| - Rails-1 | |
| ~~ Tea Break |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## open class | |
| class Array | |
| def second_last | |
| self[-2] | |
| end | |
| end | |
| class Array | |
| def first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # How to run: | |
| # ruby scrape.alexa.rb | |
| # | |
| # Output: | |
| # 20 files each with the data in csv format | |
| # | |
| # Dependencies: | |
| # ruby version > 1.9 # "ruby -v" to check | |
| # nokogiri gem # "gem install nokogiri" to install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To produce a database.yml file for production environment, | |
| # while installing with Capistrano, and using | |
| # database initialization recipe from here - http://gist.github.com/2769 | |
| # for rails3-mysql | |
| production: | |
| adapter: mysql2 | |
| database: <%= "#{application}_production" %> |
NewerOlder