会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bandbandme
博客园
首页
新随笔
联系
订阅
管理
2020年8月24日
jquery 获取表单元素值
摘要: function getParameter(el){ var obj={}; $(el).each(function(index,item){ // 判断元素的类型 if(item.type=="text" || item.type=="password" || item.type=="select
阅读全文
posted @ 2020-08-24 14:54 bandbandme
阅读(464)
评论(0)
推荐(0)
编辑
2020年7月21日
excel 常用示例
摘要: 在excel中如何批量判断单元格是否含有指定字符 https://jingyan.baidu.com/article/a24b33cd2fe6e419ff002b6c.html
阅读全文
posted @ 2020-07-21 16:05 bandbandme
阅读(138)
评论(0)
推荐(0)
编辑
2020年7月15日
nginx + lua + redis 动态封ip
摘要: PHP 设置正则 <?php namespace Main\Controller; use KIF\Cache\DisRedis; use KIF\Core\Request; /** * 涉及文件 * /export/manager/ybyl/main/config/route.inc.php *
阅读全文
posted @ 2020-07-15 19:10 bandbandme
阅读(339)
评论(0)
推荐(0)
编辑
2020年7月13日
Excel小技巧
摘要: 来源: http://www.excelhome.net/lesson/animation/excel/1830.html 1、自动标出不及格分数假定需用红色字体显示60以下分数,蓝色字体显示60以上分数。按Ctrl+1,设置单元格格式→自定义,类型输入框中输入:[蓝色][>=60];[红色][<6
阅读全文
posted @ 2020-07-13 11:46 bandbandme
阅读(315)
评论(0)
推荐(0)
编辑
2020年7月7日
地图坐标转换(火星、谷歌、百度、腾讯、高德等坐标)
摘要: 文章来源: https://www.jianshu.com/p/c39a2c72dc65?from=singlemessage 利用位置服务获取特定设备和用户之间的距离: 用户位置: 微信H5, 用微信api的方式获取用户当前所在位置, 获取到的是: WGS84 (地理坐标系统)方式的坐标 【目前基
阅读全文
posted @ 2020-07-07 19:06 bandbandme
阅读(3772)
评论(0)
推荐(0)
编辑
2020年7月6日
PHP 导出大量数据到 excel
摘要: // 增加内存, 不限执行时间ini_set("memory_limit", "1024M"); set_time_limit(0); 执行环境: php7 $fileds = [ 'id' => 'ID', 'wx_openid' => '微信openid', 'wx_name' => '微信昵称
阅读全文
posted @ 2020-07-06 17:06 bandbandme
阅读(2089)
评论(0)
推荐(0)
编辑
Es 常用搜索
摘要: 查看索引mapping GET /ybyl_area_analysis/_mapping 删除索引 DELETE ybyl_award 新增映射 PUT /ybyl_award/_mapping { "properties": { "lbs_md5": { "type": "keyword" } }
阅读全文
posted @ 2020-07-06 17:01 bandbandme
阅读(342)
评论(0)
推荐(0)
编辑
2020年5月24日
linux 命令的z7z8集合
摘要: 命令别名 sudo vim ~/.bash_profile alias ll='ls -Alh' source ~/.bash_profile
阅读全文
posted @ 2020-05-24 10:01 bandbandme
阅读(314)
评论(0)
推荐(0)
编辑
2020年5月13日
CI AddOne ModifyOne
摘要: /** * 添加一个商品 * @param $data * @return array */ public function add_one($data) { $require = array('name', 'cid', 'sale_price', 'wholesale_price'); fore
阅读全文
posted @ 2020-05-13 17:21 bandbandme
阅读(124)
评论(0)
推荐(0)
编辑
2020年5月8日
pdo 连接数据库
摘要: 'DB_DSN'=>'mysql:host=IP;port=3307;dbname=test;charset=utf8', $db = 10.15.208.206;port=3307 /*** 连接数据库*/public function connect($host, $user, $pass, $
阅读全文
posted @ 2020-05-08 11:22 bandbandme
阅读(138)
评论(0)
推荐(0)
编辑
下一页