From e06273ebcccb3651bee9a0fe73b6f4e73c0b1de2 Mon Sep 17 00:00:00 2001 From: Sebastian Saip Date: Wed, 13 Dec 2017 10:31:30 +0100 Subject: [PATCH 1/2] fix typo, streamline apt-get --- lesson-3/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lesson-3/README.md b/lesson-3/README.md index 64fb3cc..9dcb8db 100644 --- a/lesson-3/README.md +++ b/lesson-3/README.md @@ -25,8 +25,8 @@ ## Linux installation instructions -1. Install curl if you haven't got it already by typing `sudo apt install curl` -2. Install *Node.js* by first typing `curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -` which will fetch source files for the apt package. Then type `sudo apt update` to download the package lists from the repositories and updates them to get information on the newest versions of packages and their dependencies. Then type `sudo apt-get install -y nodejs` to get Node.js installed. For latest instructions you can always go to [official Node.js insllation isntructions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions). -3. Install *Geth* by first typing `sudo add-apt-repository -y ppa:ethereum/ethereum` to add Ethereum to apt source list. Then `sudo apt update` and finally `sudo apt install ethereum`. +1. Install curl if you haven't got it already by typing `sudo apt-get install curl` +2. Install *Node.js* by first typing `curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -` which will fetch source files for the apt package. Then type `sudo apt-get update` to download the package lists from the repositories and updates them to get information on the newest versions of packages and their dependencies. Then type `sudo apt-get install -y nodejs` to get Node.js installed. For latest instructions you can always go to [official Node.js installation instructions](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions). +3. Install *Geth* by first typing `sudo add-apt-repository -y ppa:ethereum/ethereum` to add Ethereum to apt source list. Then `sudo apt-get update` and finally `sudo apt-get install ethereum`. 4. Install *testrpc* by typing `sudo npm install -g ethereumjs-testrpc`. -5. Install *truffle* by typing `sudo npm install -g truffle`. \ No newline at end of file +5. Install *truffle* by typing `sudo npm install -g truffle`. From 568b0378b8a62ecef006173e8a8dfe175846f81e Mon Sep 17 00:00:00 2001 From: Sebastian Saip Date: Wed, 13 Dec 2017 15:51:38 +0100 Subject: [PATCH 2/2] fix typo --- lesson-7/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lesson-7/README.md b/lesson-7/README.md index b692a7b..da288ea 100644 --- a/lesson-7/README.md +++ b/lesson-7/README.md @@ -32,7 +32,7 @@ Public functions are part of the contract interface and can be either called int ## `internal` -Interval functions and state variables can only be accessed internally (i.e. from within the current contract or contracts deriving from it), without using `this`. +Internal functions and state variables can only be accessed internally (i.e. from within the current contract or contracts deriving from it), without using `this`. `internal` can be compared to `protected` visibility in object-oriented languages such as Java. @@ -119,4 +119,4 @@ contract ChattyInherited is Chatty { ## Resources - http://solidity.readthedocs.io/en/develop/contracts.html?highlight=visibility#visibility-and-getters -- https://ethereum.stackexchange.com/questions/19380/external-vs-public-best-practices?answertab=active#tab-top \ No newline at end of file +- https://ethereum.stackexchange.com/questions/19380/external-vs-public-best-practices?answertab=active#tab-top