diff --git a/docs/Public/Software/Operating Systems/Bash cheat sheet.md b/docs/Public/Software/Operating Systems/Bash cheat sheet.md index 482e7737c..6c32c4b24 100644 --- a/docs/Public/Software/Operating Systems/Bash cheat sheet.md +++ b/docs/Public/Software/Operating Systems/Bash cheat sheet.md @@ -109,4 +109,9 @@ fi ``` - `$?` stores the exit code for the last command -[^1]: https://www.cyberciti.biz/faq/grep-in-bash/ \ No newline at end of file +[^1]: https://www.cyberciti.biz/faq/grep-in-bash/ + +```shell +p10k configure +``` +- Configure `powerlevel10k` looks \ No newline at end of file diff --git a/docs/Public/Software/Theory/concurrent programming.md b/docs/Public/Software/Theory/concurrent programming.md new file mode 100644 index 000000000..f96932f20 --- /dev/null +++ b/docs/Public/Software/Theory/concurrent programming.md @@ -0,0 +1,3 @@ +*Concurrent programming* is a paradigm where tasks are executed simultaneously. + +Examples include Go, Rust, Erlang \ No newline at end of file diff --git a/docs/Public/Software/Theory/functional programming.md b/docs/Public/Software/Theory/functional programming.md new file mode 100644 index 000000000..32f98922b --- /dev/null +++ b/docs/Public/Software/Theory/functional programming.md @@ -0,0 +1,3 @@ +*Functional programming* is a paradigm which consists of the composition of functions ([[pure function]]). It can evaluate mathematical functions. + +Examples include Lisp, \ No newline at end of file diff --git a/docs/Public/Software/Theory/immutable.md b/docs/Public/Software/Theory/immutable.md new file mode 100644 index 000000000..071b76e14 --- /dev/null +++ b/docs/Public/Software/Theory/immutable.md @@ -0,0 +1,5 @@ +*Immutable* refers to the state of an object - specifically, that it cannot be modified after creation. [^1] + +This is in contrast to *mutable* objects, where they can be modified after creation. + +[^1]: https://www.tiny.cloud/blog/mutable-vs-immutable-javascript/ \ No newline at end of file diff --git a/docs/Public/Software/Theory/imperative programming.md b/docs/Public/Software/Theory/imperative programming.md new file mode 100644 index 000000000..fa7cb5262 --- /dev/null +++ b/docs/Public/Software/Theory/imperative programming.md @@ -0,0 +1,3 @@ +*Imperative programming* is a paradigm that follows a sequence of commands, which updates the state of a program. + +Examples include C, C++, Go, Cobol, Fortran, Java. \ No newline at end of file diff --git a/docs/Public/Software/Theory/pure function.md b/docs/Public/Software/Theory/pure function.md new file mode 100644 index 000000000..b9f714b76 --- /dev/null +++ b/docs/Public/Software/Theory/pure function.md @@ -0,0 +1,4 @@ +A *pure function* in [[programming]] is a [[function]] with the following properties: + +1. A *pure function* always produce the same outputs for the same inputs +2. A *pure function* is [[immutable]] i.e. it will not affect any arguments or variables outside its scope \ No newline at end of file diff --git a/docs/Public/Software/Tools/Productivity/MacOS cheat sheet.md b/docs/Public/Software/Tools/Productivity/MacOS cheat sheet.md index 94da0221d..69147fa5f 100644 --- a/docs/Public/Software/Tools/Productivity/MacOS cheat sheet.md +++ b/docs/Public/Software/Tools/Productivity/MacOS cheat sheet.md @@ -4,4 +4,6 @@ `shift` + `cmd` + q`:` Quit all applications -`cmd` + `shift` + `g`: Search for path in Finder \ No newline at end of file +`cmd` + `shift` + `g`: Search for path in Finder + +`cmd` + `m`: Minimize window \ No newline at end of file