架设好 shadowsocks 服务端,在路由器上安装 shadowsocks 客户端,并配置 /etc/config/shadowsocks.json ,假设本地监听端口为 1080 。启动 shadowsocks
/etc/init.d/shadowsocks start
安装 privoxy openwrt 版。
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/blevesearch/bleve" | |
| _ "github.com/wangbin/jiebago/analyse/tokenizers" | |
| "log" | |
| ) | |
| func main() { |
| """ | |
| This is my understanding of the Anki scheduling algorithm, which I mostly | |
| got from watching https://www.youtube.com/watch?v=lz60qTP2Gx0 | |
| and https://www.youtube.com/watch?v=1XaJjbCSXT0 | |
| and from reading | |
| https://faqs.ankiweb.net/what-spaced-repetition-algorithm.html | |
| There is also https://github.com/dae/anki/blob/master/anki/sched.py but I find | |
| it really hard to understand. | |
| Things I don't bother to implement here: the random fudge factor (that Anki |
| #!/bin/bash | |
| # Converts HTML from https://exportmyposts.jazzychad.net/ exports to Markdown | |
| POSTS_DIR=/Users/richard/Desktop/d6y/posts | |
| for file in $POSTS_DIR/*.html | |
| do | |
| echo $file |
| @ECHO OFF | |
| SETLOCAL | |
| SET "sourcedir=U:\sourcedir" | |
| PUSHD "%sourcedir%" | |
| FOR /f "delims=" %%a IN ( | |
| 'dir /b /s /a-d *.md *.html ' | |
| ) DO ( | |
| IF /i "%%~xa"==".md" ( | |
| IF NOT EXIST "%%~dpna.html" ECHO pandoc "%%a" -f markdown -t html -o "%%~dpna.html" | |
| ) ELSE ( |
| /*格状容器table.c*/ | |
| #include<gtk/gtk.h> | |
| int main(int argc, char*argv[]) | |
| { | |
| GtkWidget *window; | |
| GtkWidget *table; | |
| GtkWidget *button1; | |
| GtkWidget *button2; | |
| GtkWidget *button3; |
| /*! | |
| * \file filechooser_dialog.c | |
| * \author Copyright 2007, 2008, 2009, 2010 by Bert Timmerman <[email protected]> | |
| * \brief Functions for a filechooser dialog (GTK UI). | |
| * | |
| * This program is free software; you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation; either version 2 of the License, or | |
| * (at your option) any later version.\n | |
| * \n |
| import java.awt.*; | |
| import javax.swing.*; | |
| public class LabelPanel extends JPanel { | |
| public LabelPanel() { | |
| JLabel plainLabel = new JLabel("Plain Small Label"); | |
| add(plainLabel); | |
| JLabel fancyLabel = new JLabel("Fancy Big Label"); |
| #include <iostream> | |
| #include <queue> | |
| using namespace std; | |
| int menu(){ | |
| int op; | |
| cout << "Menu" << endl; | |
| cout << endl << "1) Inserir elemento na fila"; | |
| cout << endl << "2) Remover elemento da fila"; |