Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2df085d

Browse files
committedJul 13, 2022
reorg: utilize readme over index
1 parent 8db82ca commit 2df085d

30 files changed

+400
-351
lines changed
 

‎README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
# info
22

3-
collection of info that helps me to do my jobs
3+
collection of info that helps me to do my jobs. Arranged mainly to be search with [GitHub Code Search](https://cs.github.com/)
4+
5+
- [Angular](./angular/readme.md)
6+
- [bash](./bash/readme.md)
7+
- [blogs](./blogs.md)
8+
- [browsers](./browsers/readme.md)
9+
- [certifications](./certifications.md)
10+
- [coding](./coding/readme.md)
11+
- [git](./git/readme.md)
12+
- [GitHub Syntax Highlighting Languages](https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md)
13+
- [javascript](./javascript/readme.md)
14+
- [jest](./jest/readme.md)
15+
- [maria](./maria/readme.md)
16+
- [nodejs](./nodejs/readme.md)
17+
- [terminals](./terminals/)
18+
- [windows](./windows/readme.md)
File renamed without changes.

‎bash/bash-help.md

Lines changed: 1 addition & 153 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,3 @@
11
# Bash Help
22

3-
The [Bourne Again SHell (aka BASH)](https://en.wikipedia.org/wiki/Bash_(Unix_shell)) is installed by [Git for Windows](https://git-for-windows.github.io/) and is available on the Mac as [Terminal](https://en.wikipedia.org/wiki/Terminal_(macOS)). Bash is a programming language with an interactive component. This means that it can execute scripts on its own or be run within a [terminal emulator](./terminals/terminals.md). Git Bash's terminal emulator is called [minTTY](http://mintty.github.io/) but it doesn't work well with console applications thus is is recommended to use [ConEmu](https://conemu.github.io/) instead.
4-
5-
* [Working with bash](#working-with-bash)
6-
* [Basic Keyboard Short-cuts](#basic-keyboard-short-cuts)
7-
* [Getting Around](#getting-around)
8-
* [Saving Time](#saving-time)
9-
* [Pipes](#pipes)
10-
* [History](#history)
11-
* [Alias](#alias)
12-
* [Resources](#resources)
13-
* [Sources](#sources)
14-
15-
## Working with bash
16-
17-
Since this team uses either Windows or Mac OS/X, only examples pertaining to Git For Windows (Git Bash) or Mac Terminal will be identified below. There a lot of other programs that are installed with _Git for Windows_ other than Bash and Git (see [GNU Core Utils](https://en.wikipedia.org/wiki/GNU_Core_Utilities)). This document will refer to them all as part of Bash.
18-
19-
### Basic Keyboard Short-cuts
20-
21-
[More Here](https://ss64.com/bash/syntax-keyboard.html)
22-
23-
| Operation | Windows | Mac<sup>Terminal</sup> |
24-
| :------------- | :------------- |:------------- |
25-
| Back one character | `ctrl + b` or `left arrow` | |
26-
| Back one word | `alt + b` | |
27-
| Clear screen (except current line) | `ctrl + l` | |
28-
| Command Completion | `tab` | `tab` |
29-
| Copy text to clipboard | `ctrl + c` or `ctrl + insert` | `ctrl + insert` |
30-
| Delete word in front of cursor | `alt + d` | |
31-
| Forward one character | `ctrl + f` or `right arrow` | |
32-
| Forward one word | `alt + f` | |
33-
| Move to end of line | `ctrl + e` | |
34-
| Move to start of line | `ctrl + a` | |
35-
| Next Command | `ctrl + n` or `down arrow` | |
36-
| Open new terminal | `alt + F2` | |
37-
| Paste text from clipboard | `ctrl + v` | `shift + insert` |
38-
| Previous command (show) | `ctrl + p` or `up arrow` | |
39-
| Previous command (execute) | `!!` | |
40-
| Switch between windows | `ctrl + shift + tab` | &nbsp; |
41-
42-
By default, git-Bash will copy text to the clipboard whenever it has been selected with a mouse. And will paste that text when the middle mouse button is clicked.
43-
44-
### Getting Around
45-
46-
Describing all of the capabilities of each bash or GNU program is outside the scope of this document. You are encouraged to Google `man <command name>` for additional detail.
47-
48-
| Action | Command |
49-
| :------------- | :------------- |
50-
| Change directory | `cd <name of directory`; Use quotes if name contain spaces |
51-
| Copy a file | `cp <name of file> <destination>` |
52-
| Create a file | `echo "stuff" > <name of file` (see [Bash I/O redirection](http://www.tldp.org/LDP/abs/html/io-redirection.html)) |
53-
| Create an empty file | `touch <name of file>` |
54-
| Find a file | `find ` There is a Windows command by the same name so you will likely need to create an alias for `find . -name "*help.md" -type f -print` |
55-
| Move a file | `mv <name of file> <destination` |
56-
| Rename a file | `mv <name of file> <new name>` |
57-
| Search inside a file | `grep <regular expression> <file name>` |
58-
| Show content of file | `cat <name of file>`; pipe to `less` to page |
59-
| Show current directory | `pwd` |
60-
| Show directory contents | `ls`; common options are `-l` = long, `h` = human, `tr` = sort by time reverse |
61-
| Show first n lines of file | `head -n 5 <name of file>` |
62-
| Show last n lines of file | `tail -n 5 <name of file>`; add `-f ` to continuously watch |
63-
64-
### Saving Time
65-
66-
* [Pipes](#pipes)
67-
* [History](#history)
68-
* [Alias](#alias)
69-
* [Learn](#resources)
70-
71-
##### Pipes
72-
73-
The output from most commands can be directed to another command by way of a `|` pipe. This enables one to chain a series of commands separated by pipes. `history | grep find | grep -v 'grep find' | awk '{ print $1 }' | sort -r | head -n 1`
74-
75-
#### History
76-
77-
Bash maintains a history of command lines executed. To see this list, enter `history`.
78-
79-
```bash
80-
$ history
81-
...
82-
35 2017-08-01 15:47:17 |yarn add log4js yargs
83-
36 2017-08-01 15:47:41 |yarn remove yargs
84-
37 2017-08-01 15:47:50 |yarn add yargs
85-
38 2017-08-01 15:53:40 |yarn add eslint --dev
86-
39 2017-08-01 15:55:02 |clear
87-
40 2017-08-01 16:00:37 |yarn add cflint --dev
88-
41 2017-08-01 16:00:37 |ls -lh
89-
```
90-
91-
One can pipe the output to `grep` in order to find specific commands.
92-
93-
```bash
94-
$ history | grep 'yarn add' | grep -v history
95-
34 2017-08-01 15:46:19 |yarn add --save log4js yargs
96-
35 2017-08-01 15:47:17 |yarn add log4js yargs
97-
37 2017-08-01 15:47:50 |yarn add yargs
98-
38 2017-08-01 15:53:40 |yarn add eslint --dev
99-
40 2017-08-01 16:00:37 |yarn add cflint --dev
100-
46 2017-08-01 16:06:21 |yarn add eslint@3.19.0
101-
47 2017-08-01 16:06:40 |yarn add eslint@3.19.0 --dev
102-
51 2017-08-01 16:07:24 |yarn add eslint@3.19.0 --dev
103-
694 2017-08-04 23:23:35 |yarn add gulp-watch --dev
104-
```
105-
Typing `!` followed by a line number will copy that command to the command line. `!41` will place `ls -lh` onto command line
106-
107-
#### Alias
108-
109-
When ever a new shell is started, bash looks in your home folder (`cd ~`) for a configuration file named `.bashrc` and loads it into the new shell. This does not effect already open shells. To pick up any changes in an existing shell, enter `source ~/.bashrc`
110-
111-
An alias can be created with the command `alias <name>="<command>"` where _name_ is a single case-sensitive word and _command_ is a valid command line or script name contained in quotes. There must **not** be spaces adjacent to the equals sign.
112-
113-
```bash
114-
$ alias ll="ls -lhtr"
115-
$ ll
116-
total 53K
117-
-rw-r--r-- 1 JONESB 1049089 344 Aug 1 17:50 README.md
118-
drwxr-xr-x 1 JONESB 1049089 0 Aug 1 17:50 images/
119-
-rw-r--r-- 1 JONESB 1049089 1.7K Aug 7 15:13 development-environment.md
120-
drwxr-xr-x 1 JONESB 1049089 0 Aug 7 16:07 editors/
121-
-rw-r--r-- 1 JONESB 1049089 8.8K Aug 7 16:07 js-style.md
122-
-rw-r--r-- 1 JONESB 1049089 4.7K Aug 7 16:07 synchronize.md
123-
-rw-r--r-- 1 JONESB 1049089 9.0K Aug 7 16:21 git-help.md
124-
-rw-r--r-- 1 JONESB 1049089 7.3K Aug 7 16:21 github-workflow.md
125-
-rw-r--r-- 1 JONESB 1049089 1.5K Aug 7 17:45 bash-help.md
126-
```
127-
128-
Best to confirm an alias works as desired by using the `alias` command. Once confirmed, add it to your `.bashrc` file if it exists, create it otherwise.
129-
130-
To see a list of all aliases available in current shell, type `alias` by itself.
131-
132-
```bash
133-
$ alias
134-
alias gcm='git commit'
135-
alias gco='git checkout'
136-
alias gst='git status'
137-
alias ll='ls -lhtr'
138-
alias ls='ls -F --color=auto --show-control-chars'
139-
alias node='winpty node.exe'
140-
```
141-
Aliases also accept arguments from command line like any other command. Thus given the `gco` alias above, one can create a new git branch with `gco -b <branch name>`
142-
143-
### Resources
144-
145-
Bash and GNU together are incredibly powerful but like most things, one has to invest time into learning. These are some tutorials and sites which have been found to be helpful.
146-
147-
* [Lynda.com - Bash Shell and Scripts](https://www.lynda.com/Linux-tutorials/Linux-Bash-Shell-Scripts/504429-2.html)
148-
* [Bash For Beginners](http://tldp.org/LDP/Bash-Beginners-Guide/html/)
149-
* [Bash Programming](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html)
150-
* [Bash One Liners](http://www.bashoneliners.com/)
151-
152-
## Sources
153-
154-
* [Terminals](https://en.wikipedia.org/wiki/Computer_terminal)
155-
* [Console Applications](https://en.wikipedia.org/wiki/Console_application)
3+
[moved](./readme.md)

‎bash/one-liners.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

‎bash/readme.md

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# Bash Help
2+
3+
The [Bourne Again SHell (aka BASH)](https://en.wikipedia.org/wiki/Bash_(Unix_shell)) is installed by [Git for Windows](https://git-for-windows.github.io/) and is available on the Mac as [Terminal](https://en.wikipedia.org/wiki/Terminal_(macOS)). Bash is a programming language with an interactive component. This means that it can execute scripts on its own or be run within a [terminal emulator](./terminals/terminals.md). Git Bash's terminal emulator is called [minTTY](http://mintty.github.io/) but it doesn't work well with console applications thus is is recommended to use [ConEmu](https://conemu.github.io/) instead.
4+
5+
- [Working with bash](#working-with-bash)
6+
- [Basic Keyboard Short-cuts](#basic-keyboard-short-cuts)
7+
- [Getting Around](#getting-around)
8+
- [Saving Time](#saving-time)
9+
- [Pipes](#pipes)
10+
- [History](#history)
11+
- [Alias](#alias)
12+
- [One-liners](#one-liners)
13+
- [Locate some Git repositories](#locate-some-git-repositories)
14+
- [Count commits in my repositories](#count-commits-in-my-repositories)
15+
- [Resources](#resources)
16+
- [Sources](#sources)
17+
18+
## Working with bash
19+
20+
Since this team uses either Windows or Mac OS/X, only examples pertaining to Git For Windows (Git Bash) or Mac Terminal will be identified below. There a lot of other programs that are installed with _Git for Windows_ other than Bash and Git (see [GNU Core Utils](https://en.wikipedia.org/wiki/GNU_Core_Utilities)). This document will refer to them all as part of Bash.
21+
22+
### Basic Keyboard Short-cuts
23+
24+
[More Here](https://ss64.com/bash/syntax-keyboard.html)
25+
26+
| Operation | Windows | Mac<sup>Terminal</sup> |
27+
| :--------------------------------- | :---------------------------- | :--------------------- |
28+
| Back one character | `ctrl + b` or `left arrow` | |
29+
| Back one word | `alt + b` | |
30+
| Clear screen (except current line) | `ctrl + l` | |
31+
| Command Completion | `tab` | `tab` |
32+
| Copy text to clipboard | `ctrl + c` or `ctrl + insert` | `ctrl + insert` |
33+
| Delete word in front of cursor | `alt + d` | |
34+
| Forward one character | `ctrl + f` or `right arrow` | |
35+
| Forward one word | `alt + f` | |
36+
| Move to end of line | `ctrl + e` | |
37+
| Move to start of line | `ctrl + a` | |
38+
| Next Command | `ctrl + n` or `down arrow` | |
39+
| Open new terminal | `alt + F2` | |
40+
| Paste text from clipboard | `ctrl + v` | `shift + insert` |
41+
| Previous command (show) | `ctrl + p` or `up arrow` | |
42+
| Previous command (execute) | `!!` | |
43+
| Switch between windows | `ctrl + shift + tab` | &nbsp; |
44+
45+
By default, git-Bash will copy text to the clipboard whenever it has been selected with a mouse. And will paste that text when the middle mouse button is clicked.
46+
47+
### Getting Around
48+
49+
Describing all of the capabilities of each bash or GNU program is outside the scope of this document. You are encouraged to Google `man <command name>` for additional detail.
50+
51+
| Action | Command |
52+
| :------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ |
53+
| Change directory | `cd <name of directory`; Use quotes if name contain spaces |
54+
| Copy a file | `cp <name of file> <destination>` |
55+
| Create a file | `echo "stuff" > <name of file` (see [Bash I/O redirection](http://www.tldp.org/LDP/abs/html/io-redirection.html)) |
56+
| Create an empty file | `touch <name of file>` |
57+
| Find a file | `find ` There is a Windows command by the same name so you will likely need to create an alias for `find . -name "*help.md" -type f -print` |
58+
| Move a file | `mv <name of file> <destination` |
59+
| Rename a file | `mv <name of file> <new name>` |
60+
| Search inside a file | `grep <regular expression> <file name>` |
61+
| Show content of file | `cat <name of file>`; pipe to `less` to page |
62+
| Show current directory | `pwd` |
63+
| Show directory contents | `ls`; common options are `-l` = long, `h` = human, `tr` = sort by time reverse |
64+
| Show first n lines of file | `head -n 5 <name of file>` |
65+
| Show last n lines of file | `tail -n 5 <name of file>`; add `-f ` to continuously watch |
66+
67+
### Saving Time
68+
69+
* [Pipes](#pipes)
70+
* [History](#history)
71+
* [Alias](#alias)
72+
* [Learn](#resources)
73+
74+
#### Pipes
75+
76+
The output from most commands can be directed to another command by way of a `|` pipe. This enables one to chain a series of commands separated by pipes. `history | grep find | grep -v 'grep find' | awk '{ print $1 }' | sort -r | head -n 1`
77+
78+
#### History
79+
80+
Bash maintains a history of command lines executed. To see this list, enter `history`.
81+
82+
```bash
83+
$ history
84+
...
85+
35 2017-08-01 15:47:17 |yarn add log4js yargs
86+
36 2017-08-01 15:47:41 |yarn remove yargs
87+
37 2017-08-01 15:47:50 |yarn add yargs
88+
38 2017-08-01 15:53:40 |yarn add eslint --dev
89+
39 2017-08-01 15:55:02 |clear
90+
40 2017-08-01 16:00:37 |yarn add cflint --dev
91+
41 2017-08-01 16:00:37 |ls -lh
92+
```
93+
94+
One can pipe the output to `grep` in order to find specific commands.
95+
96+
```bash
97+
$ history | grep 'yarn add' | grep -v history
98+
34 2017-08-01 15:46:19 |yarn add --save log4js yargs
99+
35 2017-08-01 15:47:17 |yarn add log4js yargs
100+
37 2017-08-01 15:47:50 |yarn add yargs
101+
38 2017-08-01 15:53:40 |yarn add eslint --dev
102+
40 2017-08-01 16:00:37 |yarn add cflint --dev
103+
46 2017-08-01 16:06:21 |yarn add eslint@3.19.0
104+
47 2017-08-01 16:06:40 |yarn add eslint@3.19.0 --dev
105+
51 2017-08-01 16:07:24 |yarn add eslint@3.19.0 --dev
106+
694 2017-08-04 23:23:35 |yarn add gulp-watch --dev
107+
```
108+
Typing `!` followed by a line number will copy that command to the command line. `!41` will place `ls -lh` onto command line
109+
110+
#### Alias
111+
112+
When ever a new shell is started, bash looks in your home folder (`cd ~`) for a configuration file named `.bashrc` and loads it into the new shell. This does not effect already open shells. To pick up any changes in an existing shell, enter `source ~/.bashrc`
113+
114+
An alias can be created with the command `alias <name>="<command>"` where _name_ is a single case-sensitive word and _command_ is a valid command line or script name contained in quotes. There must **not** be spaces adjacent to the equals sign.
115+
116+
```bash
117+
$ alias ll="ls -lhtr"
118+
$ ll
119+
total 53K
120+
-rw-r--r-- 1 JONESB 1049089 344 Aug 1 17:50 README.md
121+
drwxr-xr-x 1 JONESB 1049089 0 Aug 1 17:50 images/
122+
-rw-r--r-- 1 JONESB 1049089 1.7K Aug 7 15:13 development-environment.md
123+
drwxr-xr-x 1 JONESB 1049089 0 Aug 7 16:07 editors/
124+
-rw-r--r-- 1 JONESB 1049089 8.8K Aug 7 16:07 js-style.md
125+
-rw-r--r-- 1 JONESB 1049089 4.7K Aug 7 16:07 synchronize.md
126+
-rw-r--r-- 1 JONESB 1049089 9.0K Aug 7 16:21 git-help.md
127+
-rw-r--r-- 1 JONESB 1049089 7.3K Aug 7 16:21 github-workflow.md
128+
-rw-r--r-- 1 JONESB 1049089 1.5K Aug 7 17:45 bash-help.md
129+
```
130+
131+
Best to confirm an alias works as desired by using the `alias` command. Once confirmed, add it to your `.bashrc` file if it exists, create it otherwise.
132+
133+
To see a list of all aliases available in current shell, type `alias` by itself.
134+
135+
```bash
136+
$ alias
137+
alias gcm='git commit'
138+
alias gco='git checkout'
139+
alias gst='git status'
140+
alias ll='ls -lhtr'
141+
alias ls='ls -F --color=auto --show-control-chars'
142+
alias node='winpty node.exe'
143+
```
144+
Aliases also accept arguments from command line like any other command. Thus given the `gco` alias above, one can create a new git branch with `gco -b <branch name>`
145+
146+
147+
### One-liners
148+
149+
#### Locate some Git repositories
150+
151+
```bash
152+
$ find . -maxdepth 2 -type d -name '.git' -print \
153+
| xargs -I{} grep -Hm 1 projects {}/config 2>/dev/null \
154+
| cut -d':' -f1 | cut -d'/' -f1-3
155+
```
156+
157+
#### Count commits in my repositories
158+
159+
```bash
160+
find .. -maxdepth 2 -type d -name '.git' -print | xargs -I{} grep -Hm 1 projects {}/config 2>/dev/null | cut -d':' -f1 | cut -d'/' -f1-3 | xargs -I{} git -C {} log master --author="Begin-Again" - -oneline | wc -l
161+
```
162+
163+
### Resources
164+
165+
Bash and GNU together are incredibly powerful but like most things, one has to invest time into learning. These are some tutorials and sites which have been found to be helpful.
166+
167+
* [Lynda.com - Bash Shell and Scripts](https://www.lynda.com/Linux-tutorials/Linux-Bash-Shell-Scripts/504429-2.html)
168+
* [Bash For Beginners](http://tldp.org/LDP/Bash-Beginners-Guide/html/)
169+
* [Bash Programming](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html)
170+
* [Bash One Liners](http://www.bashoneliners.com/)
171+
172+
## Sources
173+
174+
* [Terminals](https://en.wikipedia.org/wiki/Computer_terminal)
175+
* [Console Applications](https://en.wikipedia.org/wiki/Console_application)
File renamed without changes.

‎coding/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
# Coding
22

3-
* [ESLint Configuration](./eslintrc.md)
4-
* [StyleLint Configuration](./stylelintrc.md)
5-
* [Karma Configuration](./karma.md)
6-
* [Git Hooks](./git-hooks/index.md)
3+
[moved](./readme.md)

‎coding/readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Coding
2+
3+
* [ESLint Configuration](./eslintrc.md)
4+
* [StyleLint Configuration](./stylelintrc.md)
5+
* [Karma Configuration](./karma.md)
6+
* [Git Hooks](./git-hooks/index.md)
7+
* [construction](./construction/clean-code.md)
8+
* [testing](./testing/)
9+
* [typescript](./testing/)

‎coding/testing/cucumber.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎testing-info.md renamed to ‎coding/testing/readme.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
# Formalize Software Testing
1+
# Testing Info
2+
3+
## Cucumber
4+
5+
- [Intro to Cucumber](https://www.youtube.com/watch?v=lC0jzd8sGIA)
6+
- [Gherkin Best Practices](https://www.youtube.com/watch?v=nrggIRWK6qo)
7+
- [Gherkin for API Testing](https://www.youtube.com/watch?v=Ktrm2rmttm0)
8+
- [Browser functional testing](https://www.youtube.com/watch?v=SYxNQdUOVMw)
9+
- [SPA E2E with Cucumber and pupeteer](https://www.youtube.com/watch?v=Wapb_LIS45E)
10+
- [Headless Chrome & puppeteer](https://youtu.be/7-XnEMrQnn4?t=993)
11+
12+
13+
## Other
14+
15+
216

317
## Organizations
418

@@ -38,6 +52,8 @@ The purpose of the ISO/IEC/IEEE 29119 series of software testing standards is to
3852

3953
* [Software Testing for Beginners](https://www.youtube.com/watch?v=goaZTAzsLMk)
4054
* [What a tester does](https://www.youtube.com/watch?v=Gdh1EvOkULA)
55+
* [How to write untestable code](http://misko.hevery.com/2008/07/24/how-to-write-3v1l-untestable-code/)
56+
* [Clean Code Talks - Unit Testing](https://www.youtube.com/watch?v=wEhu57pih5w)
4157

4258
## Books
4359

‎coding/testing/resources.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎git/git-help.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ One way to deal with these problems, is to create post-checkout hook for the git
334334
335335
* [Github On Demand](https://services.github.com/on-demand/)
336336
* [Github For Developers](https://githubtraining.github.io/training-manual/fullcicdcircle/index)
337+
* [Alternative to cherry-picking](https://stackoverflow.com/a/62402568/384724)
337338
* Git Simulators
338339
* [Visualize Git](http://git-school.github.io/visualizing-git/)
339340
* [Git Branching](http://learngitbranching.js.org/)
File renamed without changes.
File renamed without changes.

‎git/git-stuff.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎git/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Git Helpers
22

3+
* [authentication](./authentication.md)
34
* [git help](./git-help.md)
4-
* [Git tips archive](./git-tips.md)
5+
* [git tips archive](./git-tips.md)
6+
* [global configuration](./global-config.md)

‎github-syntax-highlight.md

Lines changed: 0 additions & 2 deletions
This file was deleted.
File renamed without changes.

‎javascript/index.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
# JavaScript & NodeJS
22

3-
JS Language, NodeJS, and V8 JS Engine
4-
5-
- [ECMAScript Editions](https://github.com/begin-again/releases/blob/main/ecma-script.md)
6-
- JS Tricks
7-
- [arrays](./array.md)
8-
- [parsing](./parsing.md)
9-
- [port check](./port-check.js)
10-
- [scale-fix](./scale.fix.js)
11-
- [NodeJS Releases](https://github.com/begin-again/releases/blob/main/node/index.md)
12-
- [V8 Releases](https://github.com/begin-again/releases/blob/main/v8/releases.md)
13-
- [NPM notes](https://github.com/begin-again/releases/blob/main/npm-release.md)
14-
- [NodeJS REPL](./nodejs-repl.md)
3+
[moved](readme.md)
File renamed without changes.

‎javascript/readme.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# JavaScript & NodeJS
2+
3+
JS Language, NodeJS, and V8 JS Engine
4+
5+
- [ECMAScript Editions](https://github.com/begin-again/releases/blob/main/ecma-script.md)
6+
- JS Tricks
7+
- [arrays](./array.md)
8+
- [parsing](./parsing.md)
9+
- [port check](./port-check.js)
10+
- [scale-fix](./scale.fix.js)
11+
- [NodeJS Releases](https://github.com/begin-again/releases/blob/main/node/index.md)
12+
- [V8 Releases](https://github.com/begin-again/releases/blob/main/v8/releases.md)
13+
- [NPM notes](https://github.com/begin-again/releases/blob/main/npm-release.md)
14+
- [crypto: bcrypt](./crypto-bcrypt.md)
15+
- [JSDocs](./jsdoc-comments-basics.md)
File renamed without changes.

‎maria/index.md

Lines changed: 1 addition & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,3 @@
11
# MariaDB Info
22

3-
4-
- [Encryption at Rest](#encryption-at-rest)
5-
- [Api for downloads](#api-for-downloads)
6-
- [Installing from CLI](#installing-from-cli)
7-
- [properties](#properties)
8-
- [features](#features)
9-
- [logging](#logging)
10-
- [examples](#examples)
11-
- [resources](#resources)
12-
- [JSON](#json)
13-
14-
15-
16-
Determine version: `SELECT @@version`
17-
18-
## Encryption at Rest
19-
20-
[Encryption at rest](./maria-encryption-rest.md)
21-
22-
23-
## Api for downloads
24-
25-
- [Rest Api](https://mariadb.org/downloads-rest-api/)
26-
27-
- url: `https://downloads.mariadb.org/rest-api/mariadb`
28-
- release_status: 'RC', 'Stable', 'Old Stable'
29-
```json
30-
{
31-
"major_releases": [
32-
{
33-
"release_id": "10.8",
34-
"release_name": "MariaDB Server 10.8",
35-
"release_status": "RC"
36-
}
37-
]
38-
}
39-
```
40-
41-
`https://downloads.mariadb.org/rest-api/mariadb/<version>`
42-
```json
43-
{
44-
"release_data": {
45-
"10.4.24": {
46-
"release_id": "10.4.24",
47-
"release_name": "MariaDB Server 10.4.24",
48-
"date_of_release": "2022-02-14",
49-
"release_notes_url": "",
50-
"change_log": "",
51-
"files": [
52-
{
53-
"file_id": 12883,
54-
"file_name": "mariadb-10.4.24-winx64.msi",
55-
"package_type": "MSI Package",
56-
"os": "Windows",
57-
"cpu": "x86_64",
58-
"checksum": {
59-
"md5sum": "39d96412f5027c3e34d059f4619d4da0",
60-
"sha1sum": "a04af34947742f80790654d93804b0b348a66688",
61-
"sha256sum": "7abe3857ca3c8e4630afc719f5968a5c7976b1f31d994ec7a09bc2cd5b4af740",
62-
"sha512sum": "644bb54bea4ed8c1e304ff5f540a473447abbc8ea863e635af771a369e78877b84fe489e719fe4e5589757cec121859d46e311fe4b1f291c1281289133a006b8"
63-
},
64-
"signature": "-----BEGIN PGP SIGNATURE-----\n\niF0EABECAB0WIQQZk2nlQEvV/H0v5DvLywgqG7lD2wUCYgb3DAAKCRDLywgqG7lD\n21IbAKChtzEaFEX+fYpa4eLFQDxDKG8p/wCeIb49stiQ1dTVFf94fTTuGD4IS4c=\n=sjHr\n-----END PGP SIGNATURE-----\n",
65-
"checksum_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi/checksum/",
66-
"signature_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi/signature/",
67-
"file_download_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi"
68-
}
69-
]
70-
}
71-
}
72-
}
73-
```
74-
75-
76-
77-
## Installing from CLI
78-
79-
80-
### properties
81-
82-
| Property name | Default value | Description |
83-
| :-------------------- | :---------------------------------: | :-------------------------------------------------------------------------------------------- |
84-
| INSTALLDIR | `%ProgramFiles%\MariaDB <version>\` | Installation root |
85-
| PORT | 3306 | --port parameter for the server |
86-
| ALLOWREMOTEROOTACCESS | | Allow remote access for root user |
87-
| BUFFERPOOLSIZE | RAM/8 | Bufferpoolsize for innodb |
88-
| CLEANUPDATA | 1 | Remove the data directory (uninstall only) |
89-
| DATADIR | INSTALLDIR\data | Location of the data directory |
90-
| DEFAULTUSER | | Allow anonymous users |
91-
| PASSWORD | | Password of the root user |
92-
| SERVICENAME | | Name of the Windows service. A service is not created if this value is empty. |
93-
| SKIPNETWORKING | | Skip networking |
94-
| STDCONFIG | 1 | Corresponds to "optimize for transactions" in the GUI, default engine innodb, strict sql mode |
95-
| UTF8 | | if set, adds character-set-server=utf8 to my.ini file (added in MariaDB 5.5.29) |
96-
| PAGESIZE | 16K | page size for innodb |
97-
98-
99-
### features
100-
101-
| Feature id | Installed by default? | Description |
102-
| :-------------- | :-------------------: | :---------------------------------------------- |
103-
| DBInstance | yes | Install database instance |
104-
| Client | yes | Command line client programs |
105-
| MYSQLSERVER | yes | Install server |
106-
| SharedLibraries | yes | Install client shared library |
107-
| DEVEL | yes | install C/C++ header files and client libraries |
108-
| HeidiSQL | yes | Installs HeidiSQL |
109-
110-
111-
### logging
112-
113-
`/l*v path-to-logfile.txt`
114-
115-
### examples
116-
117-
Install default features, database instance as service, non-default datadir and port <br>
118-
`msiexec /i path-to-package.msi SERVICENAME=MySQL DATADIR=C:\mariadb5.2\data PORT=3307 /qn`
119-
120-
To keep the data directory during an uninstall, you will need to pass an additional parameter <br>
121-
`msiexec /i path-to-package.msi SERVICENAME=MySQL ADDLOCAL=DEBUGSYMBOLS REMOVE=DEVEL /qn`
122-
123-
### resources
124-
125-
- [option files](https://mariadb.com/kb/en/configuring-mariadb-with-option-files/)
126-
- [cli installation](https://mariadb.com/kb/en/installing-mariadb-msi-packages-on-windows/#silent-installation)
127-
- [msiexec](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec)
128-
129-
130-
## JSON
131-
132-
- [Quick start](https://mariadb.com/resources/blog/using-json-in-mariadb/)
133-
- [Sequelize JSON support](https://sequelize.org/docs/v6/other-topics/other-data-types/#json--sqlite--mysql--mariadb-and-postgresql-only-)
134-
- [Prisma JSON support](https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields)
3+
[moved to](readme.md)

‎maria/readme.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# MariaDB Info
2+
3+
4+
- [Encryption at Rest](#encryption-at-rest)
5+
- [Api for downloads](#api-for-downloads)
6+
- [Installing from CLI](#installing-from-cli)
7+
- [properties](#properties)
8+
- [features](#features)
9+
- [logging](#logging)
10+
- [examples](#examples)
11+
- [resources](#resources)
12+
- [JSON](#json)
13+
14+
15+
16+
Determine version: `SELECT @@version`
17+
18+
## Encryption at Rest
19+
20+
[Encryption at rest](./maria-encryption-rest.md)
21+
22+
23+
## Api for downloads
24+
25+
- [Rest Api](https://mariadb.org/downloads-rest-api/)
26+
27+
- url: `https://downloads.mariadb.org/rest-api/mariadb`
28+
- release_status: 'RC', 'Stable', 'Old Stable'
29+
```json
30+
{
31+
"major_releases": [
32+
{
33+
"release_id": "10.8",
34+
"release_name": "MariaDB Server 10.8",
35+
"release_status": "RC"
36+
}
37+
]
38+
}
39+
```
40+
41+
`https://downloads.mariadb.org/rest-api/mariadb/<version>`
42+
```json
43+
{
44+
"release_data": {
45+
"10.4.24": {
46+
"release_id": "10.4.24",
47+
"release_name": "MariaDB Server 10.4.24",
48+
"date_of_release": "2022-02-14",
49+
"release_notes_url": "",
50+
"change_log": "",
51+
"files": [
52+
{
53+
"file_id": 12883,
54+
"file_name": "mariadb-10.4.24-winx64.msi",
55+
"package_type": "MSI Package",
56+
"os": "Windows",
57+
"cpu": "x86_64",
58+
"checksum": {
59+
"md5sum": "39d96412f5027c3e34d059f4619d4da0",
60+
"sha1sum": "a04af34947742f80790654d93804b0b348a66688",
61+
"sha256sum": "7abe3857ca3c8e4630afc719f5968a5c7976b1f31d994ec7a09bc2cd5b4af740",
62+
"sha512sum": "644bb54bea4ed8c1e304ff5f540a473447abbc8ea863e635af771a369e78877b84fe489e719fe4e5589757cec121859d46e311fe4b1f291c1281289133a006b8"
63+
},
64+
"signature": "-----BEGIN PGP SIGNATURE-----\n\niF0EABECAB0WIQQZk2nlQEvV/H0v5DvLywgqG7lD2wUCYgb3DAAKCRDLywgqG7lD\n21IbAKChtzEaFEX+fYpa4eLFQDxDKG8p/wCeIb49stiQ1dTVFf94fTTuGD4IS4c=\n=sjHr\n-----END PGP SIGNATURE-----\n",
65+
"checksum_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi/checksum/",
66+
"signature_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi/signature/",
67+
"file_download_url": "http://downloads.mariadb.org/rest-api/mariadb/10.4.24/mariadb-10.4.24-winx64.msi"
68+
}
69+
]
70+
}
71+
}
72+
}
73+
```
74+
75+
76+
77+
## Installing from CLI
78+
79+
80+
### properties
81+
82+
| Property name | Default value | Description |
83+
| :-------------------- | :---------------------------------: | :-------------------------------------------------------------------------------------------- |
84+
| INSTALLDIR | `%ProgramFiles%\MariaDB <version>\` | Installation root |
85+
| PORT | 3306 | --port parameter for the server |
86+
| ALLOWREMOTEROOTACCESS | | Allow remote access for root user |
87+
| BUFFERPOOLSIZE | RAM/8 | Bufferpoolsize for innodb |
88+
| CLEANUPDATA | 1 | Remove the data directory (uninstall only) |
89+
| DATADIR | INSTALLDIR\data | Location of the data directory |
90+
| DEFAULTUSER | | Allow anonymous users |
91+
| PASSWORD | | Password of the root user |
92+
| SERVICENAME | | Name of the Windows service. A service is not created if this value is empty. |
93+
| SKIPNETWORKING | | Skip networking |
94+
| STDCONFIG | 1 | Corresponds to "optimize for transactions" in the GUI, default engine innodb, strict sql mode |
95+
| UTF8 | | if set, adds character-set-server=utf8 to my.ini file (added in MariaDB 5.5.29) |
96+
| PAGESIZE | 16K | page size for innodb |
97+
98+
99+
### features
100+
101+
| Feature id | Installed by default? | Description |
102+
| :-------------- | :-------------------: | :---------------------------------------------- |
103+
| DBInstance | yes | Install database instance |
104+
| Client | yes | Command line client programs |
105+
| MYSQLSERVER | yes | Install server |
106+
| SharedLibraries | yes | Install client shared library |
107+
| DEVEL | yes | install C/C++ header files and client libraries |
108+
| HeidiSQL | yes | Installs HeidiSQL |
109+
110+
111+
### logging
112+
113+
`/l*v path-to-logfile.txt`
114+
115+
### examples
116+
117+
Install default features, database instance as service, non-default datadir and port <br>
118+
`msiexec /i path-to-package.msi SERVICENAME=MySQL DATADIR=C:\mariadb5.2\data PORT=3307 /qn`
119+
120+
To keep the data directory during an uninstall, you will need to pass an additional parameter <br>
121+
`msiexec /i path-to-package.msi SERVICENAME=MySQL ADDLOCAL=DEBUGSYMBOLS REMOVE=DEVEL /qn`
122+
123+
### resources
124+
125+
- [option files](https://mariadb.com/kb/en/configuring-mariadb-with-option-files/)
126+
- [cli installation](https://mariadb.com/kb/en/installing-mariadb-msi-packages-on-windows/#silent-installation)
127+
- [msiexec](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec)
128+
129+
130+
## JSON
131+
132+
- [Quick start](https://mariadb.com/resources/blog/using-json-in-mariadb/)
133+
- [Sequelize JSON support](https://sequelize.org/docs/v6/other-topics/other-data-types/#json--sqlite--mysql--mariadb-and-postgresql-only-)
134+
- [Prisma JSON support](https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields)
File renamed without changes.
File renamed without changes.

‎nodejs/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# NodeJS
2+
3+
- [module compatibility matrix](./node-compatibility-matrix.md)
4+
- [REPL tools](./nodejs-repl.md)
5+
- [testing](./node-testing-home.md)

‎windows/files.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Files
22

3+
- [ACL](#acl)
4+
- [Determine which process is locking a file](#determine-which-process-is-locking-a-file)
35

6+
## ACL
47

58
Access-control list (ACL) is a list of permissions associated with a system resource (object). Each entry in an ACL is called an Access Control Entry (ACE). ACEs contain permissions and details about how child objects inherit these permissions. NTFS permissions are in place to protect systems from unauthorized access.
69

@@ -20,8 +23,17 @@ keys.txt NT AUTHORITY\SYSTEM:(I)(F)
2023
DI\thogarth:(I)(F)
2124
```
2225

23-
24-
## sources
25-
2626
- [MS Docs: icacls](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls)
2727
- [Icacls: The Ultimate Guide in Managing File Permissions](https://adamtheautomator.com/icacls/)
28+
29+
30+
## Determine which process is locking a file
31+
32+
1. Open PowerShell as administrator
33+
1. Run this command: `openfiles /local on`
34+
* This command will dramatically slow down builds so be sure to turn it off when done.
35+
1. Restart Windows
36+
1. Open PowerShell as administrator
37+
1. Run this command: `openfiles /query /fo table | grep "<name of file>"`
38+
1. Run this command: `openfiles /local off`
39+
1. Restart Windows

‎windows/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Windows
2+
3+
- [files](./files.md)
4+
- [hosts](./hosts.md)
5+
- [powershell](./powershell.md)
6+
- [services](./services.md)

‎windows/windows-file-locks.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.