housekeeping

This commit is contained in:
Thomas Bishop 2025-12-27 17:31:01 +00:00
parent 4f4139aa38
commit 1fde207c5a
8 changed files with 16 additions and 23 deletions

View file

@ -5,7 +5,7 @@ tags:
# Capturing user input in Bash # Capturing user input in Bash
We use [read](Read_command%20_in_Bash.md) to gather user input. We use [read](/zk/Read_command__in_Bash.md) to gather user input.
## Capturing raw inputs ## Capturing raw inputs
@ -89,8 +89,8 @@ echo "$fave was selected"
### Check right number of arguments supplied ### Check right number of arguments supplied
Here we test that the right number of Here we test that the right number of
[arguments](Passing_arguments_and_options_to_Bash_scripts.md) [arguments](Passing_arguments_and_options_to_Bash_scripts.md) have been passed
have been passed to the script: to the script:
```sh ```sh
if (( $#<3 )); then if (( $#<3 )); then

View file

@ -16,7 +16,7 @@ impersonate legitimate websites.
Certificates exist to authenticate domains, prior to the exchange of encrypted Certificates exist to authenticate domains, prior to the exchange of encrypted
data. To do this, a server generates a certificate with a reputable Certificate data. To do this, a server generates a certificate with a reputable Certificate
Authority, thereby verifying its identity with the CA. It sends this certificate Authority, thereby verifying its identity with the CA. It sends this certificate
(which includes its [public key](./bbdcb54f_public_key_cryptography.md)) when (which includes its [public key](/zk/Public_key_cryptography.md)) when
initiating a connection with a client. initiating a connection with a client.
In addition to the public key, the certificate provides: In addition to the public key, the certificate provides:

View file

@ -70,7 +70,6 @@ As Python is not strictly typed the property accessors are not actually real and
won't throw errors if violated. However there is a syntax convention. won't throw errors if violated. However there is a syntax convention.
- Private - Private
- `__self.property` - `__self.property`
- `def __private method(self)...` - `def __private method(self)...`
@ -109,8 +108,7 @@ class Person:
## Object references ## Object references
When you log a class you get a reference to its hexadecimal [memory](Memory.md) When you log a class you get a reference to its hexadecimal memory reference.
reference.
```py ```py
p1 = Person('John', 36) p1 = Person('John', 36)

View file

@ -4,11 +4,8 @@ tags: [logic-gates, binary, memory]
# Creating memory with NAND gates # Creating memory with NAND gates
The The logic circuit below demonstrates how memory can be created using NAND gates.
[logic circuit](Digital_circuits.md) A single bit is stored in memory.
below demonstrates how memory can be created using
[NAND](Logic_gates.md#nand-gate)
gates. A single bit is stored in memory.
![](/img/nand_latch_logic_circuit.png) Interactive version of circuit: ![](/img/nand_latch_logic_circuit.png) Interactive version of circuit:

View file

@ -14,11 +14,10 @@ Throughout the 1980s, the US National Science Foundation began promoting private
networks that used the ARPANET as their _backbone_. (Private in the sense of not networks that used the ARPANET as their _backbone_. (Private in the sense of not
publicly-funded.) publicly-funded.)
Later, these became commercial and Later, these became commercial and [subscription-based](/zk/Web_precursors.md).
[subscription-based](cfbef1c4_web_precursors.md). A plethora of ..._NETS_ grew A plethora of ..._NETS_ grew up (NSFNET, USENET, CSNET, TELENET etc.), all based
up (NSFNET, USENET, CSNET, TELENET etc.), all based on #packet-switching, the on #packet-switching, the ARPANET nodes as the backbone and
ARPANET nodes as the backbone and [TCP/IP](Link_Layer_of_Internet_Protocol.md) [TCP/IP](Link_Layer_of_Internet_Protocol.md) host communication.
host communication.
These networks, although accessible to the public through subscriptions, These networks, although accessible to the public through subscriptions,
remained unwieldy and inconsistent to access until the Web. remained unwieldy and inconsistent to access until the Web.

View file

@ -17,8 +17,7 @@ they did not see it as a viable alternative to proprietary software, due to the
lack of licensing, customer support and the misapprehension that the product lack of licensing, customer support and the misapprehension that the product
would be inferior. would be inferior.
The turning point came when The turning point came when [Netscape](./Mosaic_Netscape_and_Browser_Wars.md)
[Netscape](./c301a0b3-1d8_Mosaic_Netscape_and_Browser_Wars.md), in a last ditch
effort to resist Microsoft's obliteration of their market, made their effort to resist Microsoft's obliteration of their market, made their
source-code open. This caught the attention of the corporate class and the source-code open. This caught the attention of the corporate class and the
additional media attention led to a greater interest amongst capitalists additional media attention led to a greater interest amongst capitalists

View file

@ -30,8 +30,8 @@ echo $expandedRange
We can access all the arguments passed to a function using the `$@` syntax we We can access all the arguments passed to a function using the `$@` syntax we
encountered before when encountered before when
[passing arguments to scripts](Passing_arguments_to_Bash_scripts.md). (Here a [passing arguments to scripts](/zk/Passing_arguments_and_options_to_Bash_scripts.md).
function is a kind of script in miniature so the process is the same.) (Here a function is a kind of script in miniature so the process is the same.)
```sh ```sh
function numberThings() { function numberThings() {

View file

@ -6,8 +6,8 @@ created: Wednesday, October 23, 2024
# 653c0b1d_host_protocols_of_ARPANET # 653c0b1d_host_protocols_of_ARPANET
The responsibility for enabling communication between nodes fell to the hosts, The responsibility for enabling communication between nodes fell to the hosts,
not the [IMPs](e470bf3d_IMPs_in_the_ARPANET.md). At the lowest level (equivalent not the [IMPs](/zk/IMPs_in_the_ARPANET.md). At the lowest level (equivalent to
to the [link layer](Link_Layer_of_Internet_Protocol.md) in the subsequent the [link layer](Link_Layer_of_Internet_Protocol.md) in the subsequent
internet?), this consisted in moving raw bits between hosts regardless of what internet?), this consisted in moving raw bits between hosts regardless of what
specific type of data they encoded. specific type of data they encoded.