Skip to content

Instantly share code, notes, and snippets.

View jaxvanyang's full-sized avatar
🦀

Jax Young jaxvanyang

🦀
  • China
  • 00:05 (UTC +08:00)
View GitHub Profile
@SansGuidon
SansGuidon / .vimrc
Last active April 10, 2023 10:57
Validating Jenkinsfile in Vim and/or using CLI / terminal
" ~/.vimrc
" ...
" Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Plugin 'dense-analysis/ale'
" ...
" dense-analysis/ale options
let g:ale_history_log_output = 1
let g:ale_use_global_executables = 1
@pastleo
pastleo / howdy-face-recognition-arch-kde.md
Last active October 13, 2024 14:44
Setup face recognition authentication on ArchLinux and KDE Plasma using howdy

Setup face recognition authentication on ArchLinux and KDE Plasma using howdy

This is surprisingly easy...basically following Arch Wiki:

https://wiki.archlinux.org/index.php/Howdy

After some investigation, here is step by step and preferences

Install howdy

@YcSmile
YcSmile / note.txt
Created July 8, 2019 13:36
Linux 英文系统下,切换wps界面语言为中文
当前wps版本 11.1.0.8722
1 方法一
修改配置文件
nano ~/.config/Kingsoft/Office.conf
[General]
languages=
@chenshengzhi
chenshengzhi / git_ssh_proxy.md
Last active November 8, 2024 08:31
git ssh 代理设置

仅为 GitHub 设置代理

git 代理

设置 git config --global http.https://git.521000.best.proxy socks5://127.0.0.1:1086
设置完成后, ~/.gitconfig 文件中会增加以下条目:

[http "https://github.com"]
    proxy = socks5://127.0.0.1:1086
@fnky
fnky / ANSI.md
Last active November 16, 2024 01:32
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active November 15, 2024 16:21
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@ericavonb
ericavonb / git-commit-style-guide.md
Last active November 9, 2024 07:27
Git Commit Style Guide

Git Commit Style Guide

Inspiration: Deis Commit Style Guide

I often quote Deis in sections below.

Motivation

It makes going back and reading commits easier. It also allows you to spend less time thinking about what your commit message should be.

@KartikTalwar
KartikTalwar / Documentation.md
Last active September 24, 2024 20:03
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs