I hereby claim:
- I am agustibr on github.
- I am agustibr (https://keybase.io/agustibr) on keybase.
- I have a public key ASCLMXdzYDzOpbvcsDb4xzvbmFZhrBLo4KG-J8Be0hRw4go
To claim this, I am signing this object:
| # The customer class represents the customer of the store. | |
| class Customer | |
| attr_reader :name | |
| def initialize(name) | |
| @name = name | |
| @rentals = [] | |
| end | |
| def add_rental(arg) |
I hereby claim:
To claim this, I am signing this object:
| alias lsa="ls -alt" | |
| be() { bundle exec "$@" ;} | |
| ber() { be rails "$@" ;} | |
| bej() { be jekyll "$@" ;} |
Si vols fer una prova d’enviament d'email des de la consola de rails, des de el servidor pots entrar via ssh i anar a
cd /var/www/app-dir/currenti executar una consola de rails amb la següent comada:
RAILS_ENV=preproduction bundle exec rails cEPIC: Collaborative Space · Issue #2840 · decidim/decidim
This page is made up of:
| #!/bin/bash | |
| # Usage: | |
| # $ brew install mysql | |
| # $ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist | |
| # $ bash -c "$(curl -fsSL https://gist.github.com/richardcornish/e9093757a6977b1b6b5b/raw)" | |
| echo "Welcome to the MySQL generator!" | |
| read -p "Database name: " dbname | |
| read -p "Database user: " dbuser |
| Start | |
| ===== | |
| 1. Install Git | |
| http://git-scm.com/download/mac | |
| (But consider using Homebrew) | |
| 2. Make a GitHub account | |
| https://github.com/ | |
| 3. Open Terminal |
| source :rubygems | |
| gem 'sinatra' | |
| gem 'json' | |
| gem 'omniauth' | |
| gem 'omniauth-oauth2' | |
| gem 'omniauth-github' | |
| gem 'omniauth-facebook' | |
| gem 'omniauth-twitter' | |
| # gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) |
| <div class="container"> | |
| <input type="checkbox" id="left" class="toggle-input show-left" /> | |
| <input type="checkbox" id="right" class="toggle-input show-right" /> | |
| <header> | |
| <label for="left" class="toggle">show-left</label> | |
| <label for="right" class="toggle">show-right</label> | |
| <h1>header</h1> | |
| </header> | |
| <div class="left" id="left">left</div> | |
| <div class="main">main</div> |
| <header>Header</header> | |
| <nav>Navigation</nav> | |
| <article>Article</article> | |
| <article>Article</article> | |
| <article>Article</article> | |
| <section>Section</section> | |
| <section>Section</section> | |
| <section>Section</section> | |
| <section>Section</section> |