Skip to content

Instantly share code, notes, and snippets.

View mldyh's full-sized avatar
😉

Maulidiyah Nur mldyh

😉
  • Indonesia
View GitHub Profile
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active April 21, 2025 22:13
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
@bmaupin
bmaupin / free-database-hosting.md
Last active April 22, 2025 06:41
Free database hosting
@bmaupin
bmaupin / free-backend-hosting.md
Last active April 20, 2025 20:39
Free backend hosting
@danharper
danharper / background.js
Last active April 21, 2025 04:10
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});