Skip to content

Instantly share code, notes, and snippets.

View yzhanginwa's full-sized avatar

Ethan Zhang yzhanginwa

View GitHub Profile
I routinely use both iTerm2 and GNOME Terminal. It’s important to define a set of hotkeys that are easy to
remember and do not conflict with system shortcuts. I have not changed the hotkeys for Chrome. The table
below shows the hotkeys I use.
+----------------------+---------------------------------------+---------------------------------------+
| | MacOS | Ubuntu |
| function +-------------------+-------------------+-------------------+-------------------+
| | Chrome | iTerm2 | Chrome | Gnome Terminal |
+----------------------+-------------------+-------------------+-------------------+-------------------+
| |
@Tamal
Tamal / git-ssh-error-fix.sh
Last active October 31, 2025 02:02
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone [email protected]:xxxxx/xxxx.git my-awesome-proj
Cloning into 'my-awesome-proj'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
$ # This should also timeout
$ ssh -T [email protected]
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work
@cjonesy
cjonesy / macbook_pro_ubuntu_install.md
Last active October 29, 2025 20:10
Installing Ubuntu on MacBook Pro

Macbook Pro - Ubuntu Install

Requirements

2 USB drives > 2GB

Pre-Install

Create bootable USB drive

  1. Grab the latest Ubuntu Desktop iso image