- There are three types of permissions in files and folders in unix
- Read (r)
- Write (w)
- Execute (x)
- And, there is a classification of users called UGO (explained bellow):
- U ~> User (usually, you)
This file contains 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
class AirplanesController < ApplicationController | |
before_action :set_airplane, only: [:show, :edit, :update, :destroy] | |
# GET /airplanes | |
# GET /airplanes.json | |
def index | |
@airplanes = Airplane.all | |
end | |
# GET /airplanes/1 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
This file contains 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
Homebrew build logs for gcc on macOS 10.13.1 | |
Build date: 2018-09-08 03:06:27 |
Because pointers can be ugh
To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".
When declaring a variable by identifier (or name), the variable is synonymous with its value.
This file contains 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
diff --git a/src/parsing/keywords.txt b/src/parsing/keywords.txt | |
index 5ed039459e2..9872a7bad09 100644 | |
--- a/src/parsing/keywords.txt | |
+++ b/src/parsing/keywords.txt | |
@@ -43,6 +43,7 @@ in, Token::IN | |
instanceof, Token::INSTANCEOF | |
interface, Token::FUTURE_STRICT_RESERVED_WORD | |
let, Token::LET | |
+loop, Token::LOOP | |
new, Token::NEW |