VMware虚拟机ubuntu显示屏幕太小解决办法
摘要:https://blog.csdn.net/dcrmg/article/details/74090307
阅读全文
pl2303 驱动
摘要:https://blog.csdn.net/ouening/article/details/70947759
阅读全文
tomcat 启动脚本
摘要:#!/bin/bash##干掉运行中的tomcat results=把结果赋值给变量,可以保证命令上条执行完再执行下一条#也可以用这句简单的代码按进程名kill: ps -ef | grep 进程名 | grep -v grep | awk '{print $2}' | xargs kill -9r
阅读全文
Linux下Shell命令加减乘除计算
摘要:使用 expr命令 (其中做乘的时候*号要用斜杠进行转义) 除以 [hadoop-user@hadoop1]$ echo `expr 9 / 3` 3加 [hadoop-user@hadoop1]$ echo `expr 9 + 3` 12 减 [hadoop-user@hadoop1]$ echo
阅读全文
定时删除文件夹"$1"下最后修改时间大于当前时间"$2"天的文件
摘要:shell 脚本: #!/bin/bash now=`date "+%Y-%m-%d_%H:%M:%S"` #获取当前时间 echo "当前时间: "$now now=`date +%s` #获取当前时间戳 单位:秒 echo "当前时间戳: "$now function getdir(){ #遍历
阅读全文
mysql 拼接字符
摘要:Mysql的查询结果行字段拼接,可以用下面两个函数实现: 1. concat函数 如果连接串中存在NULL,则返回结果为NULL: 2. concat_ws函数 concat(separator,str1,str2,...) 代表 concat with separator ,是concat()的特
阅读全文
jquery iframe父子框架中的元素访问方法
摘要:在web开发中,经常会用到iframe,难免会碰到需要在父窗口中使用iframe中的元素、或者在iframe框架中使用父窗口的元素 js 在父窗口中获取iframe中的元素 1、 格式:window.frames["iframe的name值"].document.getElementById("if
阅读全文
在线工具
摘要:https://m.w3cschool.cn/ https://www.sojson.com/ json在线 http://getman.cn http测试 http://www.atool.org/httptest.php http测试
阅读全文
js对数组对象的操作以及方法的使用
摘要:js对数组对象的操作以及方法的使用 如何声明创建一个数组对象: var arr = new Array(); 或者 var arr = []; 如何移除所有数组中数据? 如何指定位置对数组对象的添加,如何将指定元素添加到数组中间位置? 数组对象方法的是使用介绍: cancat() join() po
阅读全文