06 2023 档案
摘要:[原文链接](https://mp.weixin.qq.com/s/RsJfUylhjpA3X0Sy1H1arw) Spring bean是Spring框架在运行时管理的对象。Spring bean是任何Spring应用程序的基本构建块。我们编写的大多数应用程序逻辑代码都将放在Spring bean
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/NUszcY1Aj2NOxhfM1Fz73g) # 查看当前目录文件夹大小 ```shell du -h --max-depth=1 ``` # 安装软件 以 nplay 为例 ```shell sudo apt-get insta
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/AjEgYXBwqyvei8f2-J1tEQ) # 当前时间 ```java import java.sql.Timestamp; //导包 Timestamp nowTime = new Timestamp(System.curr
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/FCAXfhTW0u7rZQ-PR52CGA) # 设置永不关机 新建一个`vbs`文件,内容如下: ```vbscript Set WshShell = WScript.CreateObject("WScript.Shell")
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/FCAXfhTW0u7rZQ-PR52CGA) # 设置永不关机 新建一个`vbs`文件,内容如下: ```vbscript Set WshShell = WScript.CreateObject("WScript.Shell")
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/N1HsL7Y7fTqeEqvN6fGCBw) # 虚拟机为Linux系统 使用`vm-tools`即可。 卸载旧工具: ```shell vmware-uninstall-tools.pl ``` 安装新工具: ```shell
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/1e5G-U8F0H8q8g1noTQXgA) Ubuntu安装Python的方式与其他Linux系统有所不同,在这里介绍一下。 # 配置环境 切换的国内源: ```shell sudo gedit /etc/apt/sources
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/sDvdCviieYiEjKuDBLzRCQ) Python和Anaconda的版本对应关系如下: ``` Packages included in Anaconda 2022.10 for 64-bit Linux on x86_
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/fLSzza9xD0xpJpFo00eftA) 在没有外网的情况下,安装Python环境只能采用离线方式。 # Windows离线安装Python Python离线安装包的下载地址:https://www.python.org/ft
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/MpkskVdcBVCmuoXwn9VRag) 在搞深度学习的时候,我们在本地开发,但是需要在服务器去运行工程,所以需要使用Pycharm进行远程配置,可以实现本地代码自动同步到服务器,并在本地使用服务器的解释器。 条件:需要使用专
阅读全文
摘要:[原文链接](https://mp.weixin.qq.com/s/UFtR9kJwLfFqIKCvveFQ5g) 可以使用`getLocalHost`命令: ```java import java.net.InetAddress; public class Main { public static
阅读全文