技术专区
-
MathProblem 34 Drug test problem
10% of the people in a certain population use an illegal drug. A drug test yields the correct result 90% of the time, whether the person uses drugs or not. A random person is forced to take the drug …
-
CommunityToolkit.Mvvm-IOC
CommunityToolkit.Mvvm未内置IOC,可以使用Microsoft.Extensions.DependencyInjection. 在App中注册ViewModel和其他服务 public partial class App : Application { public App() { Services = ConfigureServices()…
-
Nginx学习笔记
Nginx简介 Nginx (engine x) 是一个高性能的HTTP和反向代理web服务器, Nginx和Apache的区别 Apache和Nginx最核心的区别在于 apache 是同步多进程模型,一个连接对应一个进程;而 nginx 是异步的,多个连接(万级别…
-
yum私有仓库的实现及博客输出
1. 创建局域网的基于Base的私有yum源 1.1. 说明 centos的base包可以从系统镜像中获取或者第三方平台获取 1.2. repo仓库配置文件 [repositoryID] name=Some name for this repository baseurl=url://path/to/reposit…
-
macOS change default shell from zsh to bash All In One
macOS change default shell from zsh to bash All In One $ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bi…
-
【Linux】yum源安装nginx服务
目录 前言 1、 配置yum源并进行安装 2、nginx服务启动 3、防火墙开放监听的端口 前言 centos 通过yum命令安装nginx服务,并开放监听端口、设置开机自启等 1、 配置yum源并进行安装 如有其他版本需求的,可以跳转官…
-
Linux 域名和DNS
名字解析的作用: TCP/IP网络中,设备之间的通信依赖IP地址来实现,但是IP地址不好记忆,所以就将每一台设备用一个名字来进行标识,但是这个名字计算机不能解析。所以就需要借助名字解析服务来实现将名字解析为IP地…
-
windows下自用软件记录
windows下自用软件记录 开源免费列表 软件名称 软件介绍 keepass 开源密码管理软件 sumatra PDF 开源PDF阅读软件 libreoffice 开源office,可以用来编辑PDF dopamine 开源音乐播放器,界面比foobar2000好看太多 GIM…
-
2022的ShellCTF之web_WP
Extractor: 考点是SQL注入,不过数据库不是mysql,而是sqlite 首先尝试了:1' or 1=1# 尝试1‘ or 1=1 -- 发现有东西,使用 :order by 判断列表,知道有4列 然后尝试获取数据库名:1' union select 1,databas…
-
Linux下生成core dump文件的配置及对core文件的分析
目录 1.环境配置(core 文件生成条件) 1.文件路径配置 2.core文件大小配置 3.可选配置 4.参考 2. 使用 gdb 对 coredump 文件进行分析 1.环境配置(core 文件生成条件) 1.文件路径配置 kernel.core_pattern = /var/cra…