Nginx 配置
<!-- more --> # 安装Nginx termux 通过指令:`pkg install nginx`来安装nginx,安装目录为:`/data/data/com.termux/files/usr/etc/nginx` 我们打开nginx的目录,可以看到有几个文件: 。附效果图一张。  看到这个体题我的思路如下: 1. 先将x中需要替换的部分全都改成0 1. 创建一个临时变量 `tmp = 0x000000FF` 2. 通过向左位移运算右侧补0,将FF字...
# 计算机组成原理实验一 首先使用学号和密码登录学校提供的服务器。本次实验分为三个小实验。 ## ssh登录 这里我们先了解一下什么是ssh登录: SSH(Secure Shell)是一种用于在不安全网络上安全访问远程计算机的协议。它提供了加密的通信通道,确保数据传输的安全性和完整性。SSH...
# 前期准备 要想在安卓设备上搭建桌面级别的生产力环境需要借助termux终端以及一些外围组件来完成,本教程参考bilibili视频:[【教程】用Termux搭建桌面级生产力环境](https://www.bilibili.com/video/BV15J4m1g7MW/) 首先我们来准备所需要的...
运用map,秒了 ``` #include<iostream> #include<vector> #include<map> using namespace std; int main() { int n,a,b; cin >> n >> a >> b; map<long...
```C++ #include<iostream> #include<cmath> #include<algorithm> #include<vector> using namespace std; int main() { int n,k,t,xl,yd,xr,yu; int...
# printf()函数语句执行后不打印 首先我们来看一个简单的代码: ``` #include <stdio.h> #include <stdlib.h> int main(void) { int n; //矩阵的边长 printf("请输入矩阵的边长n: "); sc...
# python安装mijiaAPI库 借助函数库的github的地址:`https://github.com/Do1e/mijia-api` 本教程高度依赖此库完成。 首先让我们安装mijiaAPI库,使用如下指令: ``` pip install mijiaAPI ``` 等待安装完成即...
# 启用iis功能 首先打开控制面板,点击程序。  然和选择启用或关闭Windows功能  勾选有关Int...
``` #include<iostream> #include<algorithm> #include<vector> using namespace std; //比较函数 bool cmp(vector<int> x,vector<int> y) { if(x[0] < y[0])//...
通过abd输入两条命令: ``` adb shell "settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204" 作者:乱杠青年 https://www.bilibili.com/re...
本教程使用设备:极路由3 (hc5861). # 打开端口,装breed,刷openwrt 打开极路由端口,装好breed的教程可以参考如下图片: 需要使用的工具:WinSCP、putty。以及对应的breed和openwrt固件。openwtr官方还在维护(2024年)可以从openwrt官...