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
| #include<stdio.h> | |
| #include<string.h> | |
| int subpadrao(char romano[], int decimal, int base, char letra_1, char letra_5, char letra_10) { | |
| while(decimal >= 10 * base) { | |
| strncat(romano, &letra_10, 1); | |
| decimal -= 10 * base; | |
| } | |
| if(decimal >= 9 * base) { | |
| strncat(romano, &letra_1, 1); |
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
| # Considerando que o ano está em $7 | |
| main: # Divisíveis por 400 são bissextos | |
| addi $8, $0, 400 | |
| div $7, $8 | |
| mfhi $9 | |
| beq $9, 0, bissexto | |
| # Divisíveis por 100 e não por 400 não são bissextos | |
| addi $8, $0, 100 |
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
| dns - http://freedns.ws | |
| google apps - http://google.com/a | |
| yola, pra criar o site - http://www.yola.com/ | |
| logonerds, logos por $50 - http://www.logonerds.com/ | |
| wuffo, forms builder - http://wufoo.com/ | |
| analytics, pra monitorar - http://www.google.com/analytics/ | |
| blog (tumblr) | |
| adwords |
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
| run 'gem sources -a http://gemcutter.org' | |
| git :init | |
| file '.gitignore', <<TXT | |
| log/*.log | |
| tmp/**/* | |
| db/*.sqlite3 | |
| .DT_Store | |
| TXT |
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
| run 'gem sources -a http://gemcutter.org' | |
| git :init | |
| file '.gitignore', <<TXT | |
| log/*.log | |
| tmp/**/* | |
| db/*.sqlite3 | |
| .DT_Store | |
| TXT |
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 pagseguro | |
| render unless request.post? | |
| seller = Seller.find params[:id] | |
| pagseguro_notification(seller.authenticity_token) do |notification| | |
| # ... | |
| 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
| = pagseguro_form @order, :submit => "Efetuar pagamento!", :email => @seller.email |
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
| namespace :templates do | |
| desc "Copy all the templates from rails to the application directory for customization" | |
| task :copy do | |
| require 'rubygems' | |
| require 'rubygems/gem_runner' | |
| require 'fileutils' | |
| railties = (version = ENV['VERSION']) ? | |
| Gem.cache.find_name('railties', "= #{version}").first : | |
| Gem.cache.find_name('railties').sort_by { |g| g.version }.last | |
| base_path = railties.full_gem_path |
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
| ART 131 001 Photography I | |
| ART 141 001 Beginning Graphic Design | |
| ASTR 1010 001 Intro to Astronomy I | |
| BUS 101 001 Intro to Business | |
| BUS 104 W01 Computer Presentations | |
| BUS 112 T01 Personal Finance | |
| BUS 278 T01 Entrepreneurship |