-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Sharding and Partitioning | ||
|
||
TODO make diagrams | ||
|
||
## Resources and References | ||
|
||
- [PlanetScale blobpost: "Sharding vs. partitioning: What’s the difference?"](https://planetscale.com/blog/sharding-vs-partitioning-whats-the-difference) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Compare Two Branches and Get a List of Files | ||
|
||
Comparing two branches (or even commits) might give your a lot of output, but you can tell Git to just give you a list of the files. | ||
|
||
- `--name-only` gives your only filenames | ||
- `--name-status` gives you filenames and status | ||
|
||
Compare current branch with master and get filenames and statuses: | ||
|
||
```shell | ||
git diff --name-status master | ||
A git/compare_two_branches_and_get_a_list_of_files.md | ||
``` | ||
|
||
Or comparing current branch with master and get only filenames: | ||
|
||
```shell | ||
git diff --name-only master | ||
git/compare_two_branches_and_get_a_list_of_files.md | ||
``` | ||
|
||
Compare two branches and get filenames and statuses: | ||
|
||
```shell | ||
git diff --name-status master another_branch | ||
A go/use_mage_build_tool.md | ||
``` | ||
|
||
Compare two branches and get only filenames: | ||
|
||
```shell | ||
╰─ git diff --name-only master another_branch | ||
go/use_mage_build_tool.md | ||
``` | ||
|
||
## Resources and References | ||
|
||
- [StackOverflow: "How can I see the differences between two branches?"](https://stackoverflow.com/questions/9834689/how-can-i-see-the-differences-between-two-branches) | ||
- [StackOverflow: "Showing which files have changed between two revisions"](https://stackoverflow.com/questions/822811/showing-which-files-have-changed-between-two-revisions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
# Use Mage Build Tool | ||
|
||
## Resources and References | ||
Mage is a Go build tool, an equivalent of Make for C. | ||
|
||
TODO more to come | ||
|
||
- https://magefile.org/howitworks/ | ||
## Resources and References | ||
|
||
- [magefile.org website](https://magefile.org/howitworks/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Comments in PHP are different. | ||
|
||
PHP suports: | ||
PHP supports: | ||
|
||
- `#` | ||
- `//` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters