Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ppaanngggg's full-sized avatar
:shipit:
Jumping

ppaanngggg ppaanngggg

:shipit:
Jumping
  • Shanghai Tianrang.inc
  • 中国
View GitHub Profile
@ppaanngggg
ppaanngggg / kratos_zerolog_sample.go
Last active May 21, 2022 03:14
kratos日志框架使用zerelog的例子
package main
import (
"context"
"io"
"os"
"time"
klog "github.com/go-kratos/kratos/v2/log"
"github.com/rs/zerolog"
@ppaanngggg
ppaanngggg / git-ssh-error-fix.sh
Created January 18, 2024 01:53 — forked from Tamal/git-ssh-error-fix.sh
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone git@github.com: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 git@github.com
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work