Skip to content

Instantly share code, notes, and snippets.

View abhishek0010's full-sized avatar

Abhishek Kumar abhishek0010

View GitHub Profile
@abhishek0010
abhishek0010 / Prepend YAML Front Matter to Markdown Files
Created July 12, 2023 12:06 — forked from jryio/Prepend YAML Front Matter to Markdown Files
Adding YAML front matter to markdown files (title)
# For each result of find call our script to run on the filename
$ find . -name "*.md" -print0 | xargs -0 -I file ./prepend.sh file
@abhishek0010
abhishek0010 / Update remote repo
Created April 26, 2020 11:38 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket