Skip to content

Commit 4facd58

Browse files
authored
Merge branch 'MichaelCade:main' into main
2 parents 5b9432b + 216a469 commit 4facd58

89 files changed

Lines changed: 7005 additions & 1581 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Auto message on Creating a Issue.
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
greeting:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create comment for issue
12+
if: github.event_name =='issues'
13+
uses: peter-evans/create-or-update-comment@v1
14+
with:
15+
issue-number: ${{tojson(github.event.issue.number)}}
16+
body: Hello there!👋, @${{ github.actor }} Welcome to the Solidity-Pathshala! 🚀⚡Thank you and Congratulations🎉 for opening a issue in this project. Please make sure not to start working on this issue, unless you are assigned to it.😄
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto message on Pr merge
2+
3+
on:
4+
pull_request_target:
5+
types: [closed]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: derekprior/add-autoresponse@master
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
respondableId: ${{ github.event.pull_request.node_id }}
17+
response: "Thank you @${{ github.event.pull_request.user.login }} for taking out your valuable time in order to contribute to our project. Looking forward for more such amazing contributions :)"
18+
author: ${{ github.event.pull_request.user.login }}
19+
exemptedAuthors: "Vikash-8090-Yadav"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto message on PR opened
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
auto-response:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: derekprior/add-autoresponse@master
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
with:
16+
respondableId: ${{ github.event.pull_request.node_id }}
17+
response: "Our team will soon review your PR. Thanks @${{ github.event.pull_request.user.login }} :)"
18+
author: ${{ github.event.pull_request.user.login }}
19+
exemptedAuthors: "Vikash-8090-Yadav"

2022/Days/day37.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ I have taken these from [atlassian](https://www.atlassian.com/git/tutorials/atla
7171
| Command | Example | Description |
7272
| ------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
7373
| git init | `git init <directory>` | Create an empty git repository in the specified directory. |
74-
| git clone | `git clone <repo>` | Clone repository located at <repo> onto local machine. |
74+
| git clone | `git clone <repo>` | Clone repository located at \<repo> onto local machine. |
7575
| git config | `git config user.name` | Define author name to be used for all commits in current repository `system`, `global`, `local` flag to set config options. |
76-
| git add | `git add <directory>` | Stage all changes in <directory> for the next commit. We can also add <files> and <.> for everything. |
77-
| git commit -m | `git commit -m "<message>"` | Commit the staged snapshot, use <message> to detail what is being committed. |
76+
| git add | `git add <directory>` | Stage all changes in \<directory> for the next commit. We can also add \<files> and \<.> for everything. |
77+
| git commit -m | `git commit -m "<message>"` | Commit the staged snapshot, use \<message> to detail what is being committed. |
7878
| git status | `git status` | List files that are staged, unstaged and untracked. |
7979
| git log | `git log` | Display all commit history using the default format. There are additional options with this command. |
8080
| git diff | `git diff` | Show unstaged changes between your index and working directory. |
@@ -83,34 +83,34 @@ I have taken these from [atlassian](https://www.atlassian.com/git/tutorials/atla
8383

8484
| Command | Example | Description |
8585
| ---------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
86-
| git revert | `git revert <commit>` | Create a new commit that undoes all of the changes made in <commit> then apply it to the current branch. |
87-
| git reset | `git reset <file>` | Remove <file> from the staging area, but leave the working directory unchanged. This unstaged a file without overwriting any changes. |
86+
| git revert | `git revert <commit>` | Create a new commit that undoes all of the changes made in \<commit> then apply it to the current branch. |
87+
| git reset | `git reset <file>` | Remove \<file> from the staging area, but leave the working directory unchanged. This unstaged a file without overwriting any changes. |
8888
| git clean | `git clean -n` | Shows which files would be removed from the working directory. Use `-f` in place of `-n` to execute the clean. |
8989

9090
### Git Rewriting History
9191

9292
| Command | Example | Description |
9393
| ---------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
9494
| git commit | `git commit --amend` | Replace the last commit with the staged changes and the last commit combined. Use with nothing staged to edit the last commit’s message. |
95-
| git rebase | `git rebase <base>` | Rebase the current branch onto <base>. <base> can be a commit ID, branch name, a tag, or a relative reference to HEAD. |
95+
| git rebase | `git rebase <base>` | Rebase the current branch onto \<base>. \<base> can be a commit ID, branch name, a tag, or a relative reference to HEAD. |
9696
| git reflog | `git reflog` | Show a log of changes to the local repository’s HEAD. Add --relative-date flag to show date info or --all to show all refs. |
9797

9898
### Git Branches
9999

100100
| Command | Example | Description |
101101
| ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------- |
102-
| git branch | `git branch` | List all of the branches in your repo. Add a <branch> argument to create a new branch with the name <branch>. |
103-
| git checkout | `git checkout -b <branch>` | Create and check out a new branch named <branch>. Drop the -b flag to checkout an existing branch. |
104-
| git merge | `git merge <branch>` | Merge <branch> into the current branch. |
102+
| git branch | `git branch` | List all of the branches in your repo. Add a \<branch> argument to create a new branch with the name \<branch>. |
103+
| git checkout | `git checkout -b <branch>` | Create and check out a new branch named \<branch>. Drop the -b flag to checkout an existing branch. |
104+
| git merge | `git merge <branch>` | Merge \<branch> into the current branch. |
105105

106106
### Git Remote Repositories
107107

108108
| Command | Example | Description |
109109
| -------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
110-
| git remote add | `git remote add <name> <url>` | Create a new connection to a remote repo. After adding a remote, you can use <name> as a shortcut for <url> in other commands. |
111-
| git fetch | `git fetch <remote> <branch>` | Fetches a specific <branch>, from the repo. Leave off <branch> to fetch all remote refs. |
110+
| git remote add | `git remote add <name> <url>` | Create a new connection to a remote repo. After adding a remote, you can use \<name> as a shortcut for \<url> in other commands. |
111+
| git fetch | `git fetch <remote> <branch>` | Fetches a specific \<branch>, from the repo. Leave off \<branch> to fetch all remote refs. |
112112
| git pull | `git pull <remote>` | Fetch the specified remote’s copy of current branch and immediately merge it into the local copy. |
113-
| git push | `git push <remote> <branch>` | Push the branch to <remote>, along with necessary commits and objects. Creates named branch in the remote repo if it doesn’t exist. |
113+
| git push | `git push <remote> <branch>` | Push the branch to \<remote>, along with necessary commits and objects. Creates named branch in the remote repo if it doesn’t exist. |
114114

115115
### Git Diff
116116

@@ -123,40 +123,40 @@ I have taken these from [atlassian](https://www.atlassian.com/git/tutorials/atla
123123

124124
| Command | Example | Description |
125125
| ---------------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
126-
| git config --global user.name <name> | `git config --global user.name <name>` | Define the author name to be used for all commits by the current user. |
127-
| git config --global user.email <email> | `git config --global user.email <email>` | Define author email to be used for all commits by the current user. |
128-
| git config --global alias <alias-name> <git-command> | `git config --global alias <alias-name> <git-command>` | Create shortcut for a git command . |
129-
| git config --system core.editor <editor> | `git config --system core.editor <editor>` | Set the text editor to be used by commands for all users on the machine. <editor> arg should be the comamnd that launches the desired editor. |
126+
| git config --global user.name \<name> | `git config --global user.name <name>` | Define the author name to be used for all commits by the current user. |
127+
| git config --global user.email \<email> | `git config --global user.email <email>` | Define author email to be used for all commits by the current user. |
128+
| git config --global alias \<alias-name> \<git-command> | `git config --global alias <alias-name> <git-command>` | Create shortcut for a git command . |
129+
| git config --system core.editor \<editor> | `git config --system core.editor <editor>` | Set the text editor to be used by commands for all users on the machine. \<editor> arg should be the comamnd that launches the desired editor. |
130130
| git config --global --edit | `git config --global --edit ` | Open the global configuration file in a text editor for manual editing. |
131131

132132
### Git Rebase
133133

134134
| Command | Example | Description |
135135
| -------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
136-
| git rebase -i <base> | `git rebase -i <base>` | Interactively rebase current branch onto <base>. Launches editor to enter commands for how each commit will be transferred to the new base. |
136+
| git rebase -i \<base> | `git rebase -i <base>` | Interactively rebase current branch onto \<base>. Launches editor to enter commands for how each commit will be transferred to the new base. |
137137

138138
### Git Pull
139139

140140
| Command | Example | Description |
141141
| -------------------------- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
142-
| git pull --rebase <remote> | `git pull --rebase <remote>` | Fetch the remote’s copy of current branch and rebases it into the local copy. Uses git rebase instead of the merge to integrate the branches. |
142+
| git pull --rebase \<remote> | `git pull --rebase <remote>` | Fetch the remote’s copy of current branch and rebases it into the local copy. Uses git rebase instead of the merge to integrate the branches. |
143143

144144
### Git Reset
145145

146146
| Command | Example | Description |
147147
| ------------------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
148148
| git reset | `git reset ` | Reset the staging area to match the most recent commit but leave the working directory unchanged. |
149149
| git reset --hard | `git reset --hard` | Reset staging area and working directory to match most recent commit and overwrites all changes in the working directory |
150-
| git reset <commit> | `git reset <commit>` | Move the current branch tip backwards to <commit>, reset the staging area to match, but leave the working directory alone |
151-
| git reset --hard <commit> | `git reset --hard <commit>` | Same as previous, but resets both the staging area & working directory to match. Deletes uncommitted changes, and all commits after <commit>. |
150+
| git reset \<commit> | `git reset <commit>` | Move the current branch tip backwards to \<commit>, reset the staging area to match, but leave the working directory alone |
151+
| git reset --hard \<commit> | `git reset --hard <commit>` | Same as previous, but resets both the staging area & working directory to match. Deletes uncommitted changes, and all commits after \<commit>. |
152152

153153
### Git Push
154154

155155
| Command | Example | Description |
156156
| ------------------------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
157-
| git push <remote> --force | `git push <remote> --force` | Forces the git push even if it results in a non-fast-forward merge. Do not use the --force flag unless you’re sure you know what you’re doing. |
158-
| git push <remote> --all | `git push <remote> --all` | Push all of your local branches to the specified remote. |
159-
| git push <remote> --tags | `git push <remote> --tags` | Tags aren’t automatically pushed when you push a branch or use the --all flag. The --tags flag sends all of your local tags to the remote repo. |
157+
| git push \<remote> --force | `git push <remote> --force` | Forces the git push even if it results in a non-fast-forward merge. Do not use the --force flag unless you’re sure you know what you’re doing. |
158+
| git push \<remote> --all | `git push <remote> --all` | Push all of your local branches to the specified remote. |
159+
| git push \<remote> --tags | `git push <remote> --tags` | Tags aren’t automatically pushed when you push a branch or use the --all flag. The --tags flag sends all of your local tags to the remote repo. |
160160

161161
## Resources
162162

2022/Days/day63.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ I think it is important to touch on some of the differences between Ansible and
9595
| Language | Ansible follows procedural language | Terraform follows a declarative language |
9696
| Provisioning | Ansible provides partial provisioning (VM, Network, Storage) | Terraform provides extensive provisioning (VM, Network, Storage) |
9797
| Packaging | Ansible provides complete support for packaging & templating | Terraform provides partial support for packaging & templating |
98-
| Lifecycle Mgmt | Ansible does not have lifecycle management | Terraform is heavily dependent on lifecycle and state mgmt |
98+
| Lifecycle Mgmt | Ansible does not have lifecycle management | Terraform is heavily dependent on lifecycle and state management |
9999

100100
## Resources
101101

2022/Days/day64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Before we then start to look at controlling other nodes in our environment, we c
3737

3838
![](Images/Day64_config2.png)
3939

40-
Or an actual real-life use for a module might be something like `ansible webservers --m service -a "name=httpd state=started"` this will tell us if all of our webservers have the httpd service running. I have glossed over the webservers term used in that command.
40+
Or an actual real-life use for a module might be something like `ansible webservers -m service -a "name=httpd state=started"` this will tell us if all of our webservers have the httpd service running. I have glossed over the webservers term used in that command.
4141

4242
### hosts
4343

2022/Days/day84.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ id: 1048747
1212

1313
![](Images/Day84_Data1.png)
1414

15-
Data Management is by no means a new wall to climb, although we do know that data is more important than it maybe was a few years ago. Valuable and ever-changing it can also be a massive nightmare when we are talking about automation and continuously integrating, testing and deploying frequent software releases. Enter the persistent data and underlying data services are often the main culprit when things go wrong.
15+
Data Management is by no means a new wall to climb, although we do know that data is more important than it may be was a few years ago. Valuable and ever-changing it can also be a massive nightmare when we are talking about automation and continuously integrating, testing and deploying frequent software releases. Enter the persistent data and underlying data services are often the main culprit when things go wrong.
1616

1717
But before I get into Cloud-Native Data Management, we need to go up a level. We have touched on many different platforms throughout this challenge. Be it Physical, Virtual, Cloud or Cloud-Native obviously including Kubernetes there is none of these platforms that provide the lack of requirement for data management.
1818

642 KB
Loading

0 commit comments

Comments
 (0)