Skip to content

Instantly share code, notes, and snippets.

View 9xcode's full-sized avatar
:octocat:
programming

9xCode 9xcode

:octocat:
programming
View GitHub Profile
@9xcode
9xcode / Notepad++AdvancedSearch.txt
Created January 18, 2024 11:56 — forked from ramons03/Notepad++AdvancedSearch.txt
Notepad++ Advanced search and replace. Null, Enter char, Tab, Regular Expressions, Etc.
Open the find/replace dialog.
At the bottom will be some Search mode options. Select "Extended (\n \r \t \0 \x...)"
In either the Find what or the Replace with field entries, you can use the following escapes:
\n new line (LF)
\r carriage return (CR)
\t tab character
\0 null character
\xddd special character with code ddd
@9xcode
9xcode / multiple_ssh_setting.md
Created July 9, 2023 18:26 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@9xcode
9xcode / work-with-multiple-github-accounts.md
Created July 9, 2023 11:44 — forked from rahularity/work-with-multiple-github-accounts.md
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent