找到约 10000 条结果
  • VS Code 文件路径匹配
    平时开发前端主要使用 vs code , 很多时间都用到了从文件中搜索替换功能。当文件很多时,假如还是从所有文件中查询,速度会很慢。vs code 提供了根据一套语法用来匹配指定类型的文件。
    2017-11-09
  • SonarQube API的2个坑
    /api/issues/search 查询违反规则的issue参数一:componentKeys参数二:rules/api/issues/search?componentKeys=Demo&rules=external_eslint_repo:indent
    2022-01-25
  • vitepress模糊搜索配置
    在docs\.vitepress\config.mts文件中进行配置themeConfig配置项中添加search:provider: "local"即可开启全局模糊搜索,搜索本地文档数据
    2025-03-03
  • leetcode讲解--938. Range Sum of BST
    Given the root node of a binary search tree, return the sum of values of all nodes with value between L and R (inclusive).
    2018-12-16
  • url 参数 是url,获取时参数丢失
    引用场景:一条链接带数个参数,其中有参数是一条url(也带有参数),这样就会造成获取参数丢失。例如url: [链接]://www.baidu.com/?err=ppp&lll=xxxx
    2020-06-05
  • url 参数 是url,获取时参数丢失
    引用场景:一条链接带数个参数,其中有参数是一条url(也带有参数),这样就会造成获取参数丢失。例如url: [链接]://www.baidu.com/?err=ppp&lll=xxxx
    2019-11-20
  • 如何查询当前SAP用户所属的组织单元(organization unit)
    Approach1Menu->Business Workplace:then click "Display organizational assignment":The "IC Inbox ( Test for HANA!)" is the organization unit we look for.Approach2Use the following menu path or directly access tcode PPOS:Then User->Search Term, specify your SAP name:We can still get the same o...
    2020-09-05
  • 使用 Phoenix LiveView 构建 Instagram (3)
    使用PETAL(Phoenix、Elixir、TailwindCSS、AlpineJS、LiveView)技术栈构建一个简化版的Instagram Web应用程序
    2023-09-01
  • 【leetcode】96. Unique Binary Search Trees
    Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
    2016-11-10
  • leetcode33 search in rotated sorted array
    思路一并没有充分利用条件,及这个数组是由两个有序的子数组合成的。这里我们可以使用二分法的一个变形的算法。先找到中间节点,这个中间节点如果不是在左顺序子数组,就一定在右顺序子数组,反之亦成立。这样我们就可以变相的使用二分法将区间范围逐渐缩小,直至找到目标值。这里相比于思路一,更适用于目标节点在中间...
    2017-04-20
  • leetcode98. Validate Binary Search Tree
    我们可以发现,如果已知当前节点的值val以及取值的上下限upper,lower,那么左子节点的取值范围就是(lower, val),右子节点的取值范围就是(val, upper)。由此出发递归判断,时间复杂度为O(n)因为每个节点只需要遍历一次。
    2017-07-20
  • [LeetCode] 642. Design Search Autocomplete System
    Design a search autocomplete system for a search engine. Users may input a sentence (at least one word and end with a special character '#'). For each character they type except '#', you need to return the top 3 historical hot sentences that have prefix the same as the part of sentence already ty...
    2018-11-11
  • 74. Search a 2D Matrix
    Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted from left to right.The first integer of each row is greater than the last integer of the previous row.Example 1:
    2019-02-12
  • 杀手级xadmin开发在线教育网站8-6_xadmin全局配置和本章总结
    任意app中修改adminx.py,并注册。 修改名称和脚标 1.修改名称 site_title {代码...} 2.修改footer site_footer {代码...} 3.注册生效 {代码...} 4.结果 修改主题等基本设置 1.增加修改主题选项 {代码...} 2.左侧apps是否默认折叠并显示数量 {代码...} 完整代码 {代码...} 总结 1.list_filter = ['name', 'teacher__name'...
    2020-03-21
  • FINT2100 Computer Programming
    FINT2100 Computer Programming and Application Development(2023-2024 Semester 2)Programming ProjectDeadline: (Fri) 26 Apr 2024 (11:59pm)(Upload all the Java source code files and test plan to Moodle by the deadline)ProjectDesign and implement a menu-driven Library Management System.ObjectiveDevelo...
    2024-04-29
  • Python中正则表达式模块详解
    正则表达式用来处理字符串,对字符串进行检索和替换,另外正则在python爬虫的应用也是相当广泛!特点灵活性、逻辑性和功能性非常强可以迅速地用极简单的方式达到字符串的复杂控制正则语法 {代码...} re模块的介绍XM返佣[链接]该模块是python中专门用于处理正则的默认,提供了相关的方法常用方法match、search 只查询一次...
    2020-09-15
  • 比较文本搜索策略 pgsearch、tsvector 和外部引擎
    在应用程序中实现搜索功能时,您需要选择合适的文本搜索方法。本指南比较了 PostgreSQL 的内置搜索引擎tsvector、pg_search扩展程序和外部搜索引擎,以帮助您选择最符合需求的选项。
    2025-05-16