- 博客(9)
- 收藏
- 关注
原创 前端基础复习
笔记箭头函数var f = () => "f箭头函数无参";console.log(f());var f1 = a => a;console.log(f1(100));JavaScript面向对象var Car = new Object();Car.name = "保时捷718";Car.type = "Cayman T";Car.color = "红色";Car.price = 641000;Car.toStr = function() { return Ca
2021-03-20 14:00:03
190
原创 sql练习
select Dept from emp group by salary having avg(salary)>2000S left join SC left join C where查询"95031"班的学生人数select count(1) as stu_num from students where class=‘95031’;查询每个班的学生人数select class,count(class) from students group by class;查询至少有两名男生的班号
2021-03-16 18:57:04
307
原创 python random 模块的使用
python random 模块的使用import random# print(random.randrange(1, 10)) # 返回1-10之间的一个随机数,不包括10# print(random.randint(1, 10)) # 返回1-10之间的一个随机数,包括10# print(random.randrange(0, 100, 2)) # 随机选取0到100间的偶数,不包括100# print(random.random()) # 返回一个随机浮点数# print(ran
2021-03-16 18:52:19
170
原创 ffmpeg的相关命令
java执行ffmpeg命令String command = “ffmpeg命令”Process process = Runtime.getRuntime().exec(command);ffmpeg 安装的文件和版本信息ffmepg -version 显示版本ffmepg -h 展示帮助ffplay xxx.mp4 播放视频cls 清空命令行ffplay xxx.mp3 播放音频方向键 前进后退播放点击窗口的任意一个地方会跳转播放位置F 全屏P/空格 暂停W 切换显示模式ffp
2021-03-16 18:43:25
725
原创 Springboot启动线程池
NoticeApplication.java 启动类加@EnableAsync注解@EnableAsync//此注解用于告诉SpringBoot,启动时初始化一个线程池(ThreadPoolExecutor)@SpringBootApplicationpublic class NoticeApplication//Object.class{ public static void main(String[] args) { SpringApplication.run(
2021-03-16 18:40:39
1082
原创 python os模块的使用
python os模块的使用import os# print(os.getcwd()) # 得到当前工作目录# 输出:C:\Users\86155\PycharmProjects\pythonProject1# print(os.listdir('TuiGirl')) # 返回指定目录下的所有文件和目录名# 输出:['H-143', 'H-147', 'H-151', 'H-152', 'H-157', 'H-160', 'H-161', 'H-162', 'H-163', 'H-164'
2021-03-16 18:36:21
2861
原创 轮播图
<!--轮播图开始--><div id="myCarousel" class="carousel slide"> <!-- 轮播(Carousel)指标 --> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-
2021-03-16 18:30:53
91
原创 瀑布流
stylesheet样式<style> /*给蓝色信息条添加样式*/ .floatView{ width: 100%; height: 40px; background-color: #0aa1ed; text-align: center; color: #ffc600; /*显示到最下面*/ posit
2021-03-16 18:29:34
120
原创 实现文件上传
<!--enctype="开启多媒体标签" --> <form action="http://localhost:8091/file" method="post" enctype="multipart/form-data"><%--enctype="multipart/form-data"开启多媒体标签--%> <input name="fileImage" type="file" /> <input type="submit" valu
2021-03-16 18:23:40
84
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人