Skip to content

Instantly share code, notes, and snippets.

View AdroitAdorKhan's full-sized avatar
:octocat:
1x.engineer

Ador AdroitAdorKhan

:octocat:
1x.engineer
  • Madaripur, Bangladesh
View GitHub Profile
@AdroitAdorKhan
AdroitAdorKhan / openpgp.txt
Created September 26, 2017 05:15
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:24a8e639c4b68bf8024e142785e9b7d0592ec9b6]
@AdroitAdorKhan
AdroitAdorKhan / openpgp.txt
Created September 26, 2017 05:15
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:24a8e639c4b68bf8024e142785e9b7d0592ec9b6]
@AdroitAdorKhan
AdroitAdorKhan / openpgp.txt
Created September 26, 2017 09:35
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:512e1418b100099fb0eaf5b5c781e2d722c68eed]
@AdroitAdorKhan
AdroitAdorKhan / openpgp.txt
Created September 26, 2017 09:35
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:512e1418b100099fb0eaf5b5c781e2d722c68eed]
@AdroitAdorKhan
AdroitAdorKhan / openpgp.txt
Created September 26, 2017 09:35
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:512e1418b100099fb0eaf5b5c781e2d722c68eed]
@AdroitAdorKhan
AdroitAdorKhan / AvroidGist.rst
Last active July 5, 2018 10:40
Avroid Github Gist: To-Do List, Changelog and more.

Keybase proof

I hereby claim:

  • I am adroitadorkhan on github.
  • I am adroitadorkhan (https://keybase.io/adroitadorkhan) on keybase.
  • I have a public key ASAwN5SOnBG5tZIhPQ09JzFcSCSFtpHEXFl8JPbfR9Wzago

To claim this, I am signing this object:

@AdroitAdorKhan
AdroitAdorKhan / git-clearHistory
Last active February 25, 2025 09:25 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git branch -m main # change to main
git add .
git commit -m "Initial commit."
-- push to the github remote repos ensuring you overwrite history
@AdroitAdorKhan
AdroitAdorKhan / publickey-git-error.markdown
Created June 27, 2019 20:21 — forked from adamjohnson/publickey-git-error.markdown
Fix "Permission denied (publickey)" error when pushing with Git

"Help, I keep getting a 'Permission Denied (publickey)' error when I push!"

This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:

  1. Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any *nix based command prompt (but not the default Windows Command Prompt!)
  2. Type cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows)
  3. Within the .ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.
  4. To create the SSH keys, type ssh-keygen -t rsa -C "[email protected]". Th

Keybase proof

I hereby claim:

  • I am adroitadorkhan on github.

  • I am adroitadorkhan (https://keybase.io/adroitadorkhan) on keybase.

  • I have a public key ASDhm1C9VUc_bOhprDWzlmNChOp24gKpzezk965YdwSlqAo