• 2024-07-12Nginx VS Traefik Comparison
    NginxVSTraefikComparisonhttps://reverseproxy.com/docs/comparison/nginx-vs-traefik/#:~:text=In%20summary%2C%20Nginx%20might%20be%20better%20for%20more,of%20configuration%20and%20automatic%20service%20discovery%20are%20needed.UseasReverseProxyorL
  • 2024-07-11连续出牌数量 思路+代码(华为OD-C卷-200分-Python解法)
    题目描述有这么一款单人卡牌游戏,牌面由颜色和数字组成,颜色为红、黄、蓝、绿中的一种,数字为0-9中的一个。游戏开始时玩家从手牌中选取一张卡牌打出,接下来如果玩家手中有和他上一次打出的手牌颜色或者数字相同的手牌,他可以继续将该手牌打出,直至手牌打光或者没有符合条件可以继续
  • 2024-07-10redis:常用客户端命令(redis-cli)
    一,查看redis所有配置使用命令:CONFIGGET*例:127.0.0.1:6379>CONFIGGET*1)"cluster-announce-bus-port"2)"0"3)"syslog-ident"4)"redis"5)"enable-module-command"6)"no"7)"mi
  • 2024-07-09Day65 代码随想录打卡|回溯算法篇---组合总和II
    题目(leecodeT40):给定一个候选人编号的集合 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。candidates 中的每个数字在每个组合中只能使用 一次 。注意:解集不能包含重复的组合。 方法:本题的要求是每个元素在组合中只能
  • 2024-07-09day2-array-part02-7.4
    taskfortoday1.977.有序数组的平方 2,209.长度最小的子数组 3.59.螺旋矩阵II---------------------------------------------1.977.有序数组的平方 -暴力法raiseeachelementinthearraytothepowerof2,andthensorttheminascendingorder.it
  • 2024-07-09Oracle数据库使用expdp/impdp导出导入数据
    背景:正式环境数据同步到测试环境,数据库名:MYDB,正式、用户:MYUSER(必须拥有SYS权限)。1、正式环境备份数据库(1)正式服务器上,cmd输入sqlplus,使用MYUSER账户登录(2)创建一个自定义的目录,用于存放导出的数据createdirectoryDATA_OUT_FILEas'E:\app\Administrator\admin\MYDB\my_dir\'
  • 2024-07-04In what kind of situations that no pull would be configured as a input gpio
    InthecontextofGPIOconfiguration,thechoicebetweenusingapull-up,pull-down,ornopullresistordependsonthespecificrequirementsoftheapplicationandtheexternalcircuitryconnectedtotheGPIOpin.NoPullConfigurationWhenGPIO_InitStru
  • 2024-07-03[debug]解决cmake编译报错:can not be used when making a PIE object:recompile with -fPIC
    问题描述最近在跟施磊老师的高性能服务器项目,使用make命令后一直报错以下问题解决方法报错一大堆recompilewith-fPIC,多半是链接静态库是出错了。根据网上经验,在CmakeLists文件中加入-no-pie,但是两种方法进行尝试后都没有效果。#第一种方法add_compile_options(-fPIC)#
  • 2024-07-02第二十六天 第七章 回溯算法 part04 491.递增子序列 46.全排列 47.全排列 II
    491.递增子序列将其看作一个二叉树,可以知道,在二叉树每层中,不能取相同的元素。这题最主要要理解这个点。使用unordered_set对其进行降重。classSolution{public:vector<vector<int>>res;vector<int>cur;voidbacktracking(vector<int>&nums,intindex){
  • 2024-06-19Tools Used in Experiments
    ToolsUsedinExperimentsFortheexperimentsyou'llneedtheRISC-Vversionsofacoupledifferenttools:QEMU5.1+,GDB8.3+,GCC,andBinutils.InstallingonWindowsWestronglydiscouragestudentsfromusingWSLforexperimentsbecauseitslows
  • 2024-06-06代码随想录算法训练营第二十九天 | 491.非递减子序列
    491.非递减子序列题目链接文章讲解视频讲解层间去重:回溯法相当于深搜,所以所以是一直递归到叶节点才开始回溯;每次进入backtracking也就进入了搜索树的下一层,所以每进入一层需要用一个used_set来记录使用过的元素;classSolution{private:vector<int>sub;vecto
  • 2024-06-05代码随想录算法训练营第29天 | 491.递增子序列 、46.全排列 、47.全排列 II
    491.递增子序列本题和大家刚做过的90.子集II非常像,但又很不一样,很容易掉坑里。https://programmercarl.com/0491.递增子序列.html视频讲解:https://www.bilibili.com/video/BV1EG4y1h78v关键点还要在于本层使用过的数字不能再使用/***@param{number[]}nums*@return
  • 2024-06-04ubuntu 解决apt-get: Some index files failed to download. They have been ignored, or old ones used inst
    很多博主都有编写把resolve.config文件里的conserve改为8.8.8.8,但还有一种可能是没有用最新的镜像源网址,导致找不到文件,推荐找一些最近的含有镜像源的帖子。另外就是连过外网之后导致板子和环境的网域不一样,都有可能。一般把这三种方法试了之后都是可以解决问题的。镜像源没有
  • 2024-06-01h32 Most commonly used tags in HTML
     MostcommonlyusedtagsinHTMLLastUpdated:08Mar,2024 MostcommonlyusedtagsinHTMLrefertoHTMLelementsfrequentlyutilizedforstructuringwebcontent.Theseinclude<div>fordivision,<p>forparagraphs,<a>
  • 2024-05-26英文面试
    hello,interviewer mynameisyinlili,Ihavebeenworkinginsoftwaretestingforfifteenyears.Ihavepreviouslyworkedatfourcompanies.thefirstcompanyisChinaSoftwareInternationalCorporation,IwassenttohuaweiforIPTVproject,sixyearsla
  • 2024-05-22记录一个多对多数据匹配,但是效率不高
    importitertoolsimportosimportpandasaspddefget_result(hope,list_input,used):""":paramhope:#期望相加所得参数:paramlist_input:#所有数值:paramused:#已使用过列表,起始数据为空
  • 2024-05-18HTML 26 - Head Element
     TheHTMLheaderTheheaderpartofanHTMLdocumentisrepresentedbythe<head>tag.Itserveasacontainerofvariousotherimportanttagslike<title>,<meta>,<link>,<base>,<style>,<script>,and<nosc
  • 2024-05-18HTML 24 - Form Control
     HTMLFormControlsTheformelementsthatareusedtocreatecontrolsfortheuserinteractionwithinthebrowseraretermedasformcontrols.Theyenableuserstoenterinformationfortheserversideprocessing.Thenatureofinteractionwiththeserv
  • 2024-05-18HTML 22 - Forms
     HTMLformsaresimpleformthathasbeenusedtocollectdatafromtheusers.HTMlformhasinteractivecontrolsandvariusinputtypessuchastext,numbers,email,passowrd,radiobutons,checkboxes,buttons,etc.Wecanseeitsapplicationinvarious
  • 2024-05-18HTML 17 - Tables
     HTMLTablesallowustoputdatainaorganizedwaybyprovidingrowandcolumnfacility.Alsoofferavisualstructurethataidsinclarityandcomprehension,makingthemafundamentalelementinwebdevelopment.WhyTablesareUsedinHTML?Tablesare
  • 2024-05-18HTML 09 - Quotations
     QuotationsinHTMLallowyoutoincludeandformatquotedtextwithinyourwebcontent.HTMLprovidestagssuchas<blockquote>,<q>,<cite>,<address>,<bdo>and<abbr>tostructureandstylequotes.Thesetagshelp
  • 2024-05-13HTML 05 - Attributes
    HTML05-AttributesWehaveseenfewHTMLtagsandtheirusagelikeheadingtags<h1>,<h2>,paragraphtag<p>andothertags.Weusedthemsofarintheirsimplestform,butmostoftheHTMLtagscanalsohaveattributes,whichareext
  • 2024-05-131250 - Table 'd' from one of the SELECTs cannot be used in field list
    1问题描述sql数据库查询接口union后orderby某字段,提示错误“1250-Table'd'fromoneoftheSELECTscannotbeusedinfieldlist“。移除orderby条件,就不会报错,但是不满足按照某个字段排序。 2方案解决修改排序条件为:orderbystatId即可。(union后的结果是字段
  • 2024-05-13openGauss 内存不足问题
    内存不足问题问题现象客户端或日志里出现错误:memoryusagereachthemax_dynamic_memory。原因分析出现内存不足可能因GUC参数max_process_memory值设置较小相关,该参数限制一个openGauss实例可用最大内存。处理分析通过工具gs_guc适当调整max_process_memory参数值。注意需
  • 2024-05-10dfs
    1.1排列组合问题排列组合问题还得是卡子哥讲的通透voidbacktracking(参数){if(终止条件){存放结果;return;}for(选择:本层集合中元素(树中节点孩子的数量就是集合的大小)){处理节点;backtracking(路径,选择列表);//