osmdroid's MapView is basically a replacement for Google's MapView class. First of all, create your Android project, and follow HowToMaven if you're u ...
分类:
移动开发 时间:
2021-07-01 16:54:55
阅读次数:
0
有同学问,如何/dir1/dir2/dir3/file中的,前半部分:/dir1/dir2/dir3和最后部分file,这个用字符串分隔及${str//}来处理还比较难办,这个时候basename和dirname命令就很方便了。 # 获取当前路径 # 查看当前路径 [dirname] 手册页“Pri ...
分类:
系统相关 时间:
2021-07-01 16:53:47
阅读次数:
0
vagrant构建linux虚拟机 1.下载软件 Vagrant: https://releases.hashicorp.com/vagrant/2.2.5/vagrant_2.2.5_x86_64.msi VirtualBox: https://download.virtualbox.org/vi ...
分类:
系统相关 时间:
2021-07-01 16:52:21
阅读次数:
0
macOS安装Oh My Zsh macOS从Catalina开始将默认的shell变为了Zsh,可以安装Oh My Zsh让其更加好用。 安装命令 sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zs ...
分类:
系统相关 时间:
2021-07-01 16:48:07
阅读次数:
0
gdb attach 失败解决方案 1. 失败信息 ptrace:Operation not permitted 2. 原因分析 默认情况下Linux只允许attach和启动gdb的用户相同的进程,比如A用户启动gdb,但某个程序是由B启动的,则gdb无法attach。 3. 解决方案 有yama的 ...
分类:
数据库 时间:
2021-07-01 16:43:35
阅读次数:
0
Linux常用命令 1、系统命令 runlevel # 查看当前的运行级别 systemctl status firewalld # 开启网络服务功能 stop # 关闭 restart # 重启 reload # 重载 reboot # 重启 halt # 关机 poweroff # 关机 2、查 ...
分类:
系统相关 时间:
2021-07-01 16:41:50
阅读次数:
0
Linux 内核:设备树(4)设备树中各个节点是谁转换的 背景 之前,我们在《把device_node转换成platfrom_device》中提到在设备树的device_node到platform_device转换中,必须满足以下条件: 一般情况下,只对设备树中根的一级子节点进行转换,也就是多级子节 ...
分类:
系统相关 时间:
2021-06-30 18:38:11
阅读次数:
0
Pandas是基于NumPy 的一种工具,该工具是为了解决数据分析任务而创建的。Pandas 纳入了大量库和一些标准的数据模型,提供了高效地操作大型数据集所需的工具。Pandas提供了大量能使我们快速便捷地处理数据的函数和方法。你很快就会发现,它是使Python成为强大而高效的数据分析环境的重要因素 ...
分类:
编程语言 时间:
2021-06-30 18:25:58
阅读次数:
0
Linux中的调度参数之sysctl_sched_wakeup_granularity ...
分类:
系统相关 时间:
2021-06-30 18:04:40
阅读次数:
0
20. 有效的括号](https://leetcode-cn.com/problems/valid-parentheses/) class Solution { public boolean isValid(String s) { Map<Character, Character> map = ne ...
分类:
其他好文 时间:
2021-06-30 18:02:33
阅读次数:
0