Skip to content

Instantly share code, notes, and snippets.

View maurcarvalho's full-sized avatar
🏠
Working from home

Mauricio Carvalho maurcarvalho

🏠
Working from home
View GitHub Profile
Ruby
Eloquent Ruby
https://www.amazon.com.br/Eloquent-Ruby-Addison-Wesley-Professional-English-ebook/dp/B004MMEJ36/ref=pd_sim_351_1/136-3687290-4461049?_encoding=UTF8&pd_rd_i=B004MMEJ36&pd_rd_r=42f88deb-1ed7-47c4-aac4-163ee4ff5e9f&pd_rd_w=EfbNl&pd_rd_wg=FBkxF&pf_rd_p=d2d53995-00ef-407f-adf9-927f95b37e2f&pf_rd_r=Y11BYC4TSA9SZ93X4F1Y&psc=1&refRID=Y11BYC4TSA9SZ93X4F1Y
Design Patterns in Ruby (Addison-Wesley Professional Ruby Series) (English Edition)
" Design Patterns in Ruby is a great way for programmers from statically typed objectoriented languages to learn how design patterns appear in a more dynamic, flexible language like Ruby."
https://www.amazon.com.br/Design-Patterns-Addison-Wesley-Professional-English-ebook/dp/B004YW6M6G/ref=asc_df_B004YW6M6G/?tag=googleshopp00-20&linkCode=df0&hvadid=379765265654&hvpos=1o5&hvnetw=g&hvrand=14190543716732712248&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1001773&hvtargid=pla-405660882128&psc=1
the Ruby Way: Solutions and Techniques in Ruby Programmin
Warning: key() expects parameter 1 to be array, null given in /home/rmalta/blog_remote/wp-content/themes/voyager/framework/core/class.admin.php on line 301
Warning: Cannot modify header information - headers already sent by (output started at /home/rmalta/blog_remote/wp-content/themes/voyager/framework/core/class.admin.php:301) in /home/rmalta/blog_remote/wp-includes/pluggable.php on line 1167
Warning: Cannot modify header information - headers already sent by (output started at /home/rmalta/blog_remote/wp-content/themes/voyager/framework/core/class.admin.php:301) in /home/rmalta/blog_remote/wp-includes/pluggable.php on line 1167
/*
1. Imprimir a mensagem: “É preciso fazer todos os algoritmos
para aprender”
*/
package Exercicio_1;
public class MainClass {
public static void main(String[] args) {
System.out.println("É preciso fazer todos os algoritmos para aprender");
$mkdir nome-pasta-projeto
$mvn archetype:generate -DarchetypeGroupId=br.com.caelum.vraptor.archetypes -DarchetypeArtifactId=vraptor-archetype-webapp-blank -DarchetypeVersion=0.1.0 -DarchetypeRepository=http://vraptor-archetypes.googlecode.com/svn/trunk/repo
cd sample-project
$ mvn -Dwtpversion=1.0 eclipse:eclipse
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x) Archetype: vraptor-archetype-webapp-blank:0.1.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: br.com.mcarvalho.wsclient
[INFO] Parameter: packageName, Value: br.com.mcarvalho.wsclient
[INFO] Parameter: package, Value: br.com.mcarvalho.wsclient
[INFO] Parameter: artifactId, Value: sample-project
[INFO] Parameter: basedir, Value: C:\Users\mauriciosantos\Documents\GitHub\ws-client
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] project created from Old (1.x) Archetype in dir: C:\Users\mauriciosantos\Documents\GitHub\ws-client\sample-project
Define value for property 'groupId': : br.com.mcarvalho.wsclient
Define value for property 'artifactId': : sample-project
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': br.com.mcarvalho.wsclient: :
Após isso será solicitado a confirmação, digite Y (yes)
Confirm properties configuration:
groupId: br.com.mcarvalho.wsclient
artifactId: sample-project