--max_num_seqs default value set to 128 and when OOM you can set --max_num_seqs to lower value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.lang.reflect.*; | |
| class MyClass { | |
| private String privateField = "privateValue"; | |
| public MyClass() {} | |
| public MyClass(String arg) { | |
| this.privateField = arg; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Source https://stackoverflow.com/questions/36651091/how-to-install-packages-in-linux-centos-without-root-user-with-automatic-depen | |
| pkgname=$1 | |
| if [ -z $pkgname ]; then | |
| echo "Usage: ./non-root-yum-install.sh pkgname-here" | |
| exit 1 | |
| fi | |
| rand=$(openssl rand -base64 6) |
Notes
- If your local network use public IP ranges instead of private ones, make sure to add respecive
RETURNrules to iptables to prevent looping issue - Set clash as DHCP's only DNS server to allow domain-based filter (shunting) rules work
- Use
lsof -i udp:53to check if clash's DNS module work fine, otherwise you may have to killsystemd-resolvedand any other processes occupying the UDP 53 port - The given scripts will NOT hangle the traffic of gateway itself since it is not recommend to do so. If you want to redirect the egress traffic of the gateway, the following material may be useful
Reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| # Version | |
| 2021-08-31 | |
| # Tested on | |
| Python 3.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_gcide-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_wn-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd-moby-thesaurus-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd-web1913-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_elements-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd-vera-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd-jargon-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_foldoc-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd-easton-2.4.2.tar.bz2 | |
| http://download.huzheng.org/dict.org/stardict-dictd_www.dict.org_hitchcock-2.4.2.tar.bz2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install emacs-plus@28 --with-no-titlebar --with-modern-sexy-v1-icon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 将本地docker镜像放入minikube环境 | |
| docker save altinity/clickhouse-operator | (eval $(minikube docker-env) && docker load) | |
| docker编译go module dockerfile 代理环境设置 | |
| ENV GOPROXY https://goproxy.cn | |
| run clickhouse | |
| docker run -d --name clickhouse-server --ulimit nofile=262144:262144 --volume=$HOME/cl-store:/var/lib/clickhouse yandex/clickhouse-server:20.3 | |
| ## k8s add label for all node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Parquet File format - Storage details | |
| http://letsexplorehadoop.blogspot.com/2016/09/parquet-file-format-storage-details.html |
NewerOlder