Skip to content

Instantly share code, notes, and snippets.

View kingsabru's full-sized avatar

Kingsley Abru kingsabru

  • Accra, Ghana
View GitHub Profile
@kingsabru
kingsabru / work-with-multiple-github-accounts.md
Created November 24, 2023 10:48 — 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
@kingsabru
kingsabru / create-python-deps-layer.sh
Last active June 7, 2023 15:16
Create zip file for AWS Lambda Layer from requirements.txt
#!/bin/bash
mkdir -p deps
pip install -r requirements.txt -t deps -q
echo "package dependencies download complete."
rm -rf deps/*dist-info
zip -rq deps-layer.zip deps
rm -rf deps
echo "deps-layer.zip created successfully."
@kingsabru
kingsabru / cloudSettings
Last active April 23, 2021 09:36 — forked from akashnimare/README.md
A Beginners Guide to writing a Kickass README ✍
{"lastUpload":"2021-04-23T09:35:45.173Z","extensionVersion":"v3.4.3"}
@kingsabru
kingsabru / README-Template.md
Created November 24, 2019 14:24 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites