~/.config/fish/config.fish
:
set fish_prompt_pwd_dir_length 0
set -U fish_greeting "🐟 Hello, $USER 🐟"
function fish_prompt --description "Write out the prompt"
set -l color_cwd
set -l suffix
switch "$USER"
case root toor
~/.config/fish/config.fish
:
set fish_prompt_pwd_dir_length 0
set -U fish_greeting "🐟 Hello, $USER 🐟"
function fish_prompt --description "Write out the prompt"
set -l color_cwd
set -l suffix
switch "$USER"
case root toor
References:
fscarmen/warp: WARP one-click script. Add an IPv4, IPv6 or dual-stack CloudFlare WARP network interface and Socks5 proxy for VPS. 一键脚本
XTLS/Xray-install: Easiest way to install & upgrade Xray.
配置运行 | Project X
sudo su
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
Thanks @NINOMAE1995 very much!
import argparse | |
import sys | |
class ArgParser(argparse.ArgumentParser): | |
def __init__(self, *args, **kwargs): | |
super(ArgParser, self).__init__(*args, **kwargs) | |
self.add_argument( | |
"-s", "--sync", action="store_true", help="Sync origin and upstream" | |
) | |
self.add_argument("-i", "--paper-id", type=str, help="arXiv paper ID") |
If cannot ssh to remote server with password, it is possibly because that the remote server does not enable PasswordAuthentication
.
So we need to use the method of public keys to login.
Run in Local Machine:
ssh-keygen
This will generate a key pair for ssh.
// ==UserScript== | |
// @name Break Bing Chat Input Limit | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Break the input character limits of Bing Chat | |
// @match https://www.bing.com/search* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
(1) Disable all local proxy settings in PC:
Automatic proxy setup
: Off
Manual proxy setup
> Use a proxy server
: Off
(2) Add proxy server in Proxifier:
Profile
> Proxy Servers
> Add
:
Address | Port | Type |
---|
|127.0.0.1|11111|HTTPS|
Download related version of FRP, both in PRIVATE and PUBLIC:
Run:
# > ~/repos/
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd stable-diffusion-webui
bash webui.sh --listen --share --port 23456 --no-gradio-queue --xformers --device-id=2
Download commonly used models: