新页面

新页面
隐藏注册用户 | 隐藏机器人 | 显示重定向
  • 2024年5月7日 (二) 03:49Stable Diffusion历史 | 编辑) ‎[4,067字节]Riguz讨论 | 贡献 (创建页面,内容为“ = Dockerfile= <syntaxhighlight lang="dockerfile"> FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04 RUN sed -i 's|http://ports.ubuntu.com/|https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/|g' /etc/apt/sources.list /etc/apt/sources.list && \ apt update && \ apt install -y build-essential cmake wget git python3 python3-pip sudo RUN pip3 install jupyterlab RUN apt-get install -y openssh-client openssh-server && \ mkdir -p /var/run/sshd && \ sed -…”)
  • 2024年4月18日 (四) 08:53Gitea installation历史 | 编辑) ‎[1,117字节]Riguz讨论 | 贡献 (创建页面,内容为“<syntaxhighlight lang="bash"> helm repo add gitea-charts https://dl.gitea.com/charts/ helm install gitea gitea-charts/gitea -f values.yaml -n gitea </syntaxhighlight> values.yaml: <syntaxhighlight lang="yaml"> redis-cluster: enabled: false postgresql: enabled: true postgresql-ha: enabled: false persistence: enabled: true ingress: enabled: true className: nginx hosts: - host: agent-git.ksord.com paths: - pathType: Prefix…”)
  • 2024年4月9日 (二) 06:16Kubernetes installation历史 | 编辑) ‎[17,521字节]Riguz讨论 | 贡献 (创建页面,内容为“= Ubuntu 22.04 = <syntaxhighlight lang="bash"> </syntaxhighlight>”)
  • 2024年4月7日 (日) 09:48EBPF历史 | 编辑) ‎[1,847字节]Riguz讨论 | 贡献 (创建页面,内容为“BPF(Berkeley Packet Filter),中文翻译为伯克利包过滤器,是类 Unix 系统上数据链路层的一种原始接口,提供原始链路层封包的收发。1992 年,Steven McCanne 和 Van Jacobson 写了一篇名为《BSD 数据包过滤:一种新的用户级包捕获架构》的论文。在文中,作者描述了他们如何在 Unix 内核实现网络数据包过滤,这种新的技术比当时最先进的数据包过滤技术快 20 倍…”)
  • 2024年3月26日 (二) 08:45Linux install AppImage历史 | 编辑) ‎[422字节]Riguz讨论 | 贡献 (创建页面,内容为“<syntaxhighlight lang="bash"> mkdir ~/Applications cd ~/Applications wget https://inkscape.org/gallery/item/44616/Inkscape-091e20e-x86_64.AppImage chmod u+x Inkscape-091e20e-x86_64.AppImage </syntaxhighlight> <ref>https://docs.appimage.org/user-guide/faq.html#question-where-do-i-store-my-appimages</ref> Category:Linux/Unix”)
  • 2024年3月20日 (三) 03:36JDK new features历史 | 编辑) ‎[75字节]Riguz讨论 | 贡献 (创建页面,内容为“=JDK 22= =JDK 21= =JDK 17= =JDK 11= Category:JDK Category:Java”)
  • 2024年3月8日 (五) 03:51Linux Mint shortcuts历史 | 编辑) ‎[350字节]Riguz讨论 | 贡献 (创建页面,内容为“Move window to side of screen: Win + ←/↑/→/↓ Switch workspace: Ctrl + Alt + ←/↑/→/↓ Category:Linux/Unix”)
  • 2024年3月8日 (五) 02:17Linux change console font历史 | 编辑) ‎[1,665字节]Riguz讨论 | 贡献 (创建页面,内容为“ /etc/default/console-setup <syntaxhighlight lang="bash"> CHARMAP="UTF-8" CODESET="Lat7" FONTFACE="Terminus" FONTSIZE="28x14" </syntaxhighlight> <syntaxhighlight lang="bash"> sudo dpkg-reconfigure console-setup </syntaxhighlight> Category:Linux/Unix”)
  • 2024年2月29日 (四) 14:0269.Sqrt(x)历史 | 编辑) ‎[1,195字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=sqrtx |no=69 |difficulty=Easy |category=Math |collection=Top 150 |title=Sqrt(x) |summary=Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well.}} You must not use any built-in exponent function or operator. For example, do not use pow(x, 0.5) in c++ or x ** 0.5 in python. Example 1: <syntaxhighlight lang="bash"> Input: x = 4 Output:…”)
  • 2024年2月27日 (二) 14:35219.Contains Duplicate II历史 | 编辑) ‎[1,911字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=triangle |no=219 |difficulty=Medium |category=Array |collection=Top 150 |title=Contains Duplicate II |summary=Given an integer array nums and an integer k, return true if there are two distinct indices i and j in the array such that nums[i] == nums[j] and abs(i - j) <= k.}} Example 1: <syntaxhighlight lang="bash"> Input: nums = [1,2,3,1], k = 3 Output: true </syntaxhighlight> Example 2: <syntaxhighlight lang="bash"> Input: nums =…”)
  • 2024年2月20日 (二) 01:55WebRTC历史 | 编辑) ‎[3,274字节]Riguz讨论 | 贡献 (创建页面,内容为“WebRTC (Web Real-Time Communication) is a free and open-source project providing web browsers and mobile applications with real-time communication (RTC) via application programming interfaces (APIs). It allows audio and video communication to work inside web pages by allowing direct peer-to-peer communication, eliminating the need to install plugins or download native apps. 600px<ref>https://www.wowza.com/blog/webrtc-server-what-it-is-a…”)
  • 2024年2月19日 (一) 15:56392.Is Subsequence历史 | 编辑) ‎[1,292字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=is-subsequence |no=392 |difficulty=Easy |category=String |collection=Top 150 |title=Is Subsequence |summary=Given two strings s and t, return true if s is a subsequence of t, or false otherwise.}} A subsequence of a string is a new string that is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (i.e., "ace" is a subsequence of "ab…”)
  • 2024年2月19日 (一) 15:2028.Find the Index of the First Occurrence in a String历史 | 编辑) ‎[2,192字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=find-the-index-of-the-first-occurrence-in-a-string |no=28 |difficulty=Easy |category=String |collection=Top 150 |title=Find the Index of the First Occurrence in a String |summary=Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.}} == State Machine == {{Submission|runtime=1ms|memory=41.15MB|rp=36.32|mp=87.80}} <syntaxhighlight lang="java">…”)
  • 2024年2月19日 (一) 14:3558.Length of Last Word历史 | 编辑) ‎[2,392字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=length-of-last-word |no=58 |difficulty=Easy |category=String |collection=Top 150 |title=Length of Last Word |summary=Given a string s consisting of words and spaces, return the length of the last word in the string.}} A word is a maximal substring consisting of non-space characters only. Example 1: <syntaxhighlight lang="bash"> Input: s = "Hello World" Output: 5 </syntaxhighlight> Explanation: The last word is "World" with length…”)
  • 2024年2月19日 (一) 14:01169.Majority Element历史 | 编辑) ‎[2,770字节]Riguz讨论 | 贡献 (创建页面,内容为“=Description= {{LeetCode |id=majority-elemen |no=169 |difficulty=Easy |category=Array |collection=Top 150 |title=Majority Element |summary=Given an array nums of size n, return the majority element..}} The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists in the array. Example 1: <syntaxhighlight lang="bash"> Input: nums = [3,2,3] Output: 3 </syntaxhighlight> Example 2: <syntaxhi…”)