Postagens

Mostrando postagens de abril, 2017

Solving second lesson - dotnet

Go to:  https://github.com/llimacruz/euler/blob/master/Multiples3and5/Program.cs

Solving second lesson - node

Imagem
Take a look at these items: What's the difference between const and let ? What's the meaning of 'use strict'?

Second lesson

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. Source of this challenge:  https://projecteuler.net/problem=1

Solving first lesson - dotnet

Imagem
After installing dotnet core 1.0.1 you can check it: C:\dev\learningLLC\lesson1\dotnet>dotnet --version 1.0.1 You must create the new console solution. You can dot it easily using command line: C:\dev\learningLLC\lesson1\dotnet>dotnet new console -o hellow Getting ready... Content generation time: 71,7361 ms The template "Console Application" created successfully. This command creates a new folder with an hello world console application: C:\dev\learningLLC\lesson1\dotnet\hellow>dir  O volume na unidade C não tem nome.  O Número de Série do Volume é 906E-B7FE  Pasta de C:\dev\learningLLC\lesson1\dotnet\hellow 22/04/2017  11:41    <DIR>          . 22/04/2017  11:41    <DIR>          .. 22/04/2017  11:41               170 hellow.csproj 22/04/2017  11:41               176 Program.cs                2 arquivo(s)            346 bytes                2 pasta(s)   21.007.282.176 bytes disponíveis Type "code ." on prompt and VS

Solving first lesson - node

Imagem
Node After install node 6.10.2 you can check on prompt if everything is all right: C:\dev\learningLLC\lesson1\node>node --version v6.10.2 And you can play for the first time: C:\dev\learningLLC\lesson1\node>node > console.log(1+2) 3 undefined > (To exit, press ^C again or type .exit) > Let's create our Hello World script: Create a new js file. Open it using vscode. Type this complex code: console.log('Hello world') Save. Go to prompt and run it: node [your file]. The extension is optional.

First lesson

You must install: dot net core 1.1 (https://www.microsoft.com/net/download/core)  node 6.9.3 or newer (https://nodejs.org/en/download/) I sugest you use vscode to edit your code. It's fast and free. https://code.visualstudio.com/ In order to check that your environments are ready, please create one hello world console application using c# and another using js.