- 博客(10)
- 收藏
- 关注
转载 Linux 常用命令
1. 查看系统版本 cat /etc/issue cat /etc/redhat-release cat /etc/system-release 2.查看系统是64位还是32位 getconf LONG_BIT 转载于:https://www.cnblogs.com/herowalking/p/6944187.html...
2017-06-05 11:46:00 57
转载 Windows 常用命令
netstat -ano 查看已占用端口 netstat -ano|findstr "8088" tasklist|findstr "19284" 查看系统安装的补丁 wmic qfe list full | findstr 401 转载于:https://www.cnblogs.com/herowalking/p/5866120.html...
2016-09-12 20:23:00 66
转载 CSS
选择器描述[attribute] 用于选取带有指定属性的元素。 [attribute=value] 用于选取带有指定属性和值的元素。 [attribute~=value] 用于选取属性值中包含指定词汇的元素。 [attribute|=value] 用于选取带有以指定值开头的属性值的元素,该值必须是整个单词。 [attribute^=valu...
2016-08-18 16:28:00 59
转载 AngularJS
1.表单验证 要使用表单验证,必须确保form标签有一个name属性,通常需要在 form 标签中加上 novalidate 属性, 这将禁用浏览器自带的验证功能,从而使用AngularJS提供的验证。 <form name="appForm" novalidate> </form> 提交按钮中配合使用:ng-disabled="appForm.$inv...
2016-07-06 13:33:00 71
转载 正则表达式
js正则用法示例: var nameReg = /^[a-zA-Z0-9_-]{4,12}$/;if(!nameReg.test(tmp.instance_name)) { $("#vmsNameNotReg").fadeIn(800); setTimeout(function(){ $("#vmsNameNotReg").fadeOut(800); }, 2000); ...
2016-06-17 12:07:00 121
转载 MySQL
1.MySQL批量删除指定前缀表 Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_name LIKE 'mytaobao_%'; 执行完上方的sql后将下方的结果copy出来执行一次就会将所有前缀为“mytaobao”的表删除。 2.批量修改表...
2016-05-25 13:40:00 54
转载 JS
1. js实现小数转百分比 Number.prototype.toPercent = function(n) { n = n || 0; return (Math.round(this*Math.pow(10, n + 2)) / Math.pow(10, n)).toFixed(n) + '%'; } var A = 0.358975, B = 0.2554; al...
2016-05-23 21:23:00 49
转载 Operation notes
1. 修改xampp自带的mysql默认密码: 【转载】 MySQL 的“root”用户默认状态是没有密码的,所以在 PHP 中您可以使用 mysql_connect("localhost","root","") 来连接 MySQL 服务器;如果您想为 MySQL 中的“root”用户设置密码,请在控制台中使用“mysqladmin”命令。例如: 在windows版本的xampp下...
2016-05-16 09:09:00 62
转载 Interesting English expression
Success is like being pregnant; everyone congratulates you but no one knows how many times you got fucked. 转载于:https://www.cnblogs.com/herowalking/p/5454797.html
2016-05-03 14:19:00 143
转载 Cordova+Eclipse打包apk安装包
前提条件,电脑安装过nodejs和Cordova,不作详述,后面再补一篇相关blog记录一下。 本文主要从纯操作角度介绍使用Cordova将html5项目打包成安卓安装包的过程,此前看到很多前辈写的经验对具体操作部分介绍得不够细致,为了方便后来者更好地参照,所以在此作此记录。 第一步:在磁盘中新建一个文件夹,用来存放Cordova创建的项目 比如,在D盘的Download下面...
2016-04-24 13:53:00 87
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人