Skip to content

Instantly share code, notes, and snippets.

View abdulwahidgul24085's full-sized avatar
🎯
Focusing

abdulwahidgul abdulwahidgul24085

🎯
Focusing
  • Software Guy
  • Pakistan
View GitHub Profile
@abdulwahidgul24085
abdulwahidgul24085 / gist:5473f6e2007cb9d2fe23f37ea857a5a8
Created September 13, 2022 10:29
Github AccessToken Another Account
token: github-oauth-token
username: github-username
email: github-email
get repo name
https://github.com/<username>/<repo>.git
clone the repo with the token in the URL
git clone https://<token>@github.com/<username>/<repo>.git
@abdulwahidgul24085
abdulwahidgul24085 / Nodejs Vscode Debugger
Last active February 4, 2021 16:04
Nodejs Vscode Debugger and Envfile link
This runs the nodejs with vscode using nodemon for auto refresh on save. For this we need to install nodemon globally with {npm i -g nodemon}
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch server.js via nodemon",
"type": "node",
"request": "launch",
"runtimeExecutable": "nodemon",
"program": "${workspaceFolder}\\_express\\index.js", <- the root file to run the index.js, app.js, or server.js
@abdulwahidgul24085
abdulwahidgul24085 / Firebase VSCode Debugger
Last active January 26, 2021 14:24
Attach Vscode Debug to Firebase functions
0. Create a launch.json file by with vscode using the Debugger.
1. install npm i -g firebase-tools.
2. Add the following json to .vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach",
@abdulwahidgul24085
abdulwahidgul24085 / migration.delete
Last active December 5, 2022 17:57
Delete all Migrations in Django project
find . -path "*/migrations/*.py" -not -path "./env/*" -not -name "__init__.py" -delete
@abdulwahidgul24085
abdulwahidgul24085 / Rinkeby.md
Last active June 8, 2018 23:46 — forked from learner-long-life/Rinkeby.md
How to get on Rinkeby Testnet in less than 10 minutes

How to get on Rinkeby Testnet in less than 10 minutes

Following instructions from the excellent https://www.rinkeby.io/

Synchronizing a Full Node

A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,