Skip to content

Instantly share code, notes, and snippets.

View priyankarpal's full-sized avatar
🏠
Working from home

Priyankar Pal priyankarpal

🏠
Working from home
View GitHub Profile
@priyankarpal
priyankarpal / code.md
Last active February 20, 2024 06:08
refusing to allow an OAuth App to create or update workflow in linux

How to solve this issue

refusing to allow an OAuth App to create or update workflow in linux

this is a simple issue just open nano ~/.git-credentials

update the old token to new token with required permission

@priyankarpal
priyankarpal / nvidia.md
Last active June 3, 2024 03:38
Nvidia gtx 1650 graphics driver not loading in kali linux xfce - solve

Nvidia gtx 1650 graphics driver not loading in kali linux xfce

how I solve this problem

  1. update Kali Linux system sudo apt update sudo apt -y full-upgrade -y
  2. Install essential build tools and kernel headers sudo apt install build-essential sudo apt install linux-headers-$(uname -r)
  3. after completeting all steps reboot your system
@priyankarpal
priyankarpal / stale-issue.yml
Created July 8, 2023 13:29
Stale issue & PR checker github action
name: 'Close Stale Issues & PRs'
on:
schedule:
- cron: '0 8 * * *'
jobs:
stale:
runs-on: ubuntu-22.04
steps:
- uses: actions/stale@v4.1.1
@priyankarpal
priyankarpal / json-check.yml
Created July 8, 2023 13:27
json code checker
name: JSON check
on:
push:
paths:
- '**.json'
pull_request:
jobs:
test:
@priyankarpal
priyankarpal / vercel.json
Last active June 17, 2023 06:51
404 error in react application when we refresh(vercel deployment)
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
]
}