高德地图API使用

引入头文件 1 2 #import <AMapFoundationKit/AMapFoundationKit.h> #import <AMapLocationKit/AMapLocationKit.h> 调用方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 NSString

使用nvm或n管理node和npm版本

问题 1 2 3 Fatal error in , line 0 # Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo(). #FailureMessage Object: 0x7ffeefbf25c0[1] 22749 illegal hardware instruction he 参考Fatal error in ../deps/v8/src/api.cc, line 1197 when gulp watch,需要降级node版本。 nvm工具 nvm是node版

终端实现预览plantuml的插件

{% github weirongxu plantuml-previewer.vim bf4b3e5 width = 30% %} 安装依赖 1 2 3 Plug 'it-boyer/plantuml-syntax' "plantuml语法高亮 Plug 'aklt/plantuml-syntax' Plug 'tyru/open-browser.vim' Plug 'weirongxu/plantuml-previewer.vim' "在线工具:http://sujoyu.githu

pyenv切换python的版本

问题引入 在hexo 项目中使用npm 配置环境,出现错误:gyp ERR! configure error pyenv是python的多版本管理包,实现互相独立、互不干扰的pytho

汉字拼音排序方法

{% github it-boyer sortChinese 2deab8b width = 30% %} 方法一 实现模型对象排序,当万条数据时,出现卡顿问题。 方法二 实现字符串数组的排序,暂时没有验证大量排序情况,尝试优化第一种方

Git工具交互式暂存

交互式暂存 Git 自带的一些脚本可以使在命令行下工作更容易。 本节的几个互交命令可以帮助你将文件的特定部分组合成提交。 当你修改一组文件后,希望这些改

iOS插件化开发之Small

{% github it-boyer SmallDemo 5931b43 width = 30% %} 官网 small是android与iOS平台比较出名的轻巧的跨平台插件化框架,也正是被这一点吸引,决定将small应用到集团

当项目过大需要通过SSH方式Clone

设置全局提交信息 1 2 git config --global user.email "you@example.com" git config --global user.name "Your Name" 修改最后一次提交的用户名信息 ``git git config user.name ‘wangz’ git config user.email ‘wangz@alib.com’ git commit –amend –author=wangz 1 2 3 4 5 6 7 8 9 10 11 12 13 ### 项目过大问题 >git clone

隐藏导航条底部黑线

当需要导航条为透明色,与背景色一体时,需要去除底边线: 如下代码:使用空图片设置背景图,并指定bar的样式。 1 2 self.navigationController.navigationBar setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault]; self.navigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;