Skip to content

Commit

Permalink
add more
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Suk Ha committed Dec 28, 2023
1 parent 6d40082 commit 6989ecd
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _posts/2023-12-22-MLops.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ This means to bind port 8080 of the container to TCP port 80 on 127.0.0.1 of the
---

## add port tunneling between mac (local) and linux (remote) insidee a linux (remote), i.e. I ssh into linux (remote) from mac (local)

press `shift` and `~` and `c`. Hold `shift` while hitting `~` and `c`.\
`-L 8888:hotcake:8888` : connect mac's 8888 to hotcake's (server) 8888.\
[openssh - Add port forwarding to a running SSH session - Unix & Linux Stack Exchange](https://unix.stackexchange.com/questions/697825/add-port-forwarding-to-a-running-ssh-session)

---
Expand Down Expand Up @@ -82,4 +85,10 @@ Method 2):

---

## Pushing to a repo that I cloned from someone else's

https://stackoverflow.com/questions/18200248/cloning-a-repo-from-someone-elses-github-and-pushing-it-to-a-repo-on-my-github

1. Create a new repository at http://github.com (don't initialize README, .gitignore, license)
2. Clone a repo of someone else's to my local machine\
git clone
34 changes: 34 additions & 0 deletions _posts/2023-12-27-etc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: post
title: miscellaneous
date: 2023-12-22 21:30
description: stuff I learned
tags:
categories: learning
featured: false
---

## Setting zsh as default terminal in SSH remote linux vscode terminal

https://stackoverflow.com/questions/55978281/how-do-i-configure-a-different-shell-for-a-vs-code-ssh-remote

Add
```zsh
{
"terminal.integrated.defaultProfile.linux": "zsh",
}
```
to `Preferences: Open Remote Settings (SSH: hotcake)` using `cmd + shift + p`

If vscode doesn't recognize `zsh`, install it first.

---

## git branch output issue

https://stackoverflow.com/questions/68413744/my-integrated-vscode-terminal-zsh-opens-git-cli-when-i-type-in-git-branch

`git config --global pager.branch false`

---

0 comments on commit 6989ecd

Please sign in to comment.