javaSE
...
python基础
基础数据类型字符串,数字,布尔,列表,元组,集合,字典 不可变数据3个:Number,String,bool 可变数据3个: List,Dictionary,Set 高级数据类型:bytes 123456789101112131415161718192021# 数字x = 1print(x)# 字符串s = "zou"print(s)# 布尔b = Trueprint(b)# 列表list =[1,2,"zou","wen"]print(list)# y元组tuple = (2,4,6,"zou")print(tuple)# 字典dic = {"name":"zou",'age':22}print(dic)# 集合s = {1,'zou',2}print(s) 列表[]获取,修改,删除,(数组形式)插入 1234567891011121314list = [1,2,3]#...
四大名著-三国演义
...
vue3搭建
创建项目1npm create vue@latest 问题:main.ts文件爆红 在vite-env.d.ts文件里面加入以下代码即可解决,没有就创建 1234567declare module "*.vue" { import type { DefineComponent } from "vue"; const vueComponent: DefineComponent<{}, {}, any>; export default vueComponent;} 配置别名 12345678import path from "path"; resolve: { // 配置路径别名 alias: { '@': path.resolve(__dirname, './src'), }, }, ...
css学习
CSS 简介层叠样式表(Cascading Style Sheelts) CSS 语法选择器,声明,属性,值 CSS 创建 外部样式表(External style sheet) 内部样式表(Internal style sheet) 内联样式(Inline style) 外部 123<head><link rel="stylesheet" type="text/css" href="mystyle.css"></head> 内部 1234567<head><style>hr {color:sienna;}p {margin-left:20px;}body {background-image:url("images/back40.gif");}</style></head> 内联 1<p...
butterfly主题美化
音乐播放器吸底播放器 安装播放插件 1npm i hexo-tag-aplayer 在hexo配置文件新增 123aplayer: meting: true asset_inject: false 主题配置文件 1234# Inject the css and script (aplayer/meting)aplayerInject: enable: true per_page: true 修改bottom 1234567# 音乐播放插入页脚inject: head: # - <link rel="stylesheet" href="/xxx.css"> bottom: # - <script src="xxxx"></script> - <div class="aplayer no-destroy" data-id="2740999019"...
hexo博客搭建
准备服务器购买一台服务器,修改密码,远程连接 更换yum源查看yum源 1yum info yum 备份yum源 1mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 下载centos7yum源 1wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 运行生成缓存 1yum makecache 12sudo yum install -y epel-releasesudo yum -y update 安装nginx1sudo yum install -y nginx 安装成功后,默认的网站目录为: /usr/share/nginx/html 默认的配置文件为:/etc/nginx/nginx.conf 自定义配置文件目录为:...