1、创建一张某超市的购物表,字段包括:商品名,购物价格,商品生产日期,商品分类;CREATE TABLE menu ( id int PRIMARY KEY auto_increment, name char(10), price FLOAT (5,2), product_time DATE , c... ...
分类:
其他好文 时间:
2017-07-25 21:08:12
阅读次数:
180
function timeCount(){ var nowTime=Date.parse(new Date()); var toTime=Date.parse(new Date('2018 01 01')); var jiange=(toTime-nowTime)/1000; var day=Mat ...
分类:
其他好文 时间:
2017-07-25 19:59:30
阅读次数:
135
import java.util.Date; import java.util.UUID; /** * 測试String,StringBuilder性能,推断什么时候改用String,什么时候该用StringBuilder * 測试结果 * String 拼接測试,測试长度10000,測试字符串数组 ...
分类:
其他好文 时间:
2017-07-25 19:40:51
阅读次数:
118
一些常用方法备份: function _(value) { value = '0' + value; return value.substr(value.length - 2); } Date.prototype.format = function(split) { split = split || ...
分类:
Web程序 时间:
2017-07-25 18:09:20
阅读次数:
533
npm 命令解析 查看 npm 版本 npm -v 查看全局安装的模块(包) npm list -g 全局安装 express 包 npm install express -g 卸载全局安装包 npm uninstall express -g 在项目中安装项目依赖包 npm install boot ...
分类:
其他好文 时间:
2017-07-25 18:03:36
阅读次数:
111
/**
*name:public.Echart
*date:2017-5-24
*/
functionisEmpty(value){
returnangular.isUndefined(value)||value===‘‘||value===null||value!==value;
}
define([‘publicMax‘],function(){
angular.module(‘public.Max‘,[]).directive(‘ngMax‘,function($http,$window){
retur..
分类:
Web程序 时间:
2017-07-25 16:05:10
阅读次数:
256
/** * CRC16相关计算 CRC-16 x16+x15+x2+1 8005 IBM SDLC * encode: utf-8 * * @author trb * @date 2014-12-25 */ public class CRC16 { static byte[] crc16_tab_h ...
分类:
编程语言 时间:
2017-07-25 16:01:50
阅读次数:
352
@echooffcolor1ftitle正在监控www.0579ld.com.cnecho正在监控www.0579ld.com.cn(23.247.53.3)..:aaaD:\curl\curl-Iwww.0579ld.com.cn>nulsetstr=%ERRORLEVEL%ifnot"%str%"=="0"(echo在%date%%time:~0,5%无法正常访问,重启中...::cdc:\server\PnCmdsecho正在关闭进程tskill..
分类:
Web程序 时间:
2017-07-25 15:50:45
阅读次数:
256
cloneBlock('CLONEME', 3); // Everything between ${tag} and ${/tag}, will be deleted/erased. $templateProcessor->deleteBlock('DELETEME'); echo date('H:... ...
分类:
Web程序 时间:
2017-07-25 11:21:40
阅读次数:
1138
一. 获取当前系统时间和日期并格式化输出: import java.util.Date;import java.text.SimpleDateFormat; public class NowString {public static void main(String[] args) { Simple ...
分类:
编程语言 时间:
2017-07-25 10:35:44
阅读次数:
195