diff --git a/.github/workflows/azure-static-web-apps-icy-field-0bd9e4d00.yml b/.github/workflows/azure-static-web-apps-icy-field-0bd9e4d00.yml new file mode 100644 index 000000000000..7228c44668b3 --- /dev/null +++ b/.github/workflows/azure-static-web-apps-icy-field-0bd9e4d00.yml @@ -0,0 +1,45 @@ +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_FIELD_0BD9E4D00 }} + repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) + action: "upload" + ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### + # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig + app_location: "/" # App source code path + api_location: "api" # Api source code path - optional + output_location: "" # Built app content directory - optional + ###### End of Repository/Build Configurations ###### + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_FIELD_0BD9E4D00 }} + action: "close" diff --git a/.gitignore b/.gitignore index 72e4fbb805c7..aab9a53b94a7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,10 @@ _site # general .DS_Store Thumbs.db -ehthumbs.db \ No newline at end of file +ehthumbs.db + +# Azurite +__azurite_db_blob__.json +__azurite_db_blob_extent__.json + +__blobstorage__/ \ No newline at end of file diff --git a/Dads-mental-health.html b/Dads-mental-health.html new file mode 100644 index 000000000000..70f328f03091 --- /dev/null +++ b/Dads-mental-health.html @@ -0,0 +1,33 @@ + + + + + Mental health retreat for dads + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 414ea7aab14a..4f00c956eaa0 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ > *Copyright 2018 [Dean Attali](http://deanattali.com)* -**Beautiful Jekyll** is a ready-to-use template to help you create an awesome website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](http://deanattali.com/beautiful-jekyll) of what you'll get after just two minutes. You can also look at [my personal website](http://deanattali.com) to see it in use, or see examples of websites other people created using this theme [here](#showcased-users-success-stories). +**Beautiful Jekyll** is a ready-to-use template to help you create an awesome website quickly. Perfect for personal sites, blogs, or simple project websites. [Check out a demo](http://deanattali.com/beautiful-jekyll) of what you'll get after just two minutes. You can also look at [my personal website](http://deanattali.com) to see it in use, or see examples of websites other people created using this theme [here](#showcased-users-success-stories).. **If you enjoy this theme, please consider [supporting me](https://www.paypal.me/daattali/20) for developing and maintaining this template.** diff --git a/_config.yml b/_config.yml index b98feb5101eb..d7f5579167c1 100644 --- a/_config.yml +++ b/_config.yml @@ -81,6 +81,7 @@ social-network-links: linkedin: seggerton # xing: yourname stackoverflow: "3045411/stuarteggertonagilecoder" + mastodon: "@cloudy_stuey" # snapchat: deanat78 # instagram: deanat78 # youtube: user/deanat78 diff --git a/_data/SocialNetworks.yml b/_data/SocialNetworks.yml index d0a263502d1b..9ae5a116f967 100644 --- a/_data/SocialNetworks.yml +++ b/_data/SocialNetworks.yml @@ -21,6 +21,11 @@ twitter: baseURL: "https://twitter.com/" icon: "fa-twitter" +mastodon: + name: "Mastodon" + baseURL: "https://mastodon.online/" + icon: "fa-brands fa-mastodon" + reddit: name: "Reddit" baseURL: "https://reddit.com/u/" diff --git a/_includes/footer.html b/_includes/footer.html index 2f4a7f058baf..6b653160ef5c 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -40,6 +40,15 @@ {% endif %} {% endif%}

+ + +

Theme by diff --git a/_posts/2021-05-17-azure-devops-repos.md b/_posts/2021-05-17-azure-devops-repos.md new file mode 100644 index 000000000000..e7980a79d5bb --- /dev/null +++ b/_posts/2021-05-17-azure-devops-repos.md @@ -0,0 +1,54 @@ +--- +layout: post +published: true +title: List Azure DevOps Repos +date: '2021-05-17' +subtitle: Example of how to interact with Azure DevOps using the Azure CLI Example +--- + +## Problem +How do I get all the URLs for my repos in Azure DevOps? + +## Solution +Use the [Azure DevOps CLI extension](https://docs.microsoft.com/en-us/azure/devops/cli/?view=azure-devops#:~:text=%20To%20start%20using%20the%20Azure%20DevOps%20extension,you%20set%20the%20default%20configuration%20for...%20More%20) + +This is a sample PowerShell script + +``` +param( [string]$Organization ) + +$orgUrl = "https://dev.azure.com/$Organization" + +# Ensure signed in to Azure +$AccountInfo = az account show 2>&1 +try { + $AccountInfo = $AccountInfo | ConvertFrom-Json -ErrorAction Stop +} +catch { + az login --allow-no-subscriptions +} + +$DevOpsExtension = az extension list --query '[?name == ''azure-devops''].name' -o tsv +if ($null -eq $DevOpsExtension) { + $null = az extension add --name 'azure-devops' +} + +$Projects = az devops project list --organization $orgUrl --query 'value[].name' -o tsv +foreach ($Proj in $Projects) { + $Repos = az repos list --organization $orgUrl --project $Proj | ConvertFrom-Json + foreach ($Repo in $Repos) { + Write-Output $Repo.webUrl + } +} +``` + +Here is a sample showing output. +``` +PS C:\Dev\ado-api> & .\getRepos.ps1 +https://dev.azure.com/exampleorg/java-jsf1/_git/java-jsf1 +https://dev.azure.com/exampleorg/Jan2021Example/_git/Jan2021Example +https://dev.azure.com/exampleorg/B2C%20Brownbag/_git/B2C%20Brownbag +``` +## Credits +Thanks to Simon Wahlin for the [post](https://blog.simonw.se/cloning-all-repositories-from-azure-devops-using-azure-cli/) + diff --git a/_posts/2021-07-20-remove-sensitive-github-commit.md b/_posts/2021-07-20-remove-sensitive-github-commit.md new file mode 100644 index 000000000000..1c2f8cb8e784 --- /dev/null +++ b/_posts/2021-07-20-remove-sensitive-github-commit.md @@ -0,0 +1,15 @@ +--- +layout: post +published: true +title: Keep your secrets out of your source code +date: '2021-07-20' +subtitle: Protect your secrets and clean up if you accidentally over share +--- + +## Problem +We accidentally committed our secrets (password or secret key) to GitHub + +## Solution +1. Prevent secrets from being committed: [avoid accidental commits](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository#avoiding-accidental-commits-in-the-future) +2. Clean up: Either use [BFG](https://stuarteggerton.com/2021-07-20-remove-sensitive-github-commit/) or see other methods to [remove sensitive data using](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository) + diff --git a/aboutme.md b/aboutme.md index 3d9bf906f97b..3d765eae11cf 100644 --- a/aboutme.md +++ b/aboutme.md @@ -7,7 +7,6 @@ subtitle: What about me? My name is Stuart Eggerton. I have the following qualities: - I love to break things to understand how they work -- I'm extremely loyal to my family - I am motivated by working with and coordinating others to deliver things of value - I like Agile - I like Dev diff --git a/azure-tips.html b/azure-tips.html new file mode 100644 index 000000000000..5b6de553967e --- /dev/null +++ b/azure-tips.html @@ -0,0 +1,33 @@ + + + + + Amazing Azure Tips 2020 - making things easier + + + + + + + + + + + + + + + + + + + + +

You need to enable JavaScript...../

+ + + + diff --git a/loaderio-497f77b1410cdb263ffbf690fdc53e78.txt b/loaderio-497f77b1410cdb263ffbf690fdc53e78.txt new file mode 100644 index 000000000000..d9a4fa28d2a9 --- /dev/null +++ b/loaderio-497f77b1410cdb263ffbf690fdc53e78.txt @@ -0,0 +1 @@ +loaderio-497f77b1410cdb263ffbf690fdc53e78 diff --git a/skip-training-videos.html b/skip-training-videos.html new file mode 100644 index 000000000000..573503bc1f40 --- /dev/null +++ b/skip-training-videos.html @@ -0,0 +1,33 @@ + + + + + How to skip the intro of any training video 2020 - making things easier + + + + + + + + + + + + + + + + + + + + + + + +