sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator
Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
Unofficial documentation to internal Riot Games APIs for LOL eSports.
Unofficial documentation to internal Riot Games APIs for LOL eSports.
During my studies of object oriented programming and good practices, one law/practice have gained my attention, and this was the Law of Demeter (LoD). But why this law have gained my attetion so easy? Simple, when I readed the principles os LoD I remembered a lot of codes that I have coded that breaks this law.
(Short Answer) — Basically LoD say that your object can only talk with their neighbors. On some OOP languages, simplify thinking "Use only one dot".
Basic Operations
The basic operations of one programming language is the basic math and logical operators.
Math
#include <stdio.h> | |
#include <stdlib.h> | |
void populateMatrix(int* matrix[], int width, int height) { | |
for(size_t i = 0; i < width; i++) { | |
for(size_t j = 0; j < height; j++) { | |
matrix[i][j] = i+j; | |
} | |
} | |
} |
class Book | |
attr_reader :name, :author, :year | |
def initialize(name, author, year) | |
@name = name | |
@author = author | |
@year = year | |
end | |
def full_description |
Command | Operator | Usage |
---|---|---|
00000000 | stop | |
00000001 | load | memória -> acumulador |
00000010 | store | acumulador -> memória |
00000100 | add | acumulador -> acumulador + memória |
00000101 | negativo | inverte sinal do acumulador |
00001000 | jump | desvia em condicional |
00001001 | jle | desvia se acum = 0 |
00001010 | jgt | desvia se acum > 0 |