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
| # TheEricMiller.com ~ A test of looping through possible 3 character combos | |
| @output = File.open( "output.txt", "w" ) | |
| def out (content) | |
| @output.puts(content.to_s) | |
| end | |
| def printAlphas | |
| #out("DOMAINSDOMAINSDOMAINSDOMAINSDOMAINSDOMAINSDOMAINS") |
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
| ~) Install / Update OSX / Xcode + command line tools | |
| ~) Install SublimeText2 http://www.sublimetext.com/ | |
| $ sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/bin/subl | |
| ~) Review http://railscasts.com/episodes/292-virtual-machines-with-vagrant | |
| 1) Install http://www.virtualbox.org | |
| 2) Install http://www.vagrantup.com | |
| 3) Choose a http://www.vagrantbox.es | |
| 4) Open Terminal |
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
| config.namespace :master do |admin| | |
| admin.build_menu :utility_navigation do |menu| | |
| #menu.add label: "My Great Website", url: "http://www.mygreatwebsite.com", html_options: { target: :blank } | |
| menu.add :label => proc{ display_name current_active_admin_user }, | |
| :url => '/users/edit', | |
| :id => 'current_user', | |
| :if => proc{ current_active_admin_user? } | |
| admin.add_logout_button_to_menu menu | |
| 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
| # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| config.assets.initialize_on_precompile = false | |
| # ActionMailer ======================================================== | |
| config.action_mailer.delivery_method = :smtp | |
| config.action_mailer.raise_delivery_errors = true | |
| config.action_mailer.default_url_options = { :host => ENV["ACT_MAILER_HOST"] } |
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
| # https://github.com/defunkt/unicorn/tree/master/examples | |
| # Sample verbose configuration file for Unicorn (not Rack) | |
| # | |
| # This configuration file documents many features of Unicorn | |
| # that may not be needed for some applications. See | |
| # http://unicorn.bogomips.org/examples/unicorn.conf.minimal.rb | |
| # for a much simpler configuration file. | |
| # | |
| # See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete |
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
| if [ -f "$rvm_path/scripts/rvm" ]; then | |
| source "$rvm_path/scripts/rvm" | |
| if [ -f ".rvmrc" ]; then | |
| source ".rvmrc" | |
| fi | |
| if [ -f ".ruby-version" ]; then | |
| rvm use `cat .ruby-version` | |
| fi |
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
| # | |
| # Remember: | |
| # Ensure the appropriate gems are defined | |
| # in your Gemfile for each environment | |
| # gem 'sqlite3' | |
| # gem 'pg' | |
| # gem 'mysql2' | |
| # $ bundle | |
| # | |
| # ======================================= |
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
| # ======================================= | |
| # = ACTIVE SECRETS = | |
| # ======================================= | |
| ADMIN_EMAIL: [email protected] | |
| ADMIN_PASSWORD: changeME123 | |
| ROLES: [master, admin, user] | |
| DEVISE_FROM_EMAIL: "Erics Rails <[email protected]>" | |
| DEVISE_SECRET_KEY: "change_me__run_rake_secret_at_terminal_and_paste_in_here" |
NewerOlder