- 博客(6)
- 收藏
- 关注
原创 [Ruby]$: 是什么意思
使用ruby将句中所有单词首字母大写ruby本身的方法里面没有,可以用这个:str='this is a demo'puts str.gsub(/\b\w/) { $&.upcase }[Ruby]$: 是什么意思?ruby comes with a set of predefined variables$: = default search path ...
2017-10-30 16:11:18 987 1
原创 js解决搜索框传参数的一种方案
[code="java"]$(".button-to-export-search-excel").click(function(){ $(".button-to-export-search-excel").attr('href', window.location.pathname+'.xls'+window.location.search) $(".button-to-ex...
2017-10-26 11:20:06 603
图片etif信息
查看图片etif的gps信息http://code.ciaoca.com/javascript/exif-js/demo/http://api.map.baidu.com/lbsapi/getpoint/index.htmlgem:https://github.com/remvee/exifr查看坐标:http://www.gpsspg.com/maps.htm...
2017-10-20 19:08:26 511
反爬虫方法收集
http://web.jobbole.com/92736/ 反爬虫https://www.zhihu.com/question/29054543/answer/49907955
2017-10-18 17:09:10 105
rails页面静态路由设置
get 'search/category/:q' => 'search#group_by_category', as: 'group_by_category'实现类似:http://localhost:3000/search/category/apihttp://localhost:3000/search/category/catalyst而不是之前的:http://loc...
2017-10-17 10:45:15 305
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人