1、volume目录清理 docker volume ls -qf dangling=true docker volume rm $(docker volume ls -qf dangling=true) ...
分类:
其他好文 时间:
2020-05-09 21:02:21
阅读次数:
62
Two Pointer 141. Linked List Cycle 判断链表是否有环 Can you solve it using O(1) (i.e. constant) memory? "leetcode 141. Linked List Cycle" 142. Linked List Cyc ...
分类:
其他好文 时间:
2020-05-05 18:11:17
阅读次数:
54
安装是在一台旧的T420s上进行的, 使用整个硬盘, 一个512G的MSATA SSD. 小红点中键禁用粘贴 这个问题在20.04中依然存在, 和18.04一样的解决办法 # 查看xinput设备列表 $ xinput list ? Virtual core pointer id=2 [master ...
分类:
系统相关 时间:
2020-05-04 15:41:45
阅读次数:
850
javascript实现幻灯片播放 实现原理 step1 设置容器,包含图片、翻页、下标等元素,通过相对定位来布局。 step2 将幻灯片变化,需要改变的元素放在一个字容器内,display设为none,并且采取动画来变化。 step3设置js函数,将应该播放的元素样式激活,其他的元素仍为未激活状态 ...
分类:
编程语言 时间:
2020-05-03 16:41:46
阅读次数:
70
/* program to construct tree using inorder and preorder traversals */ #include <stdio.h> #include <stdlib.h> /* A binary tree node has data, pointer t ...
分类:
其他好文 时间:
2020-05-03 10:19:45
阅读次数:
64
一招 git clone 加速 【实测有效】 ? 作者:「c1rew」 链接:「https://juejin.im/post/5cfe66406fb9a07edb393c56」 ? 一、起因 为了修改自己博客的文件夹命名,就需要将github上的仓库下载到本地,使用git clone时,速度慢到无法 ...
分类:
其他好文 时间:
2020-05-02 11:35:43
阅读次数:
145
String String类代表字符串。Java程序中的所有字符串文字(例如"abc" )都被实现为此类的实例。 字符串不变; 它们的值在创建后不能被更改。 字符串缓冲区支持可变字符串。 因为String对象是不可变的,它们可以被共享。 例如: String str = "abc"; 相当于: ch ...
分类:
其他好文 时间:
2020-05-01 20:59:53
阅读次数:
55
helloworld.c #include<stdio.h> #include<stdlib.h> void Hello(); void Hello() { printf("Hello World!\n"); } int main() { void (*Hello_ptr)() = Hello; / ...
分类:
其他好文 时间:
2020-05-01 01:11:50
阅读次数:
50
#include <stdio.h> void minmax(int a[], int *min, int *max, int len); //函数声明 int main() { int b[] = {1, 2, 4, 7, 10, 15, 17, 20, 100, 90, -1, 1000, 20 ...
分类:
编程语言 时间:
2020-04-30 22:50:31
阅读次数:
58
快速安装命令如下: sudo apt-cache search sogou sudo apt-get install sogoupinyin sudo apt --fix-broken install 【根据上一条命令的实际情况看】 sudo apt-get install sogoupinyin ...
分类:
其他好文 时间:
2020-04-30 15:20:27
阅读次数:
923