博客园 - daixinet.com
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=40726
2023-05-01T16:35:17Z
daixinet.com
https://www.cnblogs.com/sshoub/
feed.cnblogs.com
https://www.cnblogs.com/sshoub/p/17367242.html
unity按照角度旋转 - daixinet.com
for (var idx = 1; idx <= 48; idx++) { Vector2 newDirection2 = Quaternion.AngleAxis(idx * 360/48, Vector3.forward) * direction; var newBullet2 = Instan
2023-05-01T16:35:00Z
2023-05-01T16:35:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】for (var idx = 1; idx <= 48; idx++) { Vector2 newDirection2 = Quaternion.AngleAxis(idx * 360/48, Vector3.forward) * direction; var newBullet2 = Instan <a href="https://www.cnblogs.com/sshoub/p/17367242.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/17366849.html
跟随移动 - daixinet.com
distance = Vector2.Distance(transform.position, player.transform.position); Vector2 direction = player.transform.position - transform.position; direct
2023-05-01T10:50:00Z
2023-05-01T10:50:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】distance = Vector2.Distance(transform.position, player.transform.position); Vector2 direction = player.transform.position - transform.position; direct <a href="https://www.cnblogs.com/sshoub/p/17366849.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/15359323.html
java获取某一天的邮件 - daixinet.com
获取某一天的邮件: ` public static void main(String[] args) throws Exception { Properties props = new Properties(); props.put("mail.transport.protocol", "smtp"
2021-10-01T06:10:00Z
2021-10-01T06:10:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】获取某一天的邮件: ` public static void main(String[] args) throws Exception { Properties props = new Properties(); props.put("mail.transport.protocol", "smtp" <a href="https://www.cnblogs.com/sshoub/p/15359323.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/15088273.html
mac os 系统升级记录 - daixinet.com
Mac版本为:iMac(21.5英寸,2011年中) 因无法升级,导致微信类的软件等都不能安装。 安装版本为 macos10.7.5,经查询官网最新版本可以升级到10.13.6 参考网址:https://support.apple.com/zh-cn/HT201634 但是不能直接邮10.7升级到1
2021-08-01T17:08:00Z
2021-08-01T17:08:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】Mac版本为:iMac(21.5英寸,2011年中) 因无法升级,导致微信类的软件等都不能安装。 安装版本为 macos10.7.5,经查询官网最新版本可以升级到10.13.6 参考网址:https://support.apple.com/zh-cn/HT201634 但是不能直接邮10.7升级到1 <a href="https://www.cnblogs.com/sshoub/p/15088273.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/10538472.html
SockJS - daixinet.com
1\ 2\ 下载
2019-03-15T09:34:00Z
2019-03-15T09:34:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1\ 2\ 下载 <a href="https://www.cnblogs.com/sshoub/p/10538472.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9308824.html
Spring AOP - daixinet.com
1、思想:AOP的本质是在一系列纵向的控制流程中,把那些相同的子流程提取成一个横向的面。 2、实例:(用AspectJ框架) 1)pom.xml 2)applicationContext-aop.xml 3)PersonServer接口 4)实现类:PersonServerImpl 5)切面类:As
2018-07-14T02:52:00Z
2018-07-14T02:52:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、思想:AOP的本质是在一系列纵向的控制流程中,把那些相同的子流程提取成一个横向的面。 2、实例:(用AspectJ框架) 1)pom.xml 2)applicationContext-aop.xml 3)PersonServer接口 4)实现类:PersonServerImpl 5)切面类:As <a href="https://www.cnblogs.com/sshoub/p/9308824.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9086896.html
螺旋格式输出数据 - daixinet.com
问题:(问答题) 编程输出以下格式的数据。 1、Python: 打印结果:(待完善) 2、
2018-05-25T01:55:00Z
2018-05-25T01:55:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】问题:(问答题) 编程输出以下格式的数据。 1、Python: 打印结果:(待完善) 2、 <a href="https://www.cnblogs.com/sshoub/p/9086896.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9081853.html
Spring环境搭建 - daixinet.com
本次示例,通过Maven搭建环境,开发工具为IDEA: 目录: 一、创建Maven项目 二、引入Spring 一、创建Maven项目 1、创建项目:选择Maven,点击下一步: 2、填写GroupId 和ArtifactId,点击Next 3、选择保存文件的位置,项目名称更改: 4、建好项目如下:
2018-05-24T03:20:00Z
2018-05-24T03:20:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】本次示例,通过Maven搭建环境,开发工具为IDEA: 目录: 一、创建Maven项目 二、引入Spring 一、创建Maven项目 1、创建项目:选择Maven,点击下一步: 2、填写GroupId 和ArtifactId,点击Next 3、选择保存文件的位置,项目名称更改: 4、建好项目如下: <a href="https://www.cnblogs.com/sshoub/p/9081853.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9076881.html
编程实现将一个N进制数转换成M进制数 - daixinet.com
问题:编程实现将一个N进制数转换成M进制数。(c/c++、Java、Javascript、C#、Python) 1、Python 手写算法版 2、python内部方法版: 3、
2018-05-23T06:49:00Z
2018-05-23T06:49:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】问题:编程实现将一个N进制数转换成M进制数。(c/c++、Java、Javascript、C#、Python) 1、Python 手写算法版 2、python内部方法版: 3、 <a href="https://www.cnblogs.com/sshoub/p/9076881.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9073101.html
设计一函数,求整数区间[a,b]和[c,d]的交集 - daixinet.com
问题: 设计一函数,求整数区间[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
2018-05-22T09:22:00Z
2018-05-22T09:22:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】问题: 设计一函数,求整数区间[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 <a href="https://www.cnblogs.com/sshoub/p/9073101.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9065940.html
编写一个函数,要求输入年月日时分秒,输出该年月日时分秒的下一秒。如输入2004年12月31日23时59分59秒,则输出2005年1月1日0时0分0 - daixinet.com
问题:编写一个函数,要求输入年月日时分秒,输出该年月日时分秒的下一秒。如输入2004年12月31日23时59分59秒,则输出2005年1月1日0时0分0秒。 (c/c++、Java、Javascript、C#、Python) 1、python: 2、
2018-05-21T02:19:00Z
2018-05-21T02:19:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】问题:编写一个函数,要求输入年月日时分秒,输出该年月日时分秒的下一秒。如输入2004年12月31日23时59分59秒,则输出2005年1月1日0时0分0秒。 (c/c++、Java、Javascript、C#、Python) 1、python: 2、 <a href="https://www.cnblogs.com/sshoub/p/9065940.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9040627.html
Java Native调用C方法 - daixinet.com
1、通过JNI生成C调用的头文件:Java源码: 2、生成头文件:cmd 进入java文件所在的位置,执行javah: 3、创建项目: 4、文件结构 5、复制头文件,到程序目录下: 1)通过JNI生成的头文件 Test.h 2)jdk1.7.0_80\include\jni.h 3)jdk1.7.0
2018-05-15T05:53:00Z
2018-05-15T05:53:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、通过JNI生成C调用的头文件:Java源码: 2、生成头文件:cmd 进入java文件所在的位置,执行javah: 3、创建项目: 4、文件结构 5、复制头文件,到程序目录下: 1)通过JNI生成的头文件 Test.h 2)jdk1.7.0_80\include\jni.h 3)jdk1.7.0 <a href="https://www.cnblogs.com/sshoub/p/9040627.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9024855.html
centos nginx配置https - daixinet.com
1、获取https证书: 用的阿里的免费证书: 参考:https://blog.csdn.net/chandoudeyuyi/article/details/71246255 2、修改nginx配置文件: 按照下载证书时的提示,修改即可。
2018-05-11T07:20:00Z
2018-05-11T07:20:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、获取https证书: 用的阿里的免费证书: 参考:https://blog.csdn.net/chandoudeyuyi/article/details/71246255 2、修改nginx配置文件: 按照下载证书时的提示,修改即可。 <a href="https://www.cnblogs.com/sshoub/p/9024855.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9024769.html
nginx配置多个域名 - daixinet.com
1、原来的80端口改掉,下面配置:
2018-05-11T07:09:00Z
2018-05-11T07:09:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、原来的80端口改掉,下面配置: <a href="https://www.cnblogs.com/sshoub/p/9024769.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9007108.html
IDEA导入Eclipse项目 - daixinet.com
目录 一、导入项目 二、启动项目 一、导入项目 1、欢迎界面,选择Import Project 2、选择源码的位置,点击OK 3、选择Eclipse模型,点击Next 4、默认选择,点击Next 5、选择项目后,点击Next 6、选择JDK版本,点击Finish 7、源码是放在svn上的,iml不上
2018-05-08T03:07:00Z
2018-05-08T03:07:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】目录 一、导入项目 二、启动项目 一、导入项目 1、欢迎界面,选择Import Project 2、选择源码的位置,点击OK 3、选择Eclipse模型,点击Next 4、默认选择,点击Next 5、选择项目后,点击Next 6、选择JDK版本,点击Finish 7、源码是放在svn上的,iml不上 <a href="https://www.cnblogs.com/sshoub/p/9007108.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/9002168.html
Centos nginx安装 - daixinet.com
1、下载nginx http://nginx.org/en/download.html 2、上传到服务器上,并解压: rz 后选择上传的文件 tar -zxvf /fish/download/nginx-1.14.0.tar.gz 3、安装: 环境配置: ./configure 编译: make m
2018-05-07T05:28:00Z
2018-05-07T05:28:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、下载nginx http://nginx.org/en/download.html 2、上传到服务器上,并解压: rz 后选择上传的文件 tar -zxvf /fish/download/nginx-1.14.0.tar.gz 3、安装: 环境配置: ./configure 编译: make m <a href="https://www.cnblogs.com/sshoub/p/9002168.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/8996597.html
centos tomcat安装 - daixinet.com
1、下载: https://tomcat.apache.org/download-80.cgi 下载文件:apache-tomcat-8.0.51.tar.gz 2、上传: rz 命令弹出窗口,选择tomcat压缩包上传 3、解压缩: 进入tomcat文件夹上一层,执行命令: tar -zxvf /
2018-05-05T14:49:00Z
2018-05-05T14:49:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、下载: https://tomcat.apache.org/download-80.cgi 下载文件:apache-tomcat-8.0.51.tar.gz 2、上传: rz 命令弹出窗口,选择tomcat压缩包上传 3、解压缩: 进入tomcat文件夹上一层,执行命令: tar -zxvf / <a href="https://www.cnblogs.com/sshoub/p/8996597.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/8996490.html
centos安装jdk - daixinet.com
1、下载jdk http://www.oracle.com/technetwork/java/javase/downloads/index.html 2、上传jdk rz 选择jdk文件 3、解压缩jdk 进入要解压的目录,如apps目录,执行命令: tar -zxvf /fish/download
2018-05-05T14:26:00Z
2018-05-05T14:26:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、下载jdk http://www.oracle.com/technetwork/java/javase/downloads/index.html 2、上传jdk rz 选择jdk文件 3、解压缩jdk 进入要解压的目录,如apps目录,执行命令: tar -zxvf /fish/download <a href="https://www.cnblogs.com/sshoub/p/8996490.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/8996481.html
Centos创建用户 - daixinet.com
1、创建用户: 2、用户设置密码: 3、创建文件夹: mkdir fish 4、删除文件夹 rm -rf fish 5、文件夹重命名: mv fish fish1
2018-05-05T14:25:00Z
2018-05-05T14:25:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、创建用户: 2、用户设置密码: 3、创建文件夹: mkdir fish 4、删除文件夹 rm -rf fish 5、文件夹重命名: mv fish fish1 <a href="https://www.cnblogs.com/sshoub/p/8996481.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/sshoub/p/8996484.html
centos rz sz安装 - daixinet.com
1、命令: yum install lrzsz 2、
2018-05-05T14:25:00Z
2018-05-05T14:25:00Z
daixinet.com
https://www.cnblogs.com/sshoub/
【摘要】1、命令: yum install lrzsz 2、 <a href="https://www.cnblogs.com/sshoub/p/8996484.html" target="_blank">阅读全文</a>