Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/update-md-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
update-date:
Expand Down Expand Up @@ -35,7 +36,12 @@ jobs:
run: python .github/workflows/update_date.py

- name: Commit changes
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin ${{ github.event.pull_request.head.ref }}
git pull --rebase origin ${{ github.event.pull_request.head.ref }} || echo "No rebase needed"
git add -A
git commit -m "Update last modified date in Markdown files" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
git push origin HEAD:${{ github.event.pull_request.head.ref }}
96 changes: 96 additions & 0 deletions .github/workflows/use-visitor-counter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Use Visitor Counter Logic

on:
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
workflow_dispatch: # Allows manual triggering

permissions:
contents: write
pull-requests: write

jobs:
update-visitor-count:
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Shallow clone visitor counter logic
run: git clone --depth=1 https://github.com/brown9804/github-visitor-counter.git

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies for github-visitor-counter
run: |
cd github-visitor-counter
npm ci

- name: Run visitor counter logic (updates markdown badges and metrics.json)
run: node github-visitor-counter/update_repo_views_counter.js
env:
TRAFFIC_TOKEN: ${{ secrets.TRAFFIC_TOKEN }}
REPO: ${{ github.repository }}

- name: Move generated metrics.json to root
run: mv github-visitor-counter/metrics.json .

- name: List files for debugging
run: |
ls -l
ls -l github-visitor-counter

- name: Clean up visitor counter logic
run: rm -rf github-visitor-counter

- name: Configure Git author
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

# Commit and push logic for PR events
- name: Commit and push changes (PR)
if: github.event_name == 'pull_request'
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin
git checkout ${{ github.head_ref }}
git add "*.md" metrics.json
git commit -m "Update visitor count" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
git pull --rebase origin ${{ github.head_ref }} || echo "No rebase needed"
git push origin HEAD:${{ github.head_ref }}

# Commit and push logic for non-PR events (schedule, workflow_dispatch)
- name: Commit and push changes (non-PR)
if: github.event_name != 'pull_request'
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch origin
git checkout ${{ github.ref_name }} || git checkout -b ${{ github.ref_name }} origin/${{ github.ref_name }}
git add "*.md" metrics.json
git commit -m "Update visitor count" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${TOKEN}@github.com/${{ github.repository }}
git pull --rebase origin ${{ github.ref_name }} || echo "No rebase needed"
git push origin HEAD:${{ github.ref_name }}

- name: Create Pull Request (non-PR)
if: github.event_name != 'pull_request'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: update-visitor-count
title: "Update visitor count"
body: "Automated update of visitor count"
base: main
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-05-06
Last updated: 2025-07-16

------------------------------------------

Expand Down Expand Up @@ -286,8 +286,9 @@ Read more about [Endpoints for inference in production](https://learn.microsoft.

</details>


<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
11 changes: 5 additions & 6 deletions azML-modelcreation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-05-06
Last updated: 2025-07-16

------------------------------------------


<details>
<summary><b>List of References </b> (Click to expand)</summary>

Expand Down Expand Up @@ -299,9 +298,9 @@ https://github.com/user-attachments/assets/1b3e5602-dc64-4c39-be72-ed1cbd74361e

> Once deployed, you can send HTTP requests to the endpoint to get predictions.



<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
9 changes: 5 additions & 4 deletions azML-modelcreation/data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-04-29
Last updated: 2025-07-16

------------------------------------------

Expand All @@ -18,8 +18,9 @@ Last updated: 2025-04-29
- **Department**: The department where the employee works (e.g., HR, Engineering, Sales).
- **Salary**: The employee's annual salary in USD, ranging from \$40,000 to \$120,000.


<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
8 changes: 5 additions & 3 deletions infrastructure/azMachineLearning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-04-29
Last updated: 2025-07-16

------------------------------------------

Expand Down Expand Up @@ -141,7 +141,9 @@ graph TD;
terraform destroy -var-file terraform.tfvars
```

<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
8 changes: 5 additions & 3 deletions infrastructure/msFabric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-04-29
Last updated: 2025-07-16

------------------------------------------

Expand Down Expand Up @@ -154,7 +154,9 @@ graph TD;

<img width="550" alt="image" src="https://github.com/user-attachments/assets/f2089d03-3a3d-431d-b462-8148ef519104">

<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
8 changes: 5 additions & 3 deletions infrastructure/msFabric/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-04-29
Last updated: 2025-07-16

------------------------------------------

Expand Down Expand Up @@ -183,7 +183,9 @@ Error: Failed to get existing workspaces: Error retrieving keys for Storage Acco
<img width="990" alt="image" src="https://github.com/user-attachments/assets/6c392d1e-32c5-4929-aaf7-6cdb853cf77d" />
</p>

<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->
37 changes: 37 additions & 0 deletions metrics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"date": "2025-07-07",
"count": 330,
"uniques": 20
},
{
"date": "2025-07-08",
"count": 159,
"uniques": 6
},
{
"date": "2025-07-10",
"count": 482,
"uniques": 1
},
{
"date": "2025-07-11",
"count": 170,
"uniques": 4
},
{
"date": "2025-07-12",
"count": 7,
"uniques": 1
},
{
"date": "2025-07-14",
"count": 130,
"uniques": 2
},
{
"date": "2025-07-15",
"count": 2,
"uniques": 1
}
]
8 changes: 5 additions & 3 deletions msFabric-AI_integration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Costa Rica
[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/)
[brown9804](https://github.com/brown9804)

Last updated: 2025-04-29
Last updated: 2025-07-16

------------------------------------------

Expand Down Expand Up @@ -397,7 +397,9 @@ Make sure to replace `"your_openai_api_key"`, `"https://your_openai_api_base/"`,
pprint(dict(rm), indent=4)
```

<!-- START BADGE -->
<div align="center">
<h3 style="color: #4CAF50;">Total Visitors</h3>
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
<img src="https://img.shields.io/badge/Total%20views-9-limegreen" alt="Total views">
<p>Refresh Date: 2025-07-16</p>
</div>
<!-- END BADGE -->