上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页

2019年1月26日

CLR 中 线程的 ThreadState 解释

摘要: ThreadState Aborted AbortedRequested 线程的 Thread.Abort() 方法已被调用,但线程还未停止。 Background 线程在后台执行,与属性 Thread.IsBackGround 有关 (后台线程和前台线程的唯一区别: 就是后台线程不妨碍程序的终止。 阅读全文

posted @ 2019-01-26 15:28 Sweet小马 阅读(303) 评论(0) 推荐(0) 编辑

2018年12月19日

linux常用命令-查看端口占用/查看pid/kill进程

摘要: 查看端口占用 lsof -i:8080 结果输出示例 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ___go_bui 6141 apple 3u IPv6 0x97d92a183814b899 0t0 TCP *:http-alt (LIST 阅读全文

posted @ 2018-12-19 15:06 Sweet小马 阅读(377) 评论(0) 推荐(0) 编辑

mac 发布.net Core2.0 控制台程序

摘要: 安装.net core2.0 环境,略 新建文件夹 TestA, 存放项目 TestA 在 TestA 文件夹下,创建控制台程序: dotnet new console(会自动生成 TestA.csproj以及Program.cs) 创建 sln:dotnet new sln --name Test 阅读全文

posted @ 2018-12-19 13:51 Sweet小马 阅读(536) 评论(0) 推荐(0) 编辑

2018年12月1日

macOS 中文件属性有at符号

摘要: 在mac os 下 HFS+的文件系统里,有时候有些文件会附加上mac的专有属性,@属性就表示文件或文件夹是来自互联网下载xattr -l 文件名:查看attrxattr -d 属性名:删除attr 阅读全文

posted @ 2018-12-01 09:50 Sweet小马 阅读(1256) 评论(0) 推荐(0) 编辑

2018年10月26日

微信开放平台Android应用的签名

摘要: 微信开放平台Android应用签名的本质便是我们签名文件keystore的MD5值。 keytool -list -v -keystore qj_test.keystore 获得: 别名: naolihuangjin 创建日期: Sep 25, 2018 条目类型: PrivateKeyEntry 阅读全文

posted @ 2018-10-26 14:35 Sweet小马 阅读(1840) 评论(0) 推荐(0) 编辑

2018年10月6日

unity 中 Tilemap的使用 笔记

摘要: Coordinate 坐标 创建顺序: 1.创建画板:保存路径:Palettes/Basic/BasicGroundPalette 2.图片Multiple 拖入画板 3.上一步会自动导出tiles,保存路径:Tiles/Basic/Ground/GrassPlateform_TileSet_0 4 阅读全文

posted @ 2018-10-06 11:25 Sweet小马 阅读(3810) 评论(0) 推荐(0) 编辑

2018年9月18日

unity 判断平台(安卓,iOS还是编辑器)

摘要: 两种方式 C预处理器编译判断 代码运行时判断 :) 阅读全文

posted @ 2018-09-18 11:34 Sweet小马 阅读(1468) 评论(0) 推荐(0) 编辑

2018年8月28日

unity 中的协程

摘要: //The coroutine will continue after all Update functionshave been calledon the next frame. yield return 1; //Continue after a specified time delay, after all Update functio... 阅读全文

posted @ 2018-08-28 14:41 Sweet小马 阅读(148) 评论(0) 推荐(0) 编辑

2018年8月15日

c# 时间函数

摘要: DateTime.Now.ToShortDateString() //只取日期DateTime.Now.ToLongTimeString();//只取时间搞定 DateTime.Now.ToShortTimeString()DateTime dt = DateTime.Now;dt.ToString 阅读全文

posted @ 2018-08-15 15:38 Sweet小马 阅读(165) 评论(0) 推荐(0) 编辑

2018年7月25日

c# 中 event 和 delegate 的区别

摘要: event 是一种特殊的delegate。 1)event 在本类(派生类也不行)之外不能触发。(如果是public的在类外或protected的在派生类中可以使用 += 或 -=, 但不能调用该event。) 2)但在本类外可以进行 += 和 -= 操作。 阅读全文

posted @ 2018-07-25 17:41 Sweet小马 阅读(309) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页

导航