目标:CentOS 7 调整 home分区 扩大 root分区总体过程:把/home内容备份,然后将/home文件系统所在的逻辑卷删除,扩大/root文件系统,新建/home ,恢复/home内容 1.查看分区df -h2.备份home分区文件tar cvf /tmp/home.tar /home3 ...
分类:
其他好文 时间:
2018-09-04 14:51:26
阅读次数:
190
使用SqlSugar框架需要引用NuGet程序包否则会出现报错。 前台页面创建代码: @{ ViewBag.Title = "Index";}<h2>Index</h2><link href="~/Content/bootstrap.min.css" rel="stylesheet" /><scri ...
分类:
移动开发 时间:
2018-09-04 01:42:20
阅读次数:
800
CSS 是什么? CSS 指层叠样式表 (Cascading Style Sheets),用来解决内容和变现分离的问题。 CSS 规则由两部分组成, 选择器+ 声明,声明包括属性+值 CSS 选择器的分组 h1,h2,h3,h4,h5,h6 { color: green; } 表明以上标题都是绿色的... ...
分类:
Web程序 时间:
2018-08-29 22:50:26
阅读次数:
255
replaceWith() 语法: $(selector).replaceWith(content); 将所有匹配的元素替换成指定的string、js对象、jQuery对象。 replaceAll 语法: $(selcetor).replaceAll("h2"); 解释: 替换所有。将所有的h2标签 ...
分类:
Web程序 时间:
2018-08-26 13:50:18
阅读次数:
214
1 直接输出html标签嵌入到html中 <body> <h1>显示当前时间和日期</h1> <% Date date = new Date(); out.print("<h2 align=\"center\">" + date.toString() + "</h2>"); %> </body> o ...
分类:
编程语言 时间:
2018-08-26 12:32:06
阅读次数:
224
%[AX,H1,H2]=plotyy(...):返回AX中创建的两个坐标轴的句柄以及H1和H2中每个图形绘图对象的句柄。AX(1)为左侧轴,AX(2)为右侧轴。 x = 0:0.01:20; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*s... ...
分类:
其他好文 时间:
2018-08-25 11:48:20
阅读次数:
192
Income=[2456,2032,1900,2450,2890,2280]; Profit_margin=[12.5,11.3,10.2,14.5,14.3,15.1]/100; t=1:6; [AX,H1,H2]=plotyy(t,Income,t,Profit_margin,'bar','pl... ...
分类:
其他好文 时间:
2018-08-24 22:51:18
阅读次数:
274
/*公共样式--开始*/ html, body, div, ul, li, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ol, form, input, textarea, th, td, select { margin: 0; padding: 0; } *{bo... ...
分类:
Web程序 时间:
2018-08-23 15:31:04
阅读次数:
427
H2作为一个嵌入型的数据库,它最大的好处就是可以嵌入到我们的Web应用中,和我们的Web应用绑定在一起,成为我们Web应用的一部分。下面来演示一下如何将H2数据库嵌入到我们的Web应用中。 一、搭建测试环境和项目 1.1、搭建JavaWeb测试项目 创建一个【H2DBTest】JavaWeb项目,找 ...
分类:
数据库 时间:
2018-08-21 19:03:30
阅读次数:
208
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td { margin:0; padding:0; }body { bac ...
分类:
Web程序 时间:
2018-08-21 13:58:17
阅读次数:
209