daixinet

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2023年5月2日

摘要: for (var idx = 1; idx <= 48; idx++) { Vector2 newDirection2 = Quaternion.AngleAxis(idx * 360/48, Vector3.forward) * direction; var newBullet2 = Instan 阅读全文
posted @ 2023-05-02 00:35 daixinet.com 阅读(18) 评论(0) 推荐(0) 编辑

2023年5月1日

摘要: distance = Vector2.Distance(transform.position, player.transform.position); Vector2 direction = player.transform.position - transform.position; direct 阅读全文
posted @ 2023-05-01 18:50 daixinet.com 阅读(10) 评论(0) 推荐(0) 编辑

2021年10月1日

摘要: 获取某一天的邮件: ` public static void main(String[] args) throws Exception { Properties props = new Properties(); props.put("mail.transport.protocol", "smtp" 阅读全文
posted @ 2021-10-01 14:10 daixinet.com 阅读(462) 评论(0) 推荐(0) 编辑

2021年8月2日

摘要: Mac版本为:iMac(21.5英寸,2011年中) 因无法升级,导致微信类的软件等都不能安装。 安装版本为 macos10.7.5,经查询官网最新版本可以升级到10.13.6 参考网址:https://support.apple.com/zh-cn/HT201634 但是不能直接邮10.7升级到1 阅读全文
posted @ 2021-08-02 01:08 daixinet.com 阅读(268) 评论(0) 推荐(0) 编辑

2019年3月15日

摘要: 1\ 2\ 下载 阅读全文
posted @ 2019-03-15 17:34 daixinet.com 阅读(268) 评论(0) 推荐(0) 编辑

2018年7月14日

摘要: 1、思想:AOP的本质是在一系列纵向的控制流程中,把那些相同的子流程提取成一个横向的面。 2、实例:(用AspectJ框架) 1)pom.xml 2)applicationContext-aop.xml 3)PersonServer接口 4)实现类:PersonServerImpl 5)切面类:As 阅读全文
posted @ 2018-07-14 10:52 daixinet.com 阅读(180) 评论(0) 推荐(0) 编辑

2018年5月25日

摘要: 问题:(问答题) 编程输出以下格式的数据。 1、Python: 打印结果:(待完善) 2、 阅读全文
posted @ 2018-05-25 09:55 daixinet.com 阅读(175) 评论(0) 推荐(0) 编辑

2018年5月24日

摘要: 本次示例,通过Maven搭建环境,开发工具为IDEA: 目录: 一、创建Maven项目 二、引入Spring 一、创建Maven项目 1、创建项目:选择Maven,点击下一步: 2、填写GroupId 和ArtifactId,点击Next 3、选择保存文件的位置,项目名称更改: 4、建好项目如下: 阅读全文
posted @ 2018-05-24 11:20 daixinet.com 阅读(352) 评论(0) 推荐(0) 编辑

2018年5月23日

摘要: 问题:编程实现将一个N进制数转换成M进制数。(c/c++、Java、Javascript、C#、Python) 1、Python 手写算法版 2、python内部方法版: 3、 阅读全文
posted @ 2018-05-23 14:49 daixinet.com 阅读(3637) 评论(0) 推荐(0) 编辑

2018年5月22日

摘要: 问题: 设计一函数,求整数区间[a,b]和[c,d]的交集。(c/c++、Java、Javascript、C#、Python) 1、Python: def calcMixed(a,b,c,d): rtn=[] list1=range(a,b+1) for num in range(c,d+1): i 阅读全文
posted @ 2018-05-22 17:22 daixinet.com 阅读(661) 评论(0) 推荐(0) 编辑