C#中AppDomain.CurrentDomain.BaseDirectory及各种路径获取方法 https://www.360kb.com/kb/2_87.html // 获取程序的基目录。 System.AppDomain.CurrentDomain.BaseDirectory // 获取模块 ...
分类:
移动开发 时间:
2021-03-31 12:22:14
阅读次数:
0
网上很多帖子有在Linux上安装Redis的分享,这里我就不再多介绍。 redis在centos7中的开机自启在系统服务目录里创建redis.service文件 vi /etc/systemd/system/redis.service 写入以下内容:[Unit]Description=redis-s ...
分类:
系统相关 时间:
2021-03-31 12:13:38
阅读次数:
0
HelloWorld 随便新建一个文件夹,存放代码 如:Code\ 新建一个Java文件 文件后缀名为.java Hello.java [注意点]系统可能没有显示文件后缀名,我们需要手动打开 编写代码 public class Hello{ public static void main(Strin ...
分类:
其他好文 时间:
2021-03-31 12:05:24
阅读次数:
0
一.创建列表 1.创建一个普通列表 >>> tabulation1 = ['大圣','天蓬','卷帘'] >>> tabulation1 ['大圣', '天蓬', '卷帘'] >>> tabulation2 = [72,36,18] >>> tabulation2 [72, 36, 18] 2.创建 ...
分类:
编程语言 时间:
2021-03-30 13:55:04
阅读次数:
0
1. 执行命令:netstat -tunlp 2. 执行 :kill -9 6153 (为占用进程的PID) 或者 意思是地址已被使用,搜索相关问题后发现是因为,你曾启动过相同或者类似的服务占用了这个端口(一般来讲,在Mac上直接用Python启动的话,会导致退出不完整,你不能通过点击GUI的“退出 ...
分类:
其他好文 时间:
2021-03-30 13:52:55
阅读次数:
0
1 import os 2 3 # 获取手机系统信息 4 phone_sys = os.popen('adb shell "cat /system/build.prop | grep "product""').read() 5 print(phone_sys) 6 7 # 获取手机设备型号 8 de ...
分类:
编程语言 时间:
2021-03-30 13:42:38
阅读次数:
0
1.pom.xml文件(主要是添加依赖和插件) <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM ...
分类:
其他好文 时间:
2021-03-30 13:39:53
阅读次数:
0
1.方便快捷替换所有text字体 #if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine. ...
分类:
编程语言 时间:
2021-03-30 13:39:37
阅读次数:
0
可能造成这种报错的原因之一是 用户名或密码更新了,我们只要重新登录一下即可。 本地idea需要重新登录执行 git config --system --unset credential.helper 命令,重新出入账户密码。 ...
分类:
数据库 时间:
2021-03-30 13:35:08
阅读次数:
0
官网对于安装microstack的教程非常简单,似乎只是需要几个命令就可以完美解决问题。然而在安装过程中我出现了如下的问题: error: cannot perform the following tasks: Start snap “microstack” (216) services ([sta ...
分类:
其他好文 时间:
2021-03-30 13:19:48
阅读次数:
0