morning four the in
fix apt-get install wiringpi errors All In One
fix apt-get install wiringpi errors All In One
修复 E: 软件包 wiringpi:armhf 没有可安装候选 错误
C 语言版本 wiringpi
......
Linux shell command make All In One
Linux shell command make All In One
......
Ruby安装错误:in `encode': U+00CD to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437 (Encoding::UndefinedConversionError)
解决方法: 去本地路径下修改编码,这么提示是因为编码不一致导致的。 修改registry 文件中的编码: 修改后就没有问题了。 来源:https://www.cnblogs.com/py-tiger/p/5372258.html ......
Linux command line editor nano All In One
Linux command line editor nano All In One
nano editor
Ctrl + X 退出窗口
Ctrl + G 打开帮助文档
......
关于pandas.ExcelWriter()对象在执行.save()时报错FutureWarning: save is not part of the public API
有时使用pandas将多份数据,写入到Excel中不同的Sheet,可能会用到pandas.ExcelWriter("xxxx.xlsx")对象 这样在结束时,就会对对象进行.save()和close(),当然这也是从大部分网站上看到的使用方法 但是笔者在实际使用过程中,按这个过程,遇到报错: Fu ......
flower in 5.3
上午模拟赛,但是没有打。感觉确实大多数时间都没有好好打模拟赛。正在尝试通过献祭模拟赛的方式获得一些看科技的时间,反正最近五场我只打了两场,好像有一场是点分治没调出来。不过可能在这个时间段进行这种活动确实不好。就凭我省选之后部分分能力极度下降来看,大概营三是个不可避免的结局。切题肯定是切不动的。 考前 ......
Linux shell script shebang env All In One
Linux shell script shebang env All In One
指定 shell script 的运行环境
#!/usr/bin/env
......
Linux shell script switch...case All In One
Linux shell script switch...case All In One
case...in...esac
......
idea创建SpringBoot项目报错For artifact {mysql:mysql-connector-java:null:jar}: The version cannot be em
For artifact {mysql:mysql-connector-java:null:jar}: The version cannot be empty. 报错如图: pom.xml文件如图: 添加版本号: 就好了 ......
cublas runtime error : the GPU program failed to execute 报错
情景 在使用 pytorch 1.0 和 RTX 3060 Laptop 训练 GIN 的时候出现了这个错误 原因 pytorch 1.0 对应的 cuda 10.0 版本太低了,不支持新的 GPU 架构 解决 最终使用了更新版本的 pytorch ......
hdu:surrounding the trees(凸包)
Problem Description There are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minim ......
[Typescript] ts-toolbelt F.Narrow preserve the exactly data for function arguement
Example code: interface Fruit { name: string; price: number; } export const wrapFruit = <TFruits extends Fruit[]>(fruits: TFruits) => { const getFruit ......
The 2022 ICPC Asia Nanjing Regional Contest
写了题解没写代码的:BDGHK A 题解 先求出没有洞的话,最终留下来的袋鼠是哪个矩形。再看洞相对袋鼠是怎么移动的,这个洞会留下来一个移动轨迹。check 一个点是不是答案,就是看这个移动轨迹和袋鼠矩形的交的大小。那么每次是对移动轨迹进行一个二维数点。移动轨迹坐标必须在 $[-n,n]$ 和 $[- ......
Linux shell command ls sort by date All In One
Linux shell command ls sort by date All In One
ls 按时间排序,最新的排在最前面
$ ls -t
$ ls --time
# reverse
$ ls -tr
......
E325: ATTENTION Found a swap file by the name "/etc/ssh/.sshd_config.swp"
今天使用vim /etc/ssh/.sshd_config命令报下面这个错误 查询后发现是上次修改内容没有保存,意外退出造成的,生成了一个.swp文件。我按了一下回车就回到编辑页面了,没有保存上次的编辑。其他解决方法还原上次编辑结果,使用命令vim -r 文件名 命令恢复上次编辑结果,使用 rm - ......
Oracle ORA-01033: ORACLE initialization or shutdown in progress(误删了DBF数据库文件导致)解决方法
先声明一下前期的一些手欠欠儿的操作导致oracl登录不进去了,起先是清理磁盘空间的时候误删除了orcle DBF数据文件后无法进入系统,plsql登录报错如下: 一般情况下,删除表空间的正确方法是:DROP TABLESPACE BDCDJ INCLUDING CONTENTS AND DATAFI ......
Luogu P2973 [USACO10HOL]Driving Out the Piggies G
发现答案其实与这个点炸弹经过的次数有关,因为只要知道了这个点炸弹经过次数 $w$,这个点答案就能算出:$w\times \frac{p}{q}$ 就想到设 $f_u$ 为 $u$ 点炸弹经过次数 $u$ 点经过次数便可以由有连边的 $v$ 点推来,要满足 $v$ 点此时炸弹没爆炸且 $deg_v$ ......
IDEA报错:Unsupported characters for the charset 'ISO-8859-1'
IDEA报错:Unsupported characters for the charset 'ISO-8859-1' 解决方法 File->Settings->Editor->File Encodings 将Properties Files (*.properties)下的Default encod ......
上拉电阻和下拉电阻 All In One
上拉电阻和下拉电阻 All In One demos https://youtu.be/74s5CpyG5ts?t=464 https://youtu.be/k_GAuSONCqo?t=8 --> (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https:/ ......
Open Source Mirror in China
阿里巴巴 腾讯 华为 清华大学 中国科技大学 上海交通大学 南京大学 南方科技大学 浙江大学 ......
上海市萝卜快跑无人驾驶出租车收费标准 All In One
上海市萝卜快跑无人驾驶出租车收费标准 All In One
无人驾驶出租车商业化运营
萝卜快跑计费规则图解
......
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none) ERROR: No matching distribution found f
命令行输入: pip install mediapipe 报错: Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR: Could not find a version that satisfies the requi ......
Elasticsearch专题精讲——Installing Elasticsearch ——Install ECK using the Helm chart
Install ECK using the Helm chart Starting from ECK 1.3.0, a Helm chart is available to install ECK. It is available from the Elastic Helm repository a ......
Codeforces 894D Ralph And His Tour in Binary Country
预处理出对于 $u$ 节点其子树内节点(包括 $u$)与 $u$ 的距离,从小到大排序得到 $ds_u$ 同时对 $ds_u$ 进行前缀和处理 $dh_{u, i} = \sum\limits_{j = 1}^{i} ds_{u, j}$ 这样设 $tot$ 为 $ds_u$ 二分得到的 $ds_{ ......
Elasticsearch专题精讲——What's new in 8.7?
What's new in 8.7? https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-highlights.html , orther versions:8.6 | 8.5 | 8.4 | 8.3 | 8.2 | ......
如何通过 API 查看 cnblogs 博客访问量和博客排名 All In One
如何通过 API 查看 cnblogs 博客访问量和博客排名 All In One
......
Python 3 alias All In One
Python 3 alias All In One
python3 / py3 / python
.zshrc
......
flower in 4.30
有人要求我日更鲜花就来更新了。大概是没人看的吧? 彁这个字确实是可以打出来的。我放歌的心路历程大多数时候取决于我当时的精神状态,然后在比较符合的里边找几个应该能放出来的(指带人声的)。比如说比较魔怔的时候就放个脑力) 不得不说写这个是有好处的,最起码可以保证语言组织能力不是太匮乏。 逐篇翻看以前的鲜 ......