From ab1203f3ec0e453bff783e3d6d49edda5ea2ffda Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Fri, 10 Feb 2023 18:22:04 +0000 Subject: [PATCH] Autosave: 2023-02-10 18:22:04 --- .../CPU/The_Little_Man_computer.md | 16 +++---- .../Chipset_and_controllers.md | 2 +- .../Hardware_Description_Language.md | 2 +- .../Hardware_abstraction_and_modularity.md | 2 +- Computer_Architecture/Hardware_simulation.md | 2 +- Data_Structures/Recursion.md | 3 +- Databases/ACID_principle.md | 2 +- .../MongoDB/Validating_Mongoose_schemas.md | 2 +- Databases/REST/HTTP_request_types.md | 2 +- Databases/REST/RESTful_APIs.md | 2 +- .../Relational_database_architecture.md | 2 +- .../Autoincrement_for_unique_key_in_SQL.md | 2 +- Databases/SQL/Create_an_SQL_table.md | 2 +- Databases/SQL/Data_types_in_MySQL.md | 2 +- .../SQL/Delete_records_in_an_SQL_table.md | 2 +- Databases/SQL/Foreign_keys_in_SQL.md | 2 +- Databases/SQL/Insert_data_into_SQL_table.md | 2 +- Databases/SQL/Regular_expressions_in_SQL.md | 2 +- Databases/SQL/Retrieve_data_from_SQL_table.md | 2 +- Databases/SQL/Update_an_SQL_table.md | 2 +- .../SQL/Update_existing_data_in_SQL_table.md | 2 +- Databases/SQL/Useful_operators_in_SQL.md | 2 +- Databases/SQL/Wildcards_in_SQL.md | 2 +- .../Analogue_and_digital.md | 2 +- .../Analogue_circuits/Circuits.md | 2 +- .../Analogue_circuits/LEDs.md | 2 +- .../Binary/Binary_encoding_of_text.md | 2 +- .../Binary/Why_computers_use_binary.md | 2 +- .../Digital_circuits/Digital_circuits.md | 2 +- .../Physics_of_electricity/Ohms_Law.md | 2 +- Linux/Procedural/Compile_from_source.md | 2 +- Linux/Procedural/Create_timed_systemd_job.md | 2 +- Linux/Procedural/Pacman.md | 2 +- Linux/Procedural/User_management.md | 7 ++-- Linux/journald.md | 2 +- Linux/systemd.md | 2 +- Logic/Laws_and_theorems.md/DeMorgan's_Laws.md | 2 +- Logic/Proofs/Biconditional_Elimination.md | 2 +- Logic/Proofs/Biconditional_Introduction.md | 2 +- Logic/Proofs/Conditional_Elimination.md | 2 +- Logic/Proofs/Conditional_Introduction.md | 2 +- Logic/Proofs/Conjunction_Elimination.md | 2 +- Logic/Proofs/Conjunction_Introduction.md | 2 +- Logic/Proofs/Disjunction_Elimination.md | 2 +- Logic/Proofs/Disjunction_Introduction.md | 2 +- Logic/Proofs/Negation_Elimination.md | 2 +- Logic/Proofs/Negation_Introduction.md | 2 +- Logic/Proofs/Reiteration.md | 2 +- .../Boolean_function_synthesis.md | 2 +- .../Propositional_logic/Boolean_functions.md | 2 +- Logic/Propositional_logic/Truth-tables.md | 3 +- Logic/Propositional_logic/Truth-trees.md | 2 +- .../Prealgebra/Add_Subtract_Fractions.md | 1 - Mathematics/Prealgebra/Dividing_fractions.md | 1 - .../Prealgebra/Factors_and_divisors.md | 2 - ...easing_fractions_to_their_highest_terms.md | 1 - .../Prealgebra/Inversion_of_operators.md | 1 - .../Prealgebra/Multiplying_fractions.md | 2 +- Mathematics/Prealgebra/Prime_factorization.md | 3 +- .../Prealgebra/Primes_and_composites.md | 2 +- Mathematics/Prealgebra/Reciprocals.md | 1 - Mathematics/Prealgebra/Reducing_fractions.md | 1 - Operating_Systems/Boot_process.md | 1 - Operating_Systems/Disks/Filesystems.md | 1 - Operating_Systems/Disks/Partitions.md | 1 - Operating_Systems/Disks/Swap_space.md | 1 - Operating_Systems/Disks/What_are_disks.md | 1 - Operating_Systems/The_Kernel.md | 2 +- .../Frameworks/React/Hooks/Memoization.md | 5 +-- .../Node/Architecture/Event_loop.md | 1 - .../Module_wrapping_at_runtime.md | 1 - .../Node/Architecture/Ports.md | 1 - .../Modules/Core/Node_JS_events_module.md | 1 - Programming_Languages/Node/Modules/Core/fs.md | 1 - .../Node/Modules/Core/http.md | 1 - Programming_Languages/Node/Modules/Modules.md | 9 ++-- .../Node/Modules/Package_management.md | 1 - .../Node/REST_APIs/Validation.md | 2 +- Programming_Languages/Node/Streams.md | 1 - ...Quote_marks.md => Quote_marks_in_Bash.md} | 2 +- Programming_Languages/Shell/Awk.md | 42 ++++++++++++++++++- .../Shell/Intro_to_the_Unix_shell.md | 1 - Programming_Languages/Shell/Processes.md | 1 - .../Shell/{Test.md => Test_values_in_Bash.md} | 2 +- Set_Theory/Axioms_of_set_theory.md | 1 - Set_Theory/Basic_properties_of_sets.md | 2 +- Software_Engineering/Call_stack.md | 3 +- Software_Engineering/Semantic_versioning.md | 2 +- .../The_Pragmatic_Programmer_1999.md | 3 +- Theory_of_Computation/Defining_a_computer.md | 3 +- Theory_of_Computation/Turing_machines.md | 1 - 91 files changed, 124 insertions(+), 110 deletions(-) rename Programming_Languages/Shell/{Quote_marks.md => Quote_marks_in_Bash.md} (96%) rename Programming_Languages/Shell/{Test.md => Test_values_in_Bash.md} (98%) diff --git a/Computer_Architecture/CPU/The_Little_Man_computer.md b/Computer_Architecture/CPU/The_Little_Man_computer.md index a17c93e..eccee97 100644 --- a/Computer_Architecture/CPU/The_Little_Man_computer.md +++ b/Computer_Architecture/CPU/The_Little_Man_computer.md @@ -1,9 +1,9 @@ --- categories: - Computer Architecture -tags: [CPU, processors] - +tags: [CPU] --- + ## The Little Man Computer // TODO: Improve notes and learn how to use @@ -16,19 +16,19 @@ On the left is the instruction set. Each number constitutes and execution routin Each row of the RAM has a denary address, 1 through to 99. Each address can hold three digits. -* So the instruction `560` would mean *load the number at address 60.* -* The instruction `340` would mean *store a datum at address 40* +- So the instruction `560` would mean _load the number at address 60._ +- The instruction `340` would mean _store a datum at address 40_ ### Working through a basic computation We are going to add two numbers together as a basic example. 1. First we need to place the two numbers in RAM we are going to use `5` and `3` - * At address `60` we will put the number `5` and at address `61` we will put the number `3` - * We are going to start at address `0` in the top left of the RAM grid -1. The first instruction will be *load address 60* which in the assembly will be `560` . We put this in address `0`, our starting point. + - At address `60` we will put the number `5` and at address `61` we will put the number `3` + - We are going to start at address `0` in the top left of the RAM grid +1. The first instruction will be _load address 60_ which in the assembly will be `560` . We put this in address `0`, our starting point. 1. This first instruction is now stored in the accumulator. -1. Now we want to *add this number (in the accumulator) to the number in address 61* +1. Now we want to _add this number (in the accumulator) to the number in address 61_ 1. This second instruction is `161` . We write this in address `1` 1. Finally we want to store the output of the calculation in the RAM, let's say at address `62` 1. So we store the command `362` at address `2` diff --git a/Computer_Architecture/Chipset_and_controllers.md b/Computer_Architecture/Chipset_and_controllers.md index 28a5dfd..a88592f 100644 --- a/Computer_Architecture/Chipset_and_controllers.md +++ b/Computer_Architecture/Chipset_and_controllers.md @@ -2,7 +2,7 @@ categories: - Computer Architecture - Hardware -tags: [motherboard, chipset] +tags: [motherboard] --- # Chipset and controllers diff --git a/Computer_Architecture/Hardware_Description_Language.md b/Computer_Architecture/Hardware_Description_Language.md index 2c181c4..c09cbe2 100644 --- a/Computer_Architecture/Hardware_Description_Language.md +++ b/Computer_Architecture/Hardware_Description_Language.md @@ -2,7 +2,7 @@ categories: - Computer Architecture - Hardware -tags: [HDL, nand-to-tetris] +tags: [nand-to-tetris] --- # Hardware Description Language diff --git a/Computer_Architecture/Hardware_abstraction_and_modularity.md b/Computer_Architecture/Hardware_abstraction_and_modularity.md index 81fd361..b206cab 100644 --- a/Computer_Architecture/Hardware_abstraction_and_modularity.md +++ b/Computer_Architecture/Hardware_abstraction_and_modularity.md @@ -2,7 +2,7 @@ categories: - Computer Architecture - Hardware -tags: [abstraction, modules, nand-to-tetris] +tags: [nand-to-tetris] --- # Hardware abstraction and modularity diff --git a/Computer_Architecture/Hardware_simulation.md b/Computer_Architecture/Hardware_simulation.md index 2d05168..05579a3 100644 --- a/Computer_Architecture/Hardware_simulation.md +++ b/Computer_Architecture/Hardware_simulation.md @@ -2,7 +2,7 @@ categories: - Computer Architecture - Hardware -tags: [HDL, nand-to-tetris] +tags: [nand-to-tetris] --- # Hardware simulation diff --git a/Data_Structures/Recursion.md b/Data_Structures/Recursion.md index 6cdac93..bf358ff 100644 --- a/Data_Structures/Recursion.md +++ b/Data_Structures/Recursion.md @@ -1,8 +1,9 @@ --- -categories: +categories: - DSA tags: - algorithms + - data-structures - recursion --- diff --git a/Databases/ACID_principle.md b/Databases/ACID_principle.md index 2a070dd..0cf0615 100644 --- a/Databases/ACID_principle.md +++ b/Databases/ACID_principle.md @@ -1,7 +1,7 @@ --- categories: - Databases -tags: [relational-database] +tags: [relational-databases] --- # ACID principle diff --git a/Databases/MongoDB/Validating_Mongoose_schemas.md b/Databases/MongoDB/Validating_Mongoose_schemas.md index 52ecb94..1e6eb5e 100644 --- a/Databases/MongoDB/Validating_Mongoose_schemas.md +++ b/Databases/MongoDB/Validating_Mongoose_schemas.md @@ -1,7 +1,7 @@ --- categories: - Databases -tags: [mongodb, node-js, mongoose] +tags: [mongo-db, mongoose, node-js] --- # Validating Mongoose schemas diff --git a/Databases/REST/HTTP_request_types.md b/Databases/REST/HTTP_request_types.md index b4bd6a3..57a56f6 100644 --- a/Databases/REST/HTTP_request_types.md +++ b/Databases/REST/HTTP_request_types.md @@ -2,7 +2,7 @@ categories: - Databases - Networks -tags: [http] +tags: [] --- ## GET diff --git a/Databases/REST/RESTful_APIs.md b/Databases/REST/RESTful_APIs.md index 6374645..326f952 100644 --- a/Databases/REST/RESTful_APIs.md +++ b/Databases/REST/RESTful_APIs.md @@ -1,7 +1,7 @@ --- categories: - Databases -tags: [apis, REST] +tags: [APIs, REST] --- # RESTful APIs diff --git a/Databases/Relational_Databases/Relational_database_architecture.md b/Databases/Relational_Databases/Relational_database_architecture.md index 8a21548..69cb074 100644 --- a/Databases/Relational_Databases/Relational_database_architecture.md +++ b/Databases/Relational_Databases/Relational_database_architecture.md @@ -1,7 +1,7 @@ --- categories: - Databases -tags: [relational-database] +tags: [relational-databases] --- # Relational database architecture diff --git a/Databases/SQL/Autoincrement_for_unique_key_in_SQL.md b/Databases/SQL/Autoincrement_for_unique_key_in_SQL.md index 18621e9..30c531f 100644 --- a/Databases/SQL/Autoincrement_for_unique_key_in_SQL.md +++ b/Databases/SQL/Autoincrement_for_unique_key_in_SQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Autoincrement and `SERIAL` diff --git a/Databases/SQL/Create_an_SQL_table.md b/Databases/SQL/Create_an_SQL_table.md index 0b4c19d..e4616b6 100644 --- a/Databases/SQL/Create_an_SQL_table.md +++ b/Databases/SQL/Create_an_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Create an SQL table diff --git a/Databases/SQL/Data_types_in_MySQL.md b/Databases/SQL/Data_types_in_MySQL.md index 3fca992..a7ddd8b 100644 --- a/Databases/SQL/Data_types_in_MySQL.md +++ b/Databases/SQL/Data_types_in_MySQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Data types in MySQL diff --git a/Databases/SQL/Delete_records_in_an_SQL_table.md b/Databases/SQL/Delete_records_in_an_SQL_table.md index 7beaa56..f30d608 100644 --- a/Databases/SQL/Delete_records_in_an_SQL_table.md +++ b/Databases/SQL/Delete_records_in_an_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Deleting data in SQL diff --git a/Databases/SQL/Foreign_keys_in_SQL.md b/Databases/SQL/Foreign_keys_in_SQL.md index 6213b38..aed40a9 100644 --- a/Databases/SQL/Foreign_keys_in_SQL.md +++ b/Databases/SQL/Foreign_keys_in_SQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Creating views with foreign keys diff --git a/Databases/SQL/Insert_data_into_SQL_table.md b/Databases/SQL/Insert_data_into_SQL_table.md index 45d7bac..3855fba 100644 --- a/Databases/SQL/Insert_data_into_SQL_table.md +++ b/Databases/SQL/Insert_data_into_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Insert data into table with SQL `INSERT` statement diff --git a/Databases/SQL/Regular_expressions_in_SQL.md b/Databases/SQL/Regular_expressions_in_SQL.md index 4df2906..7eb604c 100644 --- a/Databases/SQL/Regular_expressions_in_SQL.md +++ b/Databases/SQL/Regular_expressions_in_SQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database, regex] +tags: [SQL, relational-databases, regex] --- # Regular expressions in SQL diff --git a/Databases/SQL/Retrieve_data_from_SQL_table.md b/Databases/SQL/Retrieve_data_from_SQL_table.md index 97eadbe..314a594 100644 --- a/Databases/SQL/Retrieve_data_from_SQL_table.md +++ b/Databases/SQL/Retrieve_data_from_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Retrieve data from table with SQL `SELECT` statement diff --git a/Databases/SQL/Update_an_SQL_table.md b/Databases/SQL/Update_an_SQL_table.md index efd0651..c05eabe 100644 --- a/Databases/SQL/Update_an_SQL_table.md +++ b/Databases/SQL/Update_an_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Updating an SQL table diff --git a/Databases/SQL/Update_existing_data_in_SQL_table.md b/Databases/SQL/Update_existing_data_in_SQL_table.md index fb6a000..cd3ee62 100644 --- a/Databases/SQL/Update_existing_data_in_SQL_table.md +++ b/Databases/SQL/Update_existing_data_in_SQL_table.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Update existing data with the SQL `UPDATE` command diff --git a/Databases/SQL/Useful_operators_in_SQL.md b/Databases/SQL/Useful_operators_in_SQL.md index 323e8c1..69e5508 100644 --- a/Databases/SQL/Useful_operators_in_SQL.md +++ b/Databases/SQL/Useful_operators_in_SQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Useful operators in SQL diff --git a/Databases/SQL/Wildcards_in_SQL.md b/Databases/SQL/Wildcards_in_SQL.md index 91f02e4..ef6d252 100644 --- a/Databases/SQL/Wildcards_in_SQL.md +++ b/Databases/SQL/Wildcards_in_SQL.md @@ -2,7 +2,7 @@ categories: - Databases - Programming Languages -tags: [SQL, relational-database] +tags: [SQL, relational-databases] --- # Wildcards in SQL diff --git a/Electronics_and_Hardware/Analogue_and_digital.md b/Electronics_and_Hardware/Analogue_and_digital.md index 27f18d2..fff3182 100644 --- a/Electronics_and_Hardware/Analogue_and_digital.md +++ b/Electronics_and_Hardware/Analogue_and_digital.md @@ -2,7 +2,7 @@ title: Analogue and digital categories: - Hardware -tags: [analogue, digital] +tags: [analogue] --- # Analogue and digital diff --git a/Electronics_and_Hardware/Analogue_circuits/Circuits.md b/Electronics_and_Hardware/Analogue_circuits/Circuits.md index 2a53a79..fb34214 100644 --- a/Electronics_and_Hardware/Analogue_circuits/Circuits.md +++ b/Electronics_and_Hardware/Analogue_circuits/Circuits.md @@ -1,7 +1,7 @@ --- categories: - Electronics -tags: [electricity, electrical-circuits] +tags: [electricity, circuits] --- # Circuits diff --git a/Electronics_and_Hardware/Analogue_circuits/LEDs.md b/Electronics_and_Hardware/Analogue_circuits/LEDs.md index 6027624..8ad9195 100644 --- a/Electronics_and_Hardware/Analogue_circuits/LEDs.md +++ b/Electronics_and_Hardware/Analogue_circuits/LEDs.md @@ -1,7 +1,7 @@ --- categories: - Electronics -tags: [electricity, electrical-circuits] +tags: [electricity, circuits] --- # LEDs diff --git a/Electronics_and_Hardware/Binary/Binary_encoding_of_text.md b/Electronics_and_Hardware/Binary/Binary_encoding_of_text.md index cb67dda..0c032ef 100644 --- a/Electronics_and_Hardware/Binary/Binary_encoding_of_text.md +++ b/Electronics_and_Hardware/Binary/Binary_encoding_of_text.md @@ -2,7 +2,7 @@ title: Text encoding categories: - Computer Architecture -tags: [binary, binary-encoding, ascii, unicode, utf-8] +tags: [binary, binary-encoding] --- # Text encoding diff --git a/Electronics_and_Hardware/Binary/Why_computers_use_binary.md b/Electronics_and_Hardware/Binary/Why_computers_use_binary.md index 5bddfa4..658f848 100644 --- a/Electronics_and_Hardware/Binary/Why_computers_use_binary.md +++ b/Electronics_and_Hardware/Binary/Why_computers_use_binary.md @@ -3,7 +3,7 @@ title: Why computers use binary categories: - Mathematics - Computer Architecture -tags: [binary, bits] +tags: [binary] --- # Why computers use binary diff --git a/Electronics_and_Hardware/Digital_circuits/Digital_circuits.md b/Electronics_and_Hardware/Digital_circuits/Digital_circuits.md index 760c74d..e532e6f 100644 --- a/Electronics_and_Hardware/Digital_circuits/Digital_circuits.md +++ b/Electronics_and_Hardware/Digital_circuits/Digital_circuits.md @@ -1,7 +1,7 @@ --- categories: - Electronics -tags: [electrical-circuits] +tags: [circuits] --- # Digital circuits diff --git a/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md b/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md index cf156dd..c8f6bf0 100644 --- a/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md +++ b/Electronics_and_Hardware/Physics_of_electricity/Ohms_Law.md @@ -2,7 +2,7 @@ title: Ohm's Law categories: - Electronics -tags: [physics, electricity, electrical-resistance] +tags: [physics, electricity] --- # Ohm's Law diff --git a/Linux/Procedural/Compile_from_source.md b/Linux/Procedural/Compile_from_source.md index 530d7de..a028f62 100644 --- a/Linux/Procedural/Compile_from_source.md +++ b/Linux/Procedural/Compile_from_source.md @@ -1,7 +1,7 @@ --- categories: - Linux -tags: [compilers] +tags: [] --- # Compile package from source diff --git a/Linux/Procedural/Create_timed_systemd_job.md b/Linux/Procedural/Create_timed_systemd_job.md index 3796835..a8ef9b9 100644 --- a/Linux/Procedural/Create_timed_systemd_job.md +++ b/Linux/Procedural/Create_timed_systemd_job.md @@ -1,7 +1,7 @@ --- categories: - Linux -tags: [systems-programming, systemd] +tags: [systems-programming] --- # Create timed `systemd` job diff --git a/Linux/Procedural/Pacman.md b/Linux/Procedural/Pacman.md index 52c4552..2417a57 100644 --- a/Linux/Procedural/Pacman.md +++ b/Linux/Procedural/Pacman.md @@ -1,7 +1,7 @@ --- categories: - Linux -tags: [package-management] +tags: [] --- # Pacman diff --git a/Linux/Procedural/User_management.md b/Linux/Procedural/User_management.md index 4e419dd..dedf27a 100644 --- a/Linux/Procedural/User_management.md +++ b/Linux/Procedural/User_management.md @@ -1,8 +1,9 @@ --- categories: - - Linux -tags: [user-management] + - Linux +tags: [] --- + # User management ## Switch user @@ -11,6 +12,6 @@ If already logged in as a user you can switch users with the command `su - [user ## Login as root -If you are logged in as a standard user, if you use `su -` without specifying a username, then it will assume you wish to log in as root. +If you are logged in as a standard user, if you use `su -` without specifying a username, then it will assume you wish to log in as root. If you wish to login as root in the tty at startup, then use `root` as the username. diff --git a/Linux/journald.md b/Linux/journald.md index 6ec9d32..1e4989d 100644 --- a/Linux/journald.md +++ b/Linux/journald.md @@ -1,7 +1,7 @@ --- categories: - Linux -tags: [journaling, systemd, systems-programming] +tags: [systems-programming] --- # `journald` diff --git a/Linux/systemd.md b/Linux/systemd.md index 73febaf..6bb1b47 100644 --- a/Linux/systemd.md +++ b/Linux/systemd.md @@ -1,7 +1,7 @@ --- categories: - Linux -tags: [systems-programming, systemd] +tags: [systems-programming] --- # `systemd` diff --git a/Logic/Laws_and_theorems.md/DeMorgan's_Laws.md b/Logic/Laws_and_theorems.md/DeMorgan's_Laws.md index 78990c1..3af1814 100644 --- a/Logic/Laws_and_theorems.md/DeMorgan's_Laws.md +++ b/Logic/Laws_and_theorems.md/DeMorgan's_Laws.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [logic, laws] +tags: [] --- # DeMorgan's Laws diff --git a/Logic/Proofs/Biconditional_Elimination.md b/Logic/Proofs/Biconditional_Elimination.md index 84ad332..de28a32 100644 --- a/Logic/Proofs/Biconditional_Elimination.md +++ b/Logic/Proofs/Biconditional_Elimination.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Biconditional Elimination diff --git a/Logic/Proofs/Biconditional_Introduction.md b/Logic/Proofs/Biconditional_Introduction.md index cef1d4b..5f80444 100644 --- a/Logic/Proofs/Biconditional_Introduction.md +++ b/Logic/Proofs/Biconditional_Introduction.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Biconditional introduction diff --git a/Logic/Proofs/Conditional_Elimination.md b/Logic/Proofs/Conditional_Elimination.md index 5e44711..aa8b169 100644 --- a/Logic/Proofs/Conditional_Elimination.md +++ b/Logic/Proofs/Conditional_Elimination.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Conditional elimination diff --git a/Logic/Proofs/Conditional_Introduction.md b/Logic/Proofs/Conditional_Introduction.md index 92aa925..b0a02e5 100644 --- a/Logic/Proofs/Conditional_Introduction.md +++ b/Logic/Proofs/Conditional_Introduction.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Conditional Introduction diff --git a/Logic/Proofs/Conjunction_Elimination.md b/Logic/Proofs/Conjunction_Elimination.md index e37a62f..2de591c 100644 --- a/Logic/Proofs/Conjunction_Elimination.md +++ b/Logic/Proofs/Conjunction_Elimination.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Conditional Elimination diff --git a/Logic/Proofs/Conjunction_Introduction.md b/Logic/Proofs/Conjunction_Introduction.md index 2aa6f55..c61c904 100644 --- a/Logic/Proofs/Conjunction_Introduction.md +++ b/Logic/Proofs/Conjunction_Introduction.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- If two conjuncts have each been independently derived then they can be conjoined. Also known more simply as _Conjunction_ diff --git a/Logic/Proofs/Disjunction_Elimination.md b/Logic/Proofs/Disjunction_Elimination.md index 4abc0da..c413d8b 100644 --- a/Logic/Proofs/Disjunction_Elimination.md +++ b/Logic/Proofs/Disjunction_Elimination.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Disjunction Elimination diff --git a/Logic/Proofs/Disjunction_Introduction.md b/Logic/Proofs/Disjunction_Introduction.md index a9da165..cb72298 100644 --- a/Logic/Proofs/Disjunction_Introduction.md +++ b/Logic/Proofs/Disjunction_Introduction.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Disjunction Introduction diff --git a/Logic/Proofs/Negation_Elimination.md b/Logic/Proofs/Negation_Elimination.md index c14602a..efc28c9 100644 --- a/Logic/Proofs/Negation_Elimination.md +++ b/Logic/Proofs/Negation_Elimination.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Negation Elimination diff --git a/Logic/Proofs/Negation_Introduction.md b/Logic/Proofs/Negation_Introduction.md index fef95e3..4be1ede 100644 --- a/Logic/Proofs/Negation_Introduction.md +++ b/Logic/Proofs/Negation_Introduction.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Negation Introduction diff --git a/Logic/Proofs/Reiteration.md b/Logic/Proofs/Reiteration.md index e0e8c6f..2c6e2ca 100644 --- a/Logic/Proofs/Reiteration.md +++ b/Logic/Proofs/Reiteration.md @@ -1,7 +1,7 @@ --- categories: - Logic -tags: [derivation-rules] +tags: [] --- # Reiteration diff --git a/Logic/Propositional_logic/Boolean_function_synthesis.md b/Logic/Propositional_logic/Boolean_function_synthesis.md index ca8a11d..bd99053 100644 --- a/Logic/Propositional_logic/Boolean_function_synthesis.md +++ b/Logic/Propositional_logic/Boolean_function_synthesis.md @@ -2,7 +2,7 @@ categories: - Logic - Computer Architecture -tags: [logic, propositional-logic, nand-to-tetris] +tags: [propositional-logic, nand-to-tetris] --- # Boolean function synthesis diff --git a/Logic/Propositional_logic/Boolean_functions.md b/Logic/Propositional_logic/Boolean_functions.md index 34c370b..9e529c1 100644 --- a/Logic/Propositional_logic/Boolean_functions.md +++ b/Logic/Propositional_logic/Boolean_functions.md @@ -2,7 +2,7 @@ categories: - Logic - Computer Architecture -tags: [logic, propositional-logic, nand-to-tetris] +tags: [propositional-logic, nand-to-tetris] --- # Boolean functions diff --git a/Logic/Propositional_logic/Truth-tables.md b/Logic/Propositional_logic/Truth-tables.md index dd22335..9a7abfe 100644 --- a/Logic/Propositional_logic/Truth-tables.md +++ b/Logic/Propositional_logic/Truth-tables.md @@ -1,7 +1,8 @@ --- categories: - Mathematics -tags: [logic] + - Logic +tags: [] --- # Truth-tables diff --git a/Logic/Propositional_logic/Truth-trees.md b/Logic/Propositional_logic/Truth-trees.md index 4a971d2..df129b1 100644 --- a/Logic/Propositional_logic/Truth-trees.md +++ b/Logic/Propositional_logic/Truth-trees.md @@ -1,7 +1,7 @@ --- categories: - Mathematics -tags: [logic] +tags: [] --- ## Rationale diff --git a/Mathematics/Prealgebra/Add_Subtract_Fractions.md b/Mathematics/Prealgebra/Add_Subtract_Fractions.md index 6a68388..653e5df 100644 --- a/Mathematics/Prealgebra/Add_Subtract_Fractions.md +++ b/Mathematics/Prealgebra/Add_Subtract_Fractions.md @@ -4,7 +4,6 @@ categories: tags: - prealgebra - fractions - - division --- # Adding and subtracting fractions diff --git a/Mathematics/Prealgebra/Dividing_fractions.md b/Mathematics/Prealgebra/Dividing_fractions.md index 54d4e64..5dfe8a6 100644 --- a/Mathematics/Prealgebra/Dividing_fractions.md +++ b/Mathematics/Prealgebra/Dividing_fractions.md @@ -4,7 +4,6 @@ categories: tags: - prealgebra - fractions - - division --- # Dividing fractions diff --git a/Mathematics/Prealgebra/Factors_and_divisors.md b/Mathematics/Prealgebra/Factors_and_divisors.md index e50e927..73db8ac 100644 --- a/Mathematics/Prealgebra/Factors_and_divisors.md +++ b/Mathematics/Prealgebra/Factors_and_divisors.md @@ -3,8 +3,6 @@ categories: - Mathematics tags: - prealgebra - - factors - - divisors --- ## Factors and divisors diff --git a/Mathematics/Prealgebra/Increasing_fractions_to_their_highest_terms.md b/Mathematics/Prealgebra/Increasing_fractions_to_their_highest_terms.md index 1e81884..a53b36c 100644 --- a/Mathematics/Prealgebra/Increasing_fractions_to_their_highest_terms.md +++ b/Mathematics/Prealgebra/Increasing_fractions_to_their_highest_terms.md @@ -4,7 +4,6 @@ categories: tags: - prealgebra - fractions - - divisors --- Given the equivalence between factors and divisors we can increase fractions to higher terms in a very similar way to when we reduce fractions. In the latter case we are dividing by divisors to reduce. In the former, we are multiplying by factors to increase. diff --git a/Mathematics/Prealgebra/Inversion_of_operators.md b/Mathematics/Prealgebra/Inversion_of_operators.md index 40f7620..34b1541 100644 --- a/Mathematics/Prealgebra/Inversion_of_operators.md +++ b/Mathematics/Prealgebra/Inversion_of_operators.md @@ -3,7 +3,6 @@ categories: - Mathematics tags: - prealgebra - - operators --- ## Addition, subtraction diff --git a/Mathematics/Prealgebra/Multiplying_fractions.md b/Mathematics/Prealgebra/Multiplying_fractions.md index d1233f1..448c20d 100644 --- a/Mathematics/Prealgebra/Multiplying_fractions.md +++ b/Mathematics/Prealgebra/Multiplying_fractions.md @@ -4,7 +4,7 @@ categories: tags: - prealgebra - fractions - - multiplication + - arithmetic --- # Multiplying fractions diff --git a/Mathematics/Prealgebra/Prime_factorization.md b/Mathematics/Prealgebra/Prime_factorization.md index 8b9c076..d0769e4 100644 --- a/Mathematics/Prealgebra/Prime_factorization.md +++ b/Mathematics/Prealgebra/Prime_factorization.md @@ -3,8 +3,7 @@ categories: - Mathematics tags: - prealgebra - - factors - - primes + - number-theory --- ### Prime factorisation diff --git a/Mathematics/Prealgebra/Primes_and_composites.md b/Mathematics/Prealgebra/Primes_and_composites.md index 52c82b2..7c21ef4 100644 --- a/Mathematics/Prealgebra/Primes_and_composites.md +++ b/Mathematics/Prealgebra/Primes_and_composites.md @@ -3,7 +3,7 @@ categories: - Mathematics tags: - prealgebra - - primes + - number-theory --- ## Prime and composite numbers diff --git a/Mathematics/Prealgebra/Reciprocals.md b/Mathematics/Prealgebra/Reciprocals.md index f9b8e91..f942f7c 100644 --- a/Mathematics/Prealgebra/Reciprocals.md +++ b/Mathematics/Prealgebra/Reciprocals.md @@ -4,7 +4,6 @@ categories: tags: - prealgebra - fractions - - division - theorems --- diff --git a/Mathematics/Prealgebra/Reducing_fractions.md b/Mathematics/Prealgebra/Reducing_fractions.md index 376bfa5..689841e 100644 --- a/Mathematics/Prealgebra/Reducing_fractions.md +++ b/Mathematics/Prealgebra/Reducing_fractions.md @@ -4,7 +4,6 @@ categories: tags: - prealgebra - fractions - - divisors --- ## Reducing fractions to their lowest terms diff --git a/Operating_Systems/Boot_process.md b/Operating_Systems/Boot_process.md index af729c6..10cf1cf 100644 --- a/Operating_Systems/Boot_process.md +++ b/Operating_Systems/Boot_process.md @@ -4,7 +4,6 @@ categories: - Operating Systems tags: - disks - - bootloader --- # The boot process diff --git a/Operating_Systems/Disks/Filesystems.md b/Operating_Systems/Disks/Filesystems.md index b374b49..8dd9c78 100644 --- a/Operating_Systems/Disks/Filesystems.md +++ b/Operating_Systems/Disks/Filesystems.md @@ -4,7 +4,6 @@ categories: - Operating Systems tags: - disks - - filesystems --- # Filesystems diff --git a/Operating_Systems/Disks/Partitions.md b/Operating_Systems/Disks/Partitions.md index 5934264..44b4134 100644 --- a/Operating_Systems/Disks/Partitions.md +++ b/Operating_Systems/Disks/Partitions.md @@ -5,7 +5,6 @@ categories: tags: - disks - - devices --- # Disk partitions diff --git a/Operating_Systems/Disks/Swap_space.md b/Operating_Systems/Disks/Swap_space.md index 5e1abc4..234085f 100644 --- a/Operating_Systems/Disks/Swap_space.md +++ b/Operating_Systems/Disks/Swap_space.md @@ -5,7 +5,6 @@ categories: tags: - memory - disks - - devices --- # Swap space diff --git a/Operating_Systems/Disks/What_are_disks.md b/Operating_Systems/Disks/What_are_disks.md index a4d9f76..cfed33a 100644 --- a/Operating_Systems/Disks/What_are_disks.md +++ b/Operating_Systems/Disks/What_are_disks.md @@ -4,7 +4,6 @@ categories: - Operating Systems tags: - disks - - devices --- # What are disks? diff --git a/Operating_Systems/The_Kernel.md b/Operating_Systems/The_Kernel.md index 80b3170..1ea74d8 100644 --- a/Operating_Systems/The_Kernel.md +++ b/Operating_Systems/The_Kernel.md @@ -1,7 +1,7 @@ --- categories: - Operating Systems -tags: [systems-programming, processes, memory] +tags: [systems-programming, memory] --- # The Kernel diff --git a/Programming_Languages/Frameworks/React/Hooks/Memoization.md b/Programming_Languages/Frameworks/React/Hooks/Memoization.md index 5010298..9b2ddf1 100644 --- a/Programming_Languages/Frameworks/React/Hooks/Memoization.md +++ b/Programming_Languages/Frameworks/React/Hooks/Memoization.md @@ -5,7 +5,6 @@ tags: - javascript - react - react-hooks - - memoization --- # Memoization with `useCallback` and `useMemo` @@ -49,7 +48,7 @@ const handleSubmit = useCallback( .finally(() => setPendSaveConfig(false)) .catch((err) => console.error(err)); }, - [blockId, project_id], + [blockId, project_id] ); ``` @@ -103,6 +102,6 @@ const List = React.useMemo( itemProp1: expensiveFunction(props.first), itemProp2: anotherPriceyFunction(props.second), })), - [listOfItems], + [listOfItems] ); ``` diff --git a/Programming_Languages/Node/Architecture/Event_loop.md b/Programming_Languages/Node/Architecture/Event_loop.md index 1a1b1bc..a09a5a2 100644 --- a/Programming_Languages/Node/Architecture/Event_loop.md +++ b/Programming_Languages/Node/Architecture/Event_loop.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - async --- # The Event Loop diff --git a/Programming_Languages/Node/Architecture/Module_wrapping_at_runtime.md b/Programming_Languages/Node/Architecture/Module_wrapping_at_runtime.md index c3d3432..e2449d2 100644 --- a/Programming_Languages/Node/Architecture/Module_wrapping_at_runtime.md +++ b/Programming_Languages/Node/Architecture/Module_wrapping_at_runtime.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- ## The Module Wrapper Function diff --git a/Programming_Languages/Node/Architecture/Ports.md b/Programming_Languages/Node/Architecture/Ports.md index c42cf87..ca2defb 100644 --- a/Programming_Languages/Node/Architecture/Ports.md +++ b/Programming_Languages/Node/Architecture/Ports.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- # Ports diff --git a/Programming_Languages/Node/Modules/Core/Node_JS_events_module.md b/Programming_Languages/Node/Modules/Core/Node_JS_events_module.md index 656ce72..8d2f4a2 100644 --- a/Programming_Languages/Node/Modules/Core/Node_JS_events_module.md +++ b/Programming_Languages/Node/Modules/Core/Node_JS_events_module.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- # Node.js `events` module diff --git a/Programming_Languages/Node/Modules/Core/fs.md b/Programming_Languages/Node/Modules/Core/fs.md index b420613..cea8113 100644 --- a/Programming_Languages/Node/Modules/Core/fs.md +++ b/Programming_Languages/Node/Modules/Core/fs.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- # `fs` module diff --git a/Programming_Languages/Node/Modules/Core/http.md b/Programming_Languages/Node/Modules/Core/http.md index e48dfde..f5f4edc 100644 --- a/Programming_Languages/Node/Modules/Core/http.md +++ b/Programming_Languages/Node/Modules/Core/http.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- # `http` module diff --git a/Programming_Languages/Node/Modules/Modules.md b/Programming_Languages/Node/Modules/Modules.md index 10ecc69..83d6320 100644 --- a/Programming_Languages/Node/Modules/Modules.md +++ b/Programming_Languages/Node/Modules/Modules.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - node-modules --- # Modules @@ -65,7 +64,7 @@ module.exports = function (...params) { Note the module is unnamed. We would name it when we import: ```js -const myFunction = require('./filenme'); +const myFunction = require("./filenme"); ``` ### Exporting sub-components from a module @@ -85,7 +84,7 @@ var nonExportedVar = true; This time the exports are already name so we would import with the following: ```js -const {myFunc, aVar} = require('./filename'); +const { myFunc, aVar } = require("./filename"); ``` We can also do the exporting at the bottom when the individual components are named: @@ -104,13 +103,13 @@ exports.myNamedFunc = myNamedFunc; exports.differentName = anotherNamedFunc; // We can use different names // Or we could export them together -module.exports = {myNamedFunc, anotherNamedFunc}; +module.exports = { myNamedFunc, anotherNamedFunc }; ``` The import is the same: ```js -const {myNamedFunc, anotherNamedFunc} = require('./modules/multiExports'); +const { myNamedFunc, anotherNamedFunc } = require("./modules/multiExports"); ``` ## Structuring modules diff --git a/Programming_Languages/Node/Modules/Package_management.md b/Programming_Languages/Node/Modules/Package_management.md index 06bac45..9f05513 100644 --- a/Programming_Languages/Node/Modules/Package_management.md +++ b/Programming_Languages/Node/Modules/Package_management.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - npm --- # Package management diff --git a/Programming_Languages/Node/REST_APIs/Validation.md b/Programming_Languages/Node/REST_APIs/Validation.md index 5b24e9f..3606d65 100644 --- a/Programming_Languages/Node/REST_APIs/Validation.md +++ b/Programming_Languages/Node/REST_APIs/Validation.md @@ -1,7 +1,7 @@ --- categories: - Programming Languages -tags: [backend, node-js, REST, APIs, validation] +tags: [backend, node-js, REST, APIs] --- # Creating a RESTful API: Validation diff --git a/Programming_Languages/Node/Streams.md b/Programming_Languages/Node/Streams.md index 948624f..99c98e5 100644 --- a/Programming_Languages/Node/Streams.md +++ b/Programming_Languages/Node/Streams.md @@ -4,7 +4,6 @@ categories: tags: - backend - node-js - - streams --- # Handling streams with `fs` diff --git a/Programming_Languages/Shell/Quote_marks.md b/Programming_Languages/Shell/ Quote_marks_in_Bash.md similarity index 96% rename from Programming_Languages/Shell/Quote_marks.md rename to Programming_Languages/Shell/ Quote_marks_in_Bash.md index 954c536..5ad91fc 100644 --- a/Programming_Languages/Shell/Quote_marks.md +++ b/Programming_Languages/Shell/ Quote_marks_in_Bash.md @@ -5,7 +5,7 @@ tags: - shell --- -# Quote marks +# Quote marks in Bash ## Single-quotes (aka _strong_ quotes) diff --git a/Programming_Languages/Shell/Awk.md b/Programming_Languages/Shell/Awk.md index 046eb4e..168a4a3 100644 --- a/Programming_Languages/Shell/Awk.md +++ b/Programming_Languages/Shell/Awk.md @@ -22,7 +22,11 @@ awk [program] file1, file2, file3 awk -f [ref_to_script_file] file1, file2, file3 ``` -We can also obviously pipe to it. +We can also pipe to it. This piped command receives output from the `echo` command and prints the value in the last field for each record: + +```bash +echo -e "1 2 3 5\n2 2 3 8" | awk '{print $(NF)}' +``` ## Syntactic structure @@ -54,6 +58,8 @@ Alfred 65 Kate 46 ``` +> `awk` particularly lends itself to inputs that are structured by whitespace or in columns, like what you get from commands like `ls` and `grep` + ### Patterns and actions The basic structure of an `awk` script is as follows: @@ -146,4 +152,38 @@ awk '$2 >= 90 { print $0 }' scores.txt This returns the records where there is a secondary numerical field that is greater than 90. +**_Match a field against a regular expression_** + +```bash +awk '$1 ~ /^[b,c]/ {print $1}' words.txt +``` + +This matches all the fields in the `$1` place that begin with 'b' or 'c'. + +The tilde is the regex match operator. You must be passing a regex to use it, otherwise use `==`. + +## Syntactic shorthands + +- For a statement like `awk 'length($1) > 5 { print $0 }' list.txt`. We actually don't need to include the `{ print $0 }` action, as this is the default behaviour and it is implied. We could have just put `length($1) > 5 list.txt`. + https://zetcode.com/lang/awk/ + +## Built-in variables + +### `NF` + +The value of `NF` is the **number** of **fields** in the current record. `Awk` automatically updates the value of `NF` every time it reads a record. + +No matter how many fields there are, the last value in a record can always be represented by `$NF`. + +### `NR` + +`NR` represents the **number** of **records**. It is set at the point at which the file is read. + +### `FS` + +`FS` represents the **field separator**. The default field separator is a space. We can specify a different separator with the `-F` flag. E.g to separate by comma: + +```bash +awk -F, '{print $1 }' list.txt +``` diff --git a/Programming_Languages/Shell/Intro_to_the_Unix_shell.md b/Programming_Languages/Shell/Intro_to_the_Unix_shell.md index 68e387c..7aaeb08 100644 --- a/Programming_Languages/Shell/Intro_to_the_Unix_shell.md +++ b/Programming_Languages/Shell/Intro_to_the_Unix_shell.md @@ -3,7 +3,6 @@ categories: - Programming Languages tags: - shell - - unix --- ## Unix based systems diff --git a/Programming_Languages/Shell/Processes.md b/Programming_Languages/Shell/Processes.md index 0eda07b..a174d13 100644 --- a/Programming_Languages/Shell/Processes.md +++ b/Programming_Languages/Shell/Processes.md @@ -3,7 +3,6 @@ categories: - Programming Languages tags: - shell - - processes --- # Processes (`ps`) diff --git a/Programming_Languages/Shell/Test.md b/Programming_Languages/Shell/Test_values_in_Bash.md similarity index 98% rename from Programming_Languages/Shell/Test.md rename to Programming_Languages/Shell/Test_values_in_Bash.md index 78cb156..ce6084b 100644 --- a/Programming_Languages/Shell/Test.md +++ b/Programming_Languages/Shell/Test_values_in_Bash.md @@ -5,7 +5,7 @@ tags: - shell --- -# Test in bash +# Test values in Bash `test` is a built-in command that is used to compare values or determine whether something is the case. diff --git a/Set_Theory/Axioms_of_set_theory.md b/Set_Theory/Axioms_of_set_theory.md index f66a858..add578e 100644 --- a/Set_Theory/Axioms_of_set_theory.md +++ b/Set_Theory/Axioms_of_set_theory.md @@ -2,7 +2,6 @@ categories: - Mathematics tags: - - logic - set-theory - theorems --- diff --git a/Set_Theory/Basic_properties_of_sets.md b/Set_Theory/Basic_properties_of_sets.md index 4d03e8c..7646024 100644 --- a/Set_Theory/Basic_properties_of_sets.md +++ b/Set_Theory/Basic_properties_of_sets.md @@ -1,8 +1,8 @@ --- categories: - Mathematics + - Logic tags: - - logic - set-theory --- diff --git a/Software_Engineering/Call_stack.md b/Software_Engineering/Call_stack.md index 74f919f..df7398c 100644 --- a/Software_Engineering/Call_stack.md +++ b/Software_Engineering/Call_stack.md @@ -1,8 +1,7 @@ --- categories: - Software Engineering -tags: - - callstack +tags: [] --- # The call-stack diff --git a/Software_Engineering/Semantic_versioning.md b/Software_Engineering/Semantic_versioning.md index 240abae..ca87293 100644 --- a/Software_Engineering/Semantic_versioning.md +++ b/Software_Engineering/Semantic_versioning.md @@ -1,7 +1,7 @@ --- categories: - Software Engineering -tags: [semver] +tags: [] --- # Semantic versioning diff --git a/Software_Engineering/The_Pragmatic_Programmer_1999.md b/Software_Engineering/The_Pragmatic_Programmer_1999.md index d804030..a789ac0 100644 --- a/Software_Engineering/The_Pragmatic_Programmer_1999.md +++ b/Software_Engineering/The_Pragmatic_Programmer_1999.md @@ -1,8 +1,7 @@ --- categories: - Software Engineering -tags: - - resources +tags: [] --- ## General diff --git a/Theory_of_Computation/Defining_a_computer.md b/Theory_of_Computation/Defining_a_computer.md index ab60e65..a69562c 100644 --- a/Theory_of_Computation/Defining_a_computer.md +++ b/Theory_of_Computation/Defining_a_computer.md @@ -3,9 +3,10 @@ categories: - Computer Architecture tags: - theory-of-computation - - history --- +# Defining a computer + > A general-purpose computer is one that, given the appropriate instructions and required time, should be able to perform most common computing tasks. This sets a general purpose computer aside from a special-purpose computer, like the one you might find in your dishwasher which may have its instructions hardwired or coded into the machine. Special purpose computers only perform a single set of tasks according to prewritten instructions. We’ll take the term _computer_ to mean general purpose computer. diff --git a/Theory_of_Computation/Turing_machines.md b/Theory_of_Computation/Turing_machines.md index 6573e36..2872ee1 100644 --- a/Theory_of_Computation/Turing_machines.md +++ b/Theory_of_Computation/Turing_machines.md @@ -3,7 +3,6 @@ categories: - Computer Architecture tags: - theory-of-computation - - turing --- ## What is a Turing Machine?