Fluid
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  •   
  •   

https 证书申请

安装脚本1curl https://get.acme.sh | sh 执行上面的命令,它会: 从 GitHub 上下载 sh 脚本并执行 把文件解压到用户的 ~/.acme.sh目录下 给命令行设置一个acme.sh的 alias 别名 最后注册一个 cron 定时任务来自动更新证书。 使用命名查看有无帮助信息 source ~/.bashrc;acme.sh -h 2 签发 SSL 证
2023-04-23

gost上网配置

本文来自已逝前辈 左耳朵耗子的上网教程教程 原文部署命令12345678910111213141516#!/bin/bash# 下面的四个参数需要改成你的DOMAIN="YOU.DOMAIN.NAME"USER="username"PASS="password"PORT=443BIND_IP=0.0.0.0CERT_DIR=/etc/le
2023-03-15
#gost

python日期时间库

time 模块本地时间和utc时间time.localtime time.gtime[secs] 会返回一个struct_time 时间元组,属性为只读,可以通过索引取值。 12345678910111213141516In [10]: time.localtime()Out[10]: time.struct_time(tm_year=2023, tm_mon=2, tm_mday=25, tm
2023-02-25
#python

python-logging配置

logging-cookbook python 文档-logging 模块 logging 的基础Python 标准库 logging 用作记录日志。 logging 的基础使用 123456789101112import logginglogging.debug("A quirky message only developers care about")logging.in
2023-02-02
#python #logging

lxml解析html的不同实例化类的比较

lxml.etree._Element 对象1234567891011121314151617from lxml import etreestring = &#x27;<div class="post" id="123"><p class="para">abc<a href="/to-go&quot
2022-12-10
#爬虫 #解析

kitty Mac上常用快捷键和配置

安装命令行 1brew install kitty kitty 的默认配置路径是$HOME/.config/kitty/kitty.conf 使用菜单栏上的按键很少,使用快捷键操作才是kitty的精髓 kitty 配置配置官网 123456copy_on_select yestab_bar_edge top # 状态栏在上面macos_option_as_alt yes mac
2022-11-10
#kitty #终端

公司gitlab和个人github配置

123456789101112131415#githubHost github.com HostName github.com User git PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa_github#company#输入公司ip端口,或者域名Host gitlab.com HostName gitlab.miduc
2022-10-31
开发环境配置
#git

tmux配置

原生tmux 环境安装配置环境 macos12.5 终端配置:zsh 安装 1brew install tmux 版本查看 12tmux -V# tmux 3.3a 配置文件路径默认是在家目录 配置文件立即生效 1echo "tmux source-file ~/.tmux.conf.local" >> ~/.tmux.conf.local 安
2022-10-31
开发环境搭建

nginx 笔记

本文档是对【GeekHour】30分钟Nginx入门教程 的课程实验,笔记不是完全按照课程所讲。 课件可以可以关注 公众号 后获取 Nginx课程笔记的下载地址:https://pan.baidu.com/s/1UCvjs5_YFRxqeJ-3oYV4vg?pwd=ngin 提取码: ngin nginx的文档参考 https://blog.redis.com.cn/doc/ 环境准备我使用的是
2022-08-17
#nginx

安卓手机安装Openwrt

正戏开始更新源 apt-get update 你可以查看qemu有什么包,可以根据自己的需求安装模拟其他架构 apt search qemu 安装qemu工具包 apt install qemu-utils 当然,我的是arm64位架构的,模拟arm的性能损耗会更低 安装模拟aarch64架构的 apt install qemu-system-aarch64-headless 首先
2022-08-16
Openwrt
#Openwrt #Termux
1…34567

搜索

Hexo Fluid
总访问量 次 总访客数 人