Combo và workflow đề xuất cho SSH remote coding

Combo và workflow đề xuất cho SSH remote coding

Combo đề xuất Local (Windows): WezTerm + SSH config Remote (Linux): tmux + Neovim + Yazi + Aider + lazygit + Git Tại sao combo này phù hợp hơn workflow WSL2 Khi code qua SSH, toàn bộ toolchain chạy trực tiếp trên Linux server — không có vấn đề MIME type, không cần WSL, Yazi preview ảnh hoạt động ngay vì ueberzugpp có native Linux. LSP server, treesitter, Aider đều chạy sát code, không có latency copy file qua mạng.

Wireguard VPN trên Openvz

WireGuard là một hệ thống VPN thú vị, mới, cực kỳ đơn giản, sử dụng mật mã hiện đại. Việc triển khai Linux của nó chạy trong kernel, giúp tăng hiệu năng đáng kể so với triển khai VPN không gian người dùng truyền thống Mô-đun nhân WireGuard rất tuyệt, nhưng đôi khi bạn có thể không cài đặt được các mô-đun mới. Ví dụ như là trên VPS sử dụng OpenVZ hoặc LXC.

Handshake Ledger Palm Reader Arm64 board

2 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 6 nvm list-remote 7 nvm install v14.20.1 9 sudo apt install node-gyp 11 sudo apt install pkg-config libusb-1.0-0-dev libudev-dev 13 sudo apt install build-essential autotools-dev automake autoconf git curl -y 14 sudo apt install libusb-dev libtool 18 sudo apt install unbound libunbound-dev 15 git clone https://github.com/pinheadmz/palmreader 16 cd palmreader 21 npm install 22 npm install -g 24 cd bin 25 ls 27 ./palmreader 28 cd 29 history 12 wget -q -O - https://raw.

Vọc nodejs

//install node version manager curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash // check version node –version // list remote nvm list-remote // list installed versions of node (via nvm) nvm ls // install specific version of node nvm install v14.20.1 // set default version of node nvm alias default v14.20.1 // switch version of node nvm use v14.20.1 // https://stackoverflow.com/questions/66434750/npm-err-git-dep-preparation-failed-when-trying-to-install-package-json npm cache clean –force rm -rf node_modules && rm package-lock.json npm install –legacy-peer-deps

Giao dịch tiền điện tử với hummingbot

1. Tạo thư mục chứa dữ liệu bot mkdir hummingbot 2. Phân chia thư mục dữ liệu của bot cho file logs, file config và file database mkdir hummingbot/conf mkdir hummingbot/logs mkdir hummingbot/data mkdir hummingbot/scripts 3. Phân quyền thư mục Để tránh lỗi [Errno 13] Permission denied: 'conf/encrypted_default.json' thì cần phải phân quyền thư mục sudo chown -R $USER ~/hummingbot chmod -R 777 ./hummingbot 3. Tạo và chạy hummingbot docker create -it \ --name hummingbot-instance \ --network host \ --mount "type=bind,source=$(pwd)/hummingbot/conf,destination=/conf/" \ --mount "type=bind,source=$(pwd)/hummingbot/logs,destination=/logs/" \ --mount "type=bind,source=$(pwd)/hummingbot/data,destination=/data/" \ --mount "type=bind,source=$(pwd)/hummingbot/scripts,destination=/scripts/" \ coinalpha/hummingbot:latest docker start hummingbot-instance && docker attach hummingbot-instance Giới hạn tài sản có thể được sử dụng Trường hợp bạn muốn bot chỉ có thể thực thi trong 100USD có thể xem xét tính năng này.

Cài đặt LEMP để chạy Wordpress sử dụng Docker

1. NGINX version: '3' services: nginx: image: nginx:latest container_name: nginx ports: - '80:80' - '443:443' volumes: - './app:/var/www/html' - './config/nginx:/etc/nginx/conf.d' 2. MySQL (MariaDB) version: '3' services: nginx: image: nginx:latest container_name: nginx ports: - '80:80' - '443:443' volumes: - './app:/var/www/html' - './config/nginx:/etc/nginx/conf.d' mariadb: image: mariadb:10.3.9 container_name: mariadb restart: 'on-failure' environment: MYSQL_ROOT_PASSWORD: lab-skywirex volumes: - ${PWD} Luc nay co the truy cap vao container mariadb de thuc thi cau lenh SQL

Kích hoạt Repo testing và unstable trong Debian

https://www.binarytides.com/enable-testing-repo-debian/ Cài đặt và sử dụng backports https://wiki.debian.org/AptPreferences https://wiki.debian.org/DebianTesting https://www.debian.org/security/ VPN https://xalitech.com/wireguard-vpn-server-on-aws-lightsail/ https://golb.hplar.ch/2018/10/wireguard-on-amazon-lightsail.html