会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
herowalking
博客园
首页
新随笔
联系
订阅
管理
2020年2月18日
angularjs如何导出Excel实例
摘要: angularjs 1.x导出Excel方法,常用的有2种 1. 直接导出table为xls service中加入 1 homeServiceMoudule.factory('Excel',['$window', '$sce','ConfigService', '$localStorage',fun
阅读全文
posted @ 2020-02-18 14:01 herowalking
阅读(964)
评论(0)
推荐(0)
2017年6月5日
Linux 常用命令
摘要: 1. 查看系统版本 cat /etc/issue cat /etc/redhat-release cat /etc/system-release 2. 查看系统是64位还是32位 getconf LONG_BIT
阅读全文
posted @ 2017-06-05 11:46 herowalking
阅读(110)
评论(0)
推荐(0)
2016年9月12日
Windows 常用命令
摘要: netstat -ano 查看已占用端口 netstat -ano|findstr "8088" tasklist|findstr "19284" 查看系统安装的补丁 wmic qfe list full | findstr 401
阅读全文
posted @ 2016-09-12 20:23 herowalking
阅读(162)
评论(0)
推荐(0)
2016年8月18日
CSS
摘要: 选择器描述[attribute] 用于选取带有指定属性的元素。 [attribute=value] 用于选取带有指定属性和值的元素。 [attribute~=value] 用于选取属性值中包含指定词汇的元素。 [attribute|=value] 用于选取带有以指定值开头的属性值的元素,该值必须是整
阅读全文
posted @ 2016-08-18 16:28 herowalking
阅读(128)
评论(0)
推荐(0)
2016年7月6日
AngularJS
摘要: 1.表单验证 要使用表单验证,必须确保form标签有一个name属性,通常需要在 form 标签中加上 novalidate 属性, 这将禁用浏览器自带的验证功能,从而使用AngularJS提供的验证。 <form name="appForm" novalidate> </form> 提交按钮中配合
阅读全文
posted @ 2016-07-06 13:33 herowalking
阅读(177)
评论(0)
推荐(0)
2016年6月17日
正则表达式
摘要: js正则用法示例: var nameReg = /^[a-zA-Z0-9_-]{4,12}$/;if(!nameReg.test(tmp.instance_name)) { $("#vmsNameNotReg").fadeIn(800); setTimeout(function(){ $("#vms
阅读全文
posted @ 2016-06-17 12:07 herowalking
阅读(396)
评论(0)
推荐(0)
2016年5月25日
MySQL
摘要: 1. MySQL批量删除指定前缀表 Select CONCAT( 'drop table ', table_name, ';' ) FROM information_schema.tables Where table_name LIKE 'mytaobao_%'; 执行完上方的sql后将下方的结果c
阅读全文
posted @ 2016-05-25 13:40 herowalking
阅读(160)
评论(0)
推荐(0)
2016年5月23日
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) + '%';
阅读全文
posted @ 2016-05-23 21:23 herowalking
阅读(186)
评论(0)
推荐(0)
2016年5月16日
Operation notes
摘要: 1. 修改xampp自带的mysql默认密码: 【转载】 MySQL 的“root”用户默认状态是没有密码的,所以在 PHP 中您可以使用 mysql_connect("localhost","root","") 来连接 MySQL 服务器;如果您想为 MySQL 中的“root”用户设置密码,请在
阅读全文
posted @ 2016-05-16 09:09 herowalking
阅读(205)
评论(0)
推荐(0)
2016年5月3日
Interesting English expression
摘要: Success is like being pregnant; everyone congratulates you but no one knows how many times you got fucked.
阅读全文
posted @ 2016-05-03 14:19 herowalking
阅读(216)
评论(0)
推荐(0)
下一页
公告