Saturday 4 September 2021

Support for password authentication was removed (Git , Github) Error Solution

 Github announced their intent to require the use of token-based authentication for all authenticated Git operations. They will no longer accept account passwords when authenticating Git operations on GitHub.com:

Generate token:

On Mac:

  • Go to keychain Access
  • Press login tab and all items
  • Click Github key
  • Change the password to the recent generated token

enter image description here


On Windows:

  • Go to Control Panel => User Accounts => Credential Manager

  • Edit the Generic Credential of github

  • Paste the token instead of the password

enter image description here

Thursday 24 June 2021

Visual Studio Product keys

Professional:

NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y

Enterprise:

BF8Y8-GN2QH-T84XB-QVY3B-RC4DF


#haseebullah

#haseebullahabbasi

#haseebabbasi00


Tuesday 1 June 2021

Yarn and Nodemon Error in VsCode or PowerShell

Open PowerShell (Run As Administrator)
Check the current execution policy using this command  
      Get-ExecutionPolicy
# You should get 'Restricted'
Run this command to make it 'Unrestricted'
    Set-ExecutionPolicy Unrestricted
Check again whether execution policy changed by running this command
    Get-ExecutionPolicy    
   # You should get     
'Unrestricted'    
Now try to run nodemon , yarn etc

Thursday 28 January 2021

git pull vs git fetch

 


python' is not recognized as an internal or external command, !!!

 If you are getting the error

 """ 'python' is not recognized as an internal or external command,

operable program or batch file. """

Locate you python installed directory, 

Then Open Environment Variables and 

Select Path , double click on it

add new path then paste here the new path

you are done

HaseebAbbasi00.blog.cot.com




Monday 25 January 2021

White noise from headphone jack.


I have the Dell Latitude E5540 with Ubuntu 20.04 and whenever I use headphones that plug onto audio jack I hear a hissing/static sound. I hear the same sounds using the speakers.


Solution

Open Terminal (CRTL + ALT + T) and past the command 


  1. Verify how is your sound card's power_save parameter:

    cat /sys/module/snd_hda_intel/parameters/power_save
    
  2. If it returns 1, do the following to change it temporally:

    echo "0" | sudo tee /sys/module/snd_hda_intel/parameters/power_save
    
  3. If the previous step worked for you, persist that configuration (otherwise the problem will continue after reboot):

    echo "options snd_hda_intel power_save=0" | sudo tee -a /etc/modprobe.d/audio_disable_powersave.conf
    
  4. (Optional) You can also do the same for power_save_controller parameter following the steps 1, 2 and 3 replacing power_save by power_save_controller also changing 0 to N.

    Note: using the first step will probably return Y for this parameter, instead of 1.

Thursday 14 January 2021

Contribution on GitHub

1. Fork repository of that User

2. Help him/her in code

3. Commit changes in code

4. Push your changes

5 Create Pull Request with a message