执法巡查开发状态总结

UML状态图 使用状态图,查漏补觉,梳理相关业务流程。 建议:优化流程,使用流程图(活动图)/时序图来完善流程 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

uml活动图常用语法

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 start :ClickServlet.handleRequest(); :new page; if (Page.onSecurityCheck) then (true) :Page.onInit(); if (isForward?) then (no) :Process controls; if (continue processing?) then (no) stop endif if (isPost?) then (yes) :Page.onPost(); else (no) :Page.onGet(); endif :Page.onRender(); endif else (false) endif if (do redirect?)

uml用例图常用语法

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 :Main Admin: as Admin (Use the application) as (Use) User -> (Start) User --> (Use) Admin ---> (Use) note right of Admin : This is an example. note right of (Use) A note can also be on several lines end note note "This note is connected\nto several objects." as N2 (Start) .. N2

uml类图常用语法

1 2 3 4 5 6 7 8 9 10 11 12 class BaseClass namespace net.dummy #DDDDDD { .BaseClass <|-- Person Meeting o-- Person .BaseClass <|- Meeting } namespace net.foo { net.dummy.Person <|- Person .BaseClass <|-- Person net.dummy.Meeting o-- Person } BaseClass <|-- net.unused.Person 效果图: 1 2 3 4 5 6 7 8 9 10 11 12 class BaseClass namespace net.dummy #DDDDDD { .BaseClass <|-- Person Meeting

在Mac安装Fiddler

安装Mono Mac下需要使用.Net编译后的程序,首先需要用到跨平台的方案Mono(现阶段微软已推出跨平台的方案.Net Core,不过暂时只

+0800格式转NSDate

1 2 3 4 NSString *timstr = [resData objectForKey:@"Data"]; timstr = [timstr stringByReplacingOccurrencesOfString:@"/Date(" withString:@""]; timstr = [timstr stringByReplacingOccurrencesOfString:@"+0800)/" withString:@""]; model.time = [NSDate dateWithTimeIntervalSince1970:timstr.longLongValue/1000];

高德地图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