![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
爱吃洋芋的糖
这个作者很懒,什么都没留下…
展开
-
前端基础复习
笔记箭头函数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 · 154 阅读 · 0 评论 -
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 · 224 阅读 · 0 评论 -
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 · 129 阅读 · 0 评论 -
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 · 658 阅读 · 0 评论 -
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 · 1004 阅读 · 0 评论 -
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 · 2350 阅读 · 0 评论 -
轮播图
<!--轮播图开始--><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 · 65 阅读 · 0 评论 -
瀑布流
stylesheet样式<style> /*给蓝色信息条添加样式*/ .floatView{ width: 100%; height: 40px; background-color: #0aa1ed; text-align: center; color: #ffc600; /*显示到最下面*/ posit原创 2021-03-16 18:29:34 · 91 阅读 · 0 评论 -
实现文件上传
<!--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 · 51 阅读 · 0 评论