welcome tokyo to

[LeetCode] 1342. Number of Steps to Reduce a Number to Zero 将数字变成 0 的操作次数

Given an integer num, return the number of steps to reduce it to zero. In one step, if the current number is even, you have to divide it by 2, otherwi ......
Number LeetCode 次数 数字 Reduce

Moving to Nuremberg UVA12223

题目大意:给出n,一个无根的树,每条边上都有权值。 现在每个位置都有一个景点,一个人想在一年之内去cnt[ i ] 次景点,所以接下来给出m,表示说在m个位置上有这个人想去的地方,给出位置以及想去的次数(注意,每去一个景点都要返回自己的住处),namo这个人该住在哪里走的路程才最短。 换根dp #i ......
Nuremberg Moving 12223 UVA to

Sitecore10 Demo演示环境Azure一键部署(Step By Step Guide to installing Sitecore10 in Azure Paas)

本文演示Sitecore XP Single(XP0)在Azure上的一键部署,即“30分钟生成Sitecore演示环境”的一环。 关于XP(即Sitecore Experience Platform) roles的相关介绍移步 XP Single配置主要用来开发和测试: Four Sitecore ......
Sitecore Azure Step installing 环境

java中使用RedisTemplate读取数据异常 Missing type id when trying to resolve subtype of [simple type, class java.lang.Object]: missing type id property '@class' at [Source: (byte[])"

解决方法: 直接储存对象,交给redisTemplate来序列化,或手动使用Jackson2JsonRedisSerializer序列化对象。 ......
type class java RedisTemplate property

use a script run by gromacs to analysis protein protein complex dynamic

using gromacs to write a script for protein-protein complex moleculer dynamics from force field selection to trajectory analyze step by step,and give ......
protein analysis gromacs complex dynamic

authentication required to refresh system repositories

安装完centos8后,图形界面不时出现如下的要求输入密码的验证 解决办法: cd /etc/polkit-1/localauthority/50-local.d/ vi 46-allow-packagekit.pkla 内容如下: [Allow Refresh Repository all Use ......

【论文笔记】A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT 使用ChatGPT增强提示工程的提示模式目录

简介 论文原文 https://arxiv.org/pdf/2302.11382.pdf 参考笔记 https://qiita.com/sonesuke/items/981925cfcc610a602e94 16种prompt模式并附例 prompt patterns是什么 A prompt is ......
ChatGPT Prompt Engineering Pattern Catalog

How use the RegExp to filter IP address in js All In One

How use the RegExp to filter IP address in js All In One 如何使用 RegExp 在 js 中过滤 IP 地址 192.168.18.1 < 192.168.18.N < 192.168.18.255 ignore IPs: 192.168.1 ......
address RegExp filter How All

解决Some index files failed to download.They have been ignored, or old ones used instead报错

使用ping www.baidu.com测试一下网络,如果出现:ping: www.baidu.com: Temporary failure in name resolution就是网络问题了 以下是解决办法,修改两处后重启即可,下面详细说明 第一处修改的地方: sudo vim /etc/syst ......
download ignored instead failed index

ubuntu - k3s安装失败出现unable to find suitable network address.error

系统时ubuntu18 原因: 离线安装k3s 需要手动设定 ip的 网关 使用ip route 查看是否出现default via xxxx.xxxx.x.x dev ens33 xxxxx 内容。 如果没有出现 说明没有默认网关。 方式1 : 临时生效 使用命令: ip route add de ......
suitable address network ubuntu unable

【c&c++】C++ 关于编译出现“undefined reference to `std::cout‘“的问题

1、问题概述 在使用gcc编译c++代码时会出现undefined reference to `std::cout',如编译如下代码: #include<iostream> using namespace std; int main() { cout<<"Hello world!"; return ......
undefined reference 问题 cout amp

oracle 等待事件SQL*Net message to client

Troubleshooting Waits for 'SQL*Net message to client' and 'SQL*Net more data to client' Events from a Performance Perspective (Doc ID 1404526.1) 什么是“S ......
message 事件 oracle client SQL

Split to Be Slim: 论文复现

摘要:在本论文中揭示了这样一种现象:一层内的许多特征图共享相似但不相同的模式。 本文分享自华为云社区《Split to Be Slim: 论文复现》,作者: 李长安 。 Split to Be Slim: An Overlooked Redundancy in Vanilla Convolution ......
论文 Split Slim Be to

3DMax Ornatrix to UE Groom制作毛发动态效果

Hello,大家好,今天给大家带来3DMax Ornatrix 毛发插件导入 UE Groom毛发动态效果,我是沙漠骆驼-JFD。 1、使用Ornatrix 毛发插件生成毛发 2、添加编辑器Clump 和Frizz 3、导出格式:Ornatrix Alembic(.abc) 4、导入到虚幻引擎,注意 ......
毛发 Ornatrix 效果 动态 3DMax

npm i 报错 unable to resolve dependency tree

错误: 问题原因:安装包各个版本冲突解决办法:npm i --legacy-peer-deps 忽略各种报错命令npm i --legacy-peer-deps --ignore-scripts --registry=https://registry.npm.taobao.org 然后重新安装 np ......
dependency resolve unable tree npm

make_ext4fs error: make_file: failed to allocate inode

make_ext4fs error: make_file: failed to allocate inode error: do_inode_allocate_extents: Failed to allocate 1146 blocks make menuconfig Target Images ......
make make_file make_ext allocate failed

PR语音转字幕转换插件Speech to Text for Premiere Pro

在 Speech to Text for Premiere Pro(PR语音转字幕转换插件中您可以使用以下各种格式转换:中文(PL/PRC)、英文、日语、韩语、意大利语、葡萄牙语、波兰语、法语、意大利语、荷兰语、英语、西班牙语等。如果您对中文、日语、韩语、葡萄牙语、法语、荷兰语等语言感兴趣,可以在这 ......
字幕 插件 语音 Premiere Speech

PVE虚拟机出现系统启动报错“journalctl”to view system logst解决方法

故障现象 虚拟机卡死,重启虚拟机后,不能正常进入系统 解决办法 xfs repair -v -L /dev/dm-0 L 选项指定强制日志清零,强制xfs_repair将日志归零,即使它包含脏数据(元数据更改)。再重启下虚拟机即可 ......
journalctl 方法 system 系统 logst

[vite]: Rollup failed to resolve import "APlayer" from "./APlayer/index.vue".This is most likely unintended because it can break your application at runtime.

这个错误提示是在你使用 Vite 构建项目时遇到的。 错误信息提示 Rollup 在构建过程中无法解析 import "APlayer",而且这很可能会在运行时破坏你的应用程序。这个问题的原因是,APlayer 并不是一个模块,没有被正确地导出到你的项目中。 为了解决这个问题,你需要告诉 Rollu ......
quot APlayer application unintended because

Rollup failed to resolve import "vue-demi" from

1、背景: vue3 + vite + ts 的一个项目打包的时候报错了 2、报错截图 3、引入截图 4、修改引入 vue-demi -> vue 5、结果 可以正常打包啦~~ ......
quot vue-demi resolve Rollup failed

【THM】Intro to C2(C2简介)-红队

本文相关的TryHackMe实验房间链接:https://tryhackme.com/room/introtoc2 本文相关内容:学习关于命令与控制(C2-Command&Control)的基本知识。 简介 命令与控制(C2-Command&Control)框架是红队和APT战术手册的重要组成部分, ......
红队 简介 Intro THM C2

sqlserver视图 to mysql表

sqlserver视图 to mysql表 有两台服务器,是同一个内网。 sqlserver这台只能内网访问 mysql这台可内可外 现在需要将sqlserver的一个视图数据,每天凌晨同步到另外一台服务器的mysql数据库里 共参考: 安装sqlserver https://www.linuxpr ......
视图 sqlserver mysql to

java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''',b_5='17',b_6='' wher

java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right s ......

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

今天执行mysql操作的时候出现了错误:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'问题 1:首先检查是否安装了mysql-server了 su ......
mysqld 39 connect through server

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 503 Service Unavailable"

背景: 某日,一正常项目迁移到新的服务器 新的服务器,需要使用代理来访问之前能直接访问的接口,加完代理之后,发现无法获取数据了 报错: org.springframework.web.client.ResourceAccessException: I/O error on GET request f ......
quot Unavailable Service through returns

运维 —— IMP-00030: failed to create file import_sys for write

IMP-00030: failed to create file import_sys for writeIMP-00000: Import terminated unsuccessfully原因:操作系统用户oracle对dmp文件没有权限drwxr-xr-x 2 root root 42 Feb ......
import_sys failed create import 00030

Opencup XII, Grand Prix of Tokyo F.Robots

F.Robots 来复健,但是没料到是GP场,就不该来,应该去vp 这道题的题意是给两个数组a和b,对于每个b,会有最近的依然active的a来配对,问最小的距离是多少,并且给出一种删b的方案 样例给了: 3 1 2 3 11 12 13 答案是30,我们先删掉13,然后删掉12,最后删掉11, 为 ......
Opencup Robots Grand Tokyo Prix

Introduction to WebGL 3D with HTML5 and Babylon.js

Explore 3D basics, and take a look at 3D without hardware (creating a software engine). [05:45] - Understanding 3D Basics via a soft engine [09:49] - ......
Introduction Babylon HTML5 WebGL HTML

golang net/rpc inject data to service function

在golang中,net/rpc库比较牛,只需要写函数,然后使用现成的 ServerCodec 就可以完成rpc服务了。但是有个问题,service函数的参数都是来自客户端的,如果服务器想为某个特殊的函数注入一些配置或状态参数,就不好弄了。 解决方案: 修改service函数,比如原来的参数是 Fu ......
function service golang inject data

错误解决 System.InvalidOperationException:“Dynamic port binding is not supported when binding to localhost. You must either bind to 127.0.0.1:0 or [::1]:0, or both.”

System.InvalidOperationException:“Dynamic port binding is not supported when binding to localhost. You must either bind to 127.0.0.1:0 or [::1]:0, or ......