Skip to content

Instantly share code, notes, and snippets.

View gowk's full-sized avatar
⛏️
Playing in the hole

gowk gowk

⛏️
Playing in the hole
View GitHub Profile
@syhily
syhily / zc688.txt
Created June 7, 2022 01:55
Calibre-Web 书籍下载地址
This file has been truncated, but you can view the full file.
http://zc688.top:20206/download/1/epub/1.epub
http://zc688.top:20206/download/2/epub/2.epub
http://zc688.top:20206/download/3/epub/3.epub
http://zc688.top:20206/download/4/epub/4.epub
http://zc688.top:20206/download/5/epub/5.epub
http://zc688.top:20206/download/6/epub/6.epub
http://zc688.top:20206/download/7/epub/7.epub
http://zc688.top:20206/download/8/epub/8.epub
http://zc688.top:20206/download/9/epub/9.epub
@davidfowl
davidfowl / .NET6Migration.md
Last active July 19, 2024 22:48
.NET 6 ASP.NET Core Migration
@evilH2O2
evilH2O2 / .Xresources
Last active April 10, 2024 09:38
[ArchLinux+I3wm] #config
! ------ ~/.Xresources -----
! 刷新配置: xrdb -merge ~/.Xresources
!
! ----- font ---
Xft.dpi:96
URxvt.font: xft:Inconsolata Nerd:size=11, xft:DejaVuSansMono Nerd:size=11, xft:Source Code Pro:size:9, xft:WenQuanYi Micro Hei:size=10
! DejaVuSansMono Nerd 和 Inconsolata Nerd 配合 Vim 插件 file icon
!URxvt.font: xft:Fira Code:size=10, xft:WenQuanYi Micro Hei:size=10
!字体间距
! URxvt.letterSpace: 1
@Justsoos
Justsoos / p.sh
Last active February 3, 2023 02:31
proxychains CLI wrapper (updated)
#!/bin/sh
# proxychains wrapper
# Choose pre-supposed profile with -1,-2,-3 OR appoint by -n proxy(Node)_ip(hostname):port and -p proxy_protocol and -q as quiet mode
# Default profile
proxy_hostname=127.0.0.1
proxy_port=1080
protocol=socks5
# profile 1
proxy_hostname_1=127.0.0.1
@enricofoltran
enricofoltran / main.go
Last active June 26, 2024 12:16
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@Khoulaiz
Khoulaiz / gist:41b387883a208d6e914b
Last active June 10, 2024 15:36
Checking ports without telnet

Here are several different ways to test a TCP port without telnet.

$ cat < /dev/tcp/127.0.0.1/22
SSH-2.0-OpenSSH_5.3
^C

$ cat &lt; /dev/tcp/127.0.0.1/23
@kachayev
kachayev / concurrency-in-go.md
Last active May 31, 2024 09:34
Channels Are Not Enough or Why Pipelining Is Not That Easy

C#编码规范

概述

规范制定原则

  • 方便代码的交流和维护。
  • 不影响编码的效率,不与大众习惯冲突。
  • 使代码更美观、阅读更方便。
  • 使代码的逻辑更清晰、更易于理解。
@guweigang
guweigang / git_toturial
Last active July 23, 2024 08:39
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "xxx@xxx.com" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库
@mattetti
mattetti / multipart_upload.go
Last active July 18, 2024 17:31
Example of doing a multipart upload in Go (golang)
package main
import (
"bytes"
"fmt"
"io"
"log"
"mime/multipart"
"net/http"
"os"