摘要: 近期需要做一个画板的功能,又鉴于SDK3.0的例子,现在都用SDK4.0在开发了,3.0里实现的一些在4.0里并不适合使用;找了很多相关的资料,也不基于Path实现画板功能;最近在官方网上看找到一些资料,拿出来分享一下;再也不用纠结于 多条lineTo, 难解决操作记录的问题,尤其在解决恢复,撤消问题;不多说,贴上代码:<?xmlversion="1.0"encoding="utf-8"?><s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s=&q 阅读全文
posted @ 2011-07-18 15:09 Marksion 阅读(1905) 评论(8) 推荐(0) 编辑
摘要: 最近忙于公司项目开发的事情,好一段时间没写Blog了,其中有使用到Flex4在项目开发当中,于是分享一,Application中与Module通信, 以登录为例思路:1. 编写接口IUserEntry:继承IEventDispatcher,并加入,设置和返回 用户名方法名;2.新建Module,实现IUserEntry 接口,并新建 登录事件,并颁发登录事件绑定;3.在Application中,创建并使用接口和实例;主要代码://IUserEntry.as接口packagecom.oreilly.f4cb{importflash.events.IEventDispatcher;publici. 阅读全文
posted @ 2011-07-04 08:37 Marksion 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 最近公司接到 视频会议的项目,顺便找了一些Socket通讯的资料,做个小例子测试,拿出来分享下,高手可以直接飘过吧!!国际惯例,看图先!! 简单分端:1.组播端:2.听众端:3.同步窗口:核心代码:// 1. 组播端usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Drawing.Imaging;usingSystem.IO;usingSystem.Text;usingSystem.Net;usingSy. 阅读全文
posted @ 2011-06-04 11:30 Marksion 阅读(1507) 评论(9) 推荐(2) 编辑
摘要: Photoshop英文教程资料2008年05月16日 星期五 16:44转自:蓝色理想论坛http://www.photoshoproadmap.com/Photoshop-tutorialshttp://www.photoshoptopsecret.com/http://www.photoshopcafe.com/tutorials.htmhttp://www.splashchallenge.c... 阅读全文
posted @ 2010-03-30 13:15 Marksion 阅读(701) 评论(0) 推荐(0) 编辑
摘要: TestCafe前端E2E自动化测试技术要点 最近用TestCafe完成了一个营销活动的前端自动化测试,整个过程很顺利,运行也较稳定。对比以前用Selenium作的几个Web UI自动化项目而言,感觉到了新一代的前端E2E自动化测试工具的强大。下面记录一些遇到的要点和TestCafe独有的一些特性。 阅读全文
posted @ 2020-07-17 13:51 Marksion 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 什么是TestCafe 转自: https://www.jianshu.com/p/94181abe5e9a 官方: A node.js tool to automate end-to-end web testing Write tests in JS or TypeScript, run them 阅读全文
posted @ 2020-07-16 16:05 Marksion 阅读(997) 评论(0) 推荐(0) 编辑
摘要: 资源收集与整理 引图: ZLT-MP 微服平台 nginx http://nginx.org/en/docs/beginners_guide.html flutter https://flutter.dev/ SpringCloud https://gitee.com/homepay/microse 阅读全文
posted @ 2020-07-09 11:03 Marksion 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Nginx的启动(start),停止(stop)命令 查看Nginx的版本号:nginx -V 启动Nginx:start nginx 或者 nginx 快速停止或关闭Nginx:nginx -s stop 正常停止或关闭Nginx:nginx -s quit 配置文件修改重装载命令:nginx - 阅读全文
posted @ 2020-07-09 10:56 Marksion 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1.背景: 网友常遇到网站上喜欢的视频,只能看又不能下载(留念),特别可怜的是巨额购买的视频教程到期了快下架,无奈却来不及收集。。。。 2.冲突: 资金有限(穷),能力有限(不想Coding),时间有限(懒) 3.疑问: 如何能快速下载一视频,最好免费!最好非态资源(非 src='./static/ 阅读全文
posted @ 2020-02-09 00:30 Marksion 阅读(12272) 评论(0) 推荐(0) 编辑
摘要: 1.安装工具,下载 Go: https://studygolang.com/dl/golang/go1.13.6.windows-amd64.msi 2.创建项目(注:须进入创建的目录,如: cd beevue) 3.创建DB,导入数据 4.连接DB生成API 5.修改main.go,配置数据连接 阅读全文
posted @ 2020-01-19 20:15 Marksion 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 1.关于字符串连接,下面语法正确的是? (BD, 字段串: 相同数据类型 可以相加或拼接; 其它方法:string.Join(), buffer.WriteString()) A. str := 'abc' + '123' B. str := "abc" + "123" C. str := '123' + "abc" D. fmt.Sprintf("abc%d", 123) (%d 匹配数字,%v 阅读全文
posted @ 2020-01-07 15:00 Marksion 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 以下代码是否编译通过: 输出结果: 阅读全文
posted @ 2020-01-06 16:38 Marksion 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 结构属性取值 阅读全文
posted @ 2019-12-27 11:01 Marksion 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 结构比对: 受影响因素:字段顺序,字段类型,字段值 阅读全文
posted @ 2019-12-26 19:27 Marksion 阅读(145) 评论(0) 推荐(0) 编辑