摘要: vue 中,echarts的使用,简单入门 原作者哔哩哔哩视频 感谢 多多支持 效果图 首先创建一个页面组件,创建三个div,分别来使用折线图,柱状图,扇形图 <div ref="echartLine" style="height:260px;"></div> //折线图 <div ref="ech 阅读全文
posted @ 2022-08-27 12:19 水三丫 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1、axios的二次封装 BiliBili作者原地址,多多支持 npm i axios //下载axios 首先创建两个文件夹在src目录下;api和config 先在config文件夹下建立一个index.js;具体代码如下 export default{ baseUrl:{ dev: "http 阅读全文
posted @ 2022-08-27 12:08 水三丫 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 第三部分,fork创建第二个进程 [引用github这个博主 多多支持][ https://github.com/sunym1993/flash-linux0.11-talk ] 先看看init中的这段代码 if(!(pid=fork())) { close(0); if (open("/etc/r 阅读全文
posted @ 2022-08-23 10:39 水三丫 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Spring Security登录的流程 1、UsernamePasswordAuthenticationFilter这过滤器开始 attemptAuthentication方法 请求的request中的参数 setDetails(request, authRequest); 是在设置一些seesi 阅读全文
posted @ 2022-08-19 19:15 水三丫 阅读(662) 评论(0) 推荐(0) 编辑
摘要: SpringSecurity 快速入门 1、导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency 阅读全文
posted @ 2022-08-19 14:34 水三丫 阅读(2151) 评论(0) 推荐(1) 编辑
摘要: 第二部分,(void) open("/dev/tty0",O_RDWR,0); 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 它会触发一个int 0x80中断,会找的sys_open的函数执行 看看这 阅读全文
posted @ 2022-08-17 09:50 水三丫 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 进程的初始化函数,init() 先看看这个函吧: void init(void) { int pid,i; setup((void *) &drive_info); (void) open("/dev/tty0",O_RDWR,0); (void) dup(0); (void) dup(0); pr 阅读全文
posted @ 2022-08-17 09:47 水三丫 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 12、从内核态到用户态,move_to_user_mode() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 从函数的名称就可以看出来,切换到用户模式 那么怎么才能表示是内核态和用户态,就要用到之前的 阅读全文
posted @ 2022-08-12 13:04 水三丫 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 9、第九个初始化函数,hd_init() 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 先看看这个初始化函数hd_init(): kernel文件 -> blk_drv文件 -> hd.c #defi 阅读全文
posted @ 2022-08-12 13:01 水三丫 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 8、第八个初始化函数,buffer_init(buffer_memory_end) 参考 [github这个博主的 厉害][ https://github.com/sunym1993/flash-linux0.11-talk ] 这个函数buffer_init可以看出携带了一个参数buffer_me 阅读全文
posted @ 2022-08-11 12:11 水三丫 阅读(240) 评论(0) 推荐(0) 编辑