1 <?php 2 // 乘法口诀 3 echo'<table width="800" height="200" border="1">'; 4 for($i=1;$i<=9;$i++) 5 { 6 echo'<tr>'; 7 for($j=1;$j<=$i;$j++) 8 { 9 echo'<td ...
分类:
Web程序 时间:
2021-06-28 18:52:56
阅读次数:
0
select t.type,t.name 表名 from sysobjects t where t.type in ('U','v' ,'TR') and t.name like '%%';select t.type,t.name 表名,f.name 列名 from sysobjects t, sy ...
分类:
数据库 时间:
2021-06-28 18:13:06
阅读次数:
0
1.弹出框表单里面获取对应要编辑的值 (jQuery 取值+赋值) <tr> <td>{{item.fid}}</td> 3 <td>{{item.name}}</td> 2 <td>{{item.price}}</td> 1 <td>{{item.quantity}}</td> 0 <td><a ...
分类:
其他好文 时间:
2021-06-28 17:40:26
阅读次数:
0
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e ...
分类:
其他好文 时间:
2021-06-25 16:53:38
阅读次数:
0
1、启动报日志错误(SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".),不影响应用运行,但没有了日志。加入slf4j-simple的依赖即可。原因是slf4j在一定版本后就不再内置日志实现类了,需要自行指定: <depe ...
分类:
编程语言 时间:
2021-06-24 17:55:02
阅读次数:
0
1|简单工厂模式定义 简单工厂模式(Simple Factory Pattern):定义一个工厂类,它可以根据参数的不同返回不同类的实例,被创建的实例通常都具有共同的父类; 由于在简单工厂模式中用于创建实例的方法通常是静态(static)方法,因此简单工厂模式又被称为 静态工厂方法模式(Static ...
分类:
其他好文 时间:
2021-06-23 16:46:38
阅读次数:
0
1.配置:进入dubbo-monitor-simple-2.0.0\conf目录修改dubbo.properties文件 dubbo.registry.address=zookeeper://127.0.0.1:2181 2、监控中心配置 参考官网:https://dubbo.apache.org/ ...
分类:
其他好文 时间:
2021-06-23 16:44:46
阅读次数:
0
创建本地定时任务(注意修改时间) schtasks /create /sc once /tn testtask02 /tr "calc.exe" /sd 2021/06/19 /st 19:07 创建远程计算机的定时任务 schtasks /s 192.168.200.20 /u abking /p ...
分类:
其他好文 时间:
2021-06-20 17:44:36
阅读次数:
0
模版自定义函数 simple_filter: 1、最多两个参数,方式{{第一个参数|函数名:"第二个参数"}} 2、可以做判断条件 simple_tag:(常用) 1、无限制的传参数 {% 函数名 参数 参数 参数 %} 创建模板自定义函数的步骤 1、在app中创建一个 templatetags 的 ...
分类:
其他好文 时间:
2021-06-19 19:27:42
阅读次数:
0
离线安装vue-cli webpack github封得很厉害,只好通过如下方式离线安装vue-cli: 1、下载webpack,这里建议webpack-simple。因为webpack有坑,解压,下载地址:https://github.com/vuejs-templates/ 2、在C:\User ...
分类:
Web程序 时间:
2021-06-19 18:50:26
阅读次数:
0