- OpenWrt/ImmortalWrt 23.05+
- Assume your routing system is arm64 architecture
NOTE Unless otherwise specified, all the following commands are executed in the router terminal.
Update: 2024-07-20 Packaged: https://github.com/douglarek/mihomo-openwrt
NOTE Unless otherwise specified, all the following commands are executed in the router terminal.
Update: 2024-07-20 Packaged: https://github.com/douglarek/mihomo-openwrt
package main | |
import ( | |
"fmt" | |
"math" | |
"os" | |
"unsafe" | |
) | |
// ---------------------------------------------------------------------------- |
#!/bin/sh /etc/rc.common | |
# Copyright (C) 2023 Tianling Shen <cnsztl@immortalwrt.org> | |
USE_PROCD=1 | |
START=99 | |
CONF="dae" | |
PROG="/usr/bin/dae" | |
LOG_DIR="/var/log/dae" |
from langchain.chat_models import ChatOpenAI | |
from langchain.prompts import ChatPromptTemplate | |
from langchain.schema.output_parser import StrOutputParser | |
import requests | |
from bs4 import BeautifulSoup | |
from langchain.schema.runnable import RunnablePassthrough, RunnableLambda | |
from langchain.utilities import DuckDuckGoSearchAPIWrapper | |
import json | |
RESULTS_PER_QUESTION = 3 |
#!/bin/sh | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
SKYBLUE='\033[0;36m' | |
PLAIN='\033[0m' | |
BrowserUA="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36" | |
function Next() { |
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
// Website you intended to retrieve for users. | |
const upstream = 'api.openai.com' | |
// Custom pathname for the upstream website. | |
const upstream_path = '/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = upstream | |
// Countries and regions where you wish to suspend your service. |
@import 'colors.css'; | |
/*title btn config*/ | |
button.titlebutton.close { | |
margin: 0px; | |
padding: 0px; | |
min-height: 30px; | |
min-width: 30px; | |
color: transparent; | |
background-size: 30px; | |
} |
[Data] | |
DataCount=1 | |
[Data_1] | |
Comment=Shortcuts for taking screenshots with Flameshot | |
DataCount=5 | |
Enabled=true | |
Name=Flameshot | |
SystemGroup=0 | |
Type=ACTION_DATA_GROUP |