ps:一直很好奇控制论研究的是什么,最近看到一文觉得不错,转于此权当备忘 原文链接:http://3g.renren.com/share.do?curpage=1&id=8576830318&suid=1083539214&flag=1&htf=324 以下为正文 瓦特在蒸汽机的转轴上安了一个小棍, ...
分类:
其他好文 时间:
2019-11-22 13:24:49
阅读次数:
297
遍历某一目录下的所有文件或文档,并输出 #!/bin/bashfor file in /home/linux/* do if [ -d "$file" ] then echo "$file is directory" elif [ -f "$file" ] then echo "$file is f ...
分类:
系统相关 时间:
2019-11-21 23:10:22
阅读次数:
81
一 jQuery是什么? <1> jQuery由美国人John Resig创建,至今已吸引了来自世界各地的众多 javascript高手加入其team。 <2>jQuery是继prototype之后又一个优秀的Javascript框架。其宗旨是——WRITE LESS,DO MORE! <3>它是轻 ...
分类:
Web程序 时间:
2019-11-20 21:59:07
阅读次数:
98
1.在Struts2使用的是spring管理对象。 使用spring的注解式事务配置, 在action的方法中直接使用事务遇到的问题. 只要在上例testAction两个方法任意一个加上@Transactional注解, 用test_test1.do访问时就会报错 java.lang.NoSuchM ...
分类:
编程语言 时间:
2019-11-19 12:16:02
阅读次数:
109
链接: https://vjudge.net/problem/LightOJ 1067 题意: Given n different objects, you want to take k of them. How many ways to can do it? For example, say th ...
分类:
其他好文 时间:
2019-11-19 01:05:38
阅读次数:
62
Part1:验证性内容 1.一元二次方程求解 通过 while(scanf("%f%f%f", &a, &b, &c))进行多次输入操作,直到输入其他格式的三项(例如,abd)或ctrl+D/E. 2.猜数字 运用do-while语句,先执行后判断。 Part2: 补足程序,使程序符合题目要求并正确 ...
分类:
其他好文 时间:
2019-11-19 00:49:14
阅读次数:
79
Note 1: Good1. The collection of Linkun's [1]:1.1coolJoy says "cool" when he heard that Ross's wife is a lesbian1.2neatI am not a neat man.-- "I do re ...
分类:
其他好文 时间:
2019-11-17 21:03:02
阅读次数:
83
最近,,由于工作需要,,需要现在服务器上安装mysql,,好吧之前了解过一点docker,,但当时没想起来,,一股脑从官网下了mysql5.7.28,,,然后就开始安装了......... (血泪史啊....花了快6个小时都没搞定,,,各种报错,,和网上查的资料都有出入,,好吧放弃了),,转借用do ...
分类:
数据库 时间:
2019-11-17 12:56:18
阅读次数:
71
github.com/yongxinz/te… Elasticsearch 基本概念 Index:Elasticsearch用来存储数据的逻辑区域,它类似于关系型数据库中的database 概念。一个index可以在一个或者多个shard上面,同时一个shard也可能会有多个replicas。 Do ...
分类:
编程语言 时间:
2019-11-17 12:48:17
阅读次数:
105
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2019-11-17 12:31:52
阅读次数:
68