Managing Growing Projects Packages and Crates A crate is a binary or library. The crate root is a source file that the Rust Compiler starts from and m ...
一、说在前面 我在用pip下载包时经常有下载比较慢和如下错误的问题 Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pipenv/ 二、解决方法 默认pip是使用Python官方的源,但是由于国外官方源经常被墙,导致不可用,我 ...
分类:
编程语言 时间:
2021-01-26 11:47:24
阅读次数:
0
Power Strings Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcde ...
分类:
其他好文 时间:
2021-01-26 11:47:12
阅读次数:
0
问题 想为 自己网站 的文章图片添加缩放的效果,于是选择使用 medium-zoom 这个插件。 我网站用的 Gatsby 正好也有对应的插件 gatsby-remark-images-medium-zoom,但是根据文档配置好之后发现并没有效果,也就是点击图片没有反应,看控制台也没有任何的报错。 ...
分类:
其他好文 时间:
2021-01-26 11:41:54
阅读次数:
0
1、找到svn 存放 用户名和密码的地方 默认位置: C:\Users\Administrator\AppData\Roaming\Subversion\auth\svn.simple 2、打开里面文件,发现只能查看到名字而密码加密 3、下载解密软件 http://www.leapbeyond.co ...
分类:
其他好文 时间:
2021-01-25 10:37:08
阅读次数:
0
在安装好python后,有时候会根据需要安装一些python包,默认的pip源地址下载速度往往比较慢,经常会报超时错误。比较好的解决办法是修改pip默认源为国内源。国内比较靠谱的源地址有: pypi 清华大学源:https://pypi.tuna.tsinghua.edu.cn/simple pyp ...
分类:
编程语言 时间:
2021-01-22 12:30:41
阅读次数:
0
Problem LeetCode Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: I ...
分类:
编程语言 时间:
2021-01-21 10:55:51
阅读次数:
0
Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 } is 1 ...
分类:
其他好文 时间:
2021-01-21 10:52:05
阅读次数:
0
package com.example.delete;import java.io.File;public class DeleteDirectory { /** * 删除空目录 * @param dir 将要删除的目录路径 */ private static void doDeleteEmptyD ...
分类:
其他好文 时间:
2021-01-21 10:32:07
阅读次数:
0
USE [master] GO ALTER DATABASE AFMS SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE AFMS SET RECOVERY SIMPLE GO USE AFMS GO DBCC SHRINKFILE (N'AFMS ...
分类:
数据库 时间:
2021-01-20 11:52:19
阅读次数:
0