Skip to content

Instantly share code, notes, and snippets.

View pengchujin's full-sized avatar
🇨🇳
I am chinese

pengchujin

🇨🇳
I am chinese
View GitHub Profile
"""
title: DeepSeek R1
author: zgccrui
description: 在OpwenWebUI中显示DeepSeek R1模型的思维链 - 仅支持0.5.6及以上版本
version: 1.2.10
licence: MIT
"""
import json
import httpx
#!/bin/bash
sudo apt-get update
sudo apt-get install python
sudo apt-get install python-pip
unset LC_ALL
pip install shadowsocks
unset LC_ALL
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales
@pengchujin
pengchujin / nomad_client.sh
Last active July 30, 2018 09:35
nomad_client
#!/bin/bash
# client install
export IP_ADDRESS=$(hostname -i)
echo $IP_ADDRESS
apt-get update
apt-get install -y unzip dnsmasq wget
# install nomad
wget https://releases.hashicorp.com/nomad/0.8.4/nomad_0.8.4_linux_amd64.zip
@pengchujin
pengchujin / nomad_server.sh
Created July 30, 2018 09:19
nomad_server
#!/bin/bash
# server install
export IP_ADDRESS=$(hostname -i)
echo $IP_ADDRESS
apt-get update
apt-get install -y unzip dnsmasq wget
# install Nomad
wget https://releases.hashicorp.com/nomad/0.8.4/nomad_0.8.4_linux_amd64.zip
unzip nomad_0.8.4_linux_amd64.zip -d /usr/local/bin/