Skip to content

Instantly share code, notes, and snippets.

View abhijithvijayan's full-sized avatar
👋
Hey, life happened, caught up in full time job!

Abhijith Vijayan abhijithvijayan

👋
Hey, life happened, caught up in full time job!
View GitHub Profile
@abhijithvijayan
abhijithvijayan / sync.md
Created September 9, 2018 04:55
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream https://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@abhijithvijayan
abhijithvijayan / update.md
Last active September 9, 2018 04:56
Keep a branch in sync with master

1.Switch to master branch

git checkout master
git pull

2. Switch to other branch (eg: remote_br)

git checkout remote_br
git merge master
@abhijithvijayan
abhijithvijayan / fix.md
Last active November 15, 2024 06:03
win10-lockscreen wallpaper fix
  1. Put the new lockscreen Wallpaper
  2. Go to
C:\ProgramData\Microsoft\Windows
  1. Right-click SystemData if it exists
  2. Change ownership of SystemData folder so you have the full control over it.

pic

@abhijithvijayan
abhijithvijayan / gist-cd-02.md
Last active September 9, 2018 04:59
Delete a Github Commit

Warning

Everything since the commit you want to revert to will be deleted once you push again.

  • Steps
  1. Find the commit number
git log
@abhijithvijayan
abhijithvijayan / alltomp3.md
Last active June 18, 2018 08:11
Downloads for alltomp3.org applications

AllToMP3 is available on Ubuntu, Debian, elementary OS and Linux Mint.

N.B. Sometimes alltomp3.org website goes down so I added the links to downloads here.

For Windows

Go to

https://github.com/AllToMP3/alltomp3-app/releases/

and download AllToMP3-Setup-x.x.x.exe