Skip to content

Instantly share code, notes, and snippets.

View lthero-big's full-sized avatar

lthero lthero-big

View GitHub Profile
@mcxiaoke
mcxiaoke / openwrt-in-docker.md
Created June 7, 2021 10:07
Run OpenWrt in Docker

OpenWrt Docker镜像构建

为了在Docker中运行OpenWrt系统,我们需要用到OpenWrt的docker镜像,网上有很多人分享已经制作好的镜像。但是,每个人都有自己不同的需求,自己学会制作镜像就显得特别重要了。

其实使用OpenWrt的固件, 可以很方便的构建Docker镜像,这里的固件不光是官方固件,也可以是经过自己定制编译生成的固件。

直接使用

@saddit
saddit / zjqndxx.py
Created March 22, 2021 15:04
青春浙江-青年大学习打卡脚本
import requests
import json
import re
import sys
if __name__ == "__main__":
getToken_url = 'https://qczj.h5yunban.com/qczj-qndxx/cgi-bin/login/we-chat/callback'
getUserInfo_url = 'https://qczj.h5yunban.com/qczj-qndxx/cgi-bin/user-api/course/last-info'
getClass_url = 'https://qczj.h5yunban.com/qczj-qndxx/cgi-bin/common-api/course/current'
checkin_url = 'https://qczj.h5yunban.com/qczj-qndxx/cgi-bin/user-api/course/join'
@laobubu
laobubu / ABOUT.md
Last active October 16, 2024 06:05
A very simple HTTP server in C, for Unix, using fork()

Pico HTTP Server in C

This is a very simple HTTP server for Unix, using fork(). It's very easy to use

How to use

  1. include header httpd.h
  2. write your route method, handling requests.
  3. call serve_forever("12913") to start serving on port 12913