echo "201 vpn" >> /etc/iproute2/rt_tables
Edit /etc/config/network
config interface 'loopback'
option device 'lo'
captainVersion: 4 | |
services: | |
$$cap_appname: | |
image: registry:2 | |
ports: | |
- "5000:5000" | |
environment: | |
REGISTRY_PROXY_REMOTEURL: https://registry-1.docker.io | |
caproverOneClickApp: | |
variables: |
echo "201 vpn" >> /etc/iproute2/rt_tables
Edit /etc/config/network
config interface 'loopback'
option device 'lo'
Prepare
sudo mkdir -p /opt/wireguard/config
sudo nano /opt/wireguard/docker-compose.yml
docker-compose.yml
content:
---
services:
import React, {memo, useCallback, useEffect, useRef} from 'react'; | |
import {useControl, useForm, useValidation} from './utils/useFormState'; | |
// function useTraceUpdate(props: any) { | |
// const prev = useRef(props); | |
// useEffect(() => { | |
// const changedProps = Object.entries(props).reduce((ps: any, [k, v]) => { | |
// if (prev.current[k] !== v) { | |
// ps[k] = [prev.current[k], v]; | |
// } |
<#-- JSON stringify --> | |
<#function stringify obj> | |
<#if !obj??> | |
<#return 'undefined'> | |
</#if> | |
<#if obj?is_date> | |
<#return '"' + obj?string("yyyy-MM-dd HH:mm:ss") + '"'> | |
</#if> | |
<#if obj?is_boolean || obj?is_number> | |
<#return obj?string> |
:: This script automates video recording using OBS | |
:: Disable command echoing and clear the screen | |
echo off | |
cls | |
:: Set the log file path | |
set logfile="C:\utils\autorecord\logs\automate.log" | |
echo log file will be %logfile% |
// ==UserScript== | |
// @name SuperAjax for AppLinks | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Allow to do cross-domain AJAX requests | |
// @author You | |
// @run-at document-start | |
// @connect * | |
// @match https://localhost:5173/* | |
// @match https://web.rbsdev.com/front-utils/app-links/* |
// ==UserScript== | |
// @name Only needful languages for AIPRM for ChatGPT | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @author You | |
// @description try to take over the world! | |
// @match https://chat.openai.com/chat | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com | |
// @grant none | |
// ==/UserScript== |
React:
Vue:
React: