火舞之光
火舞之光
关注数: 1
粉丝数: 38
发帖数: 710
关注贴吧数: 13
ow2和cs2哪个优化好? 同1080p最低画质哪个帧数高?
笔记本电脑突然功耗变低变卡 而且还不停切换性能模式,就是按fn+q的效果
笔记本电脑打游戏偶然突然掉到只有几w的的功耗 温度也不高最高才80几度,平均大约70几度,功耗30几w,这是什么问题,火影众颜u4 6800h
如何使用透镜看清5cm距离的物体 使用的透镜直径不超过4cm,有种极高ppi的屏幕技术mirco-oled,能在不到1英寸的屏幕实现1080p的分辨率,常用于头戴显示器,但普遍卖的都很贵,该如何制作一种简易的镜头,能提供最基础的画面,不考虑轻微的画面边缘模糊畸变
要是能推出价格更低的单目显示器就好了 除了看3d电影,双眼分别看两个屏幕好像没什么用,难道能提高清晰度吗? 如果是单目显示器有两个好处,一来降低成本,二来用悬臂调整位置就可以既能用左眼又能用右眼,平摊用眼时间来缓解眼疲劳 显示器屏幕比例最好是4:3而不是16:9,因为更符合单眼视野范围
goovis air能单眼显示吗? air有两个oled显示屏吧,各1080p,我的电脑是核显带2个1080p负载有点大,windows系统是否能将其视作2个独立显示器从而单独开启吗?我用的时候只睁一只眼
为什么gentoo在引导顺序选项不可见
安装后的系统卡在这了 我把以前能正常运行的内核版本(6.6.62)放入EFI/Gentoo/里也会有相同的问题。 此外,运行make install所生成的vmlinuz(我想安装6.6.67)没有版本号,而以前是有的。编译的时候出现缺少头文件的错误,我通过export C_INCLUDE_PATH的方式解决了,但我以前装系统编译就没出过这个错误,不知道为什么现在就有了
众颜u4 6800h该装什么驱动? 火影驱动官网里的u4、u4b/c、u4d分别代表什么机型?
火影众颜u4笔记本uefi只能识别fat32的u盘吗? 做win10安装盘 超过4g怎么办
BIOS不能自定义显存大小 众颜u4 6800h,有和我一样的问题吗,要么只能自定义2g,要么auto,调成1g保存不了
价格低于200元纯有线小手鼠标有那些? 性能不低于罗技g102
价格低于200元纯有线小手鼠标有那些? 性能不低于罗技g102
价格低于200元纯有线小手鼠标有那些? 性能不低于罗技g102
snap卸载steam太久 前几天游戏还能启动,今天所有游戏就不行了,所以打算重装,它是不是会卸载通过steam安装的游戏?有个任务一直在读取磁盘。
linux游戏分辨率太低 屏幕分辨率2560*1600,sway,firefox分辨率正常,但steam,以及游戏分辨率最高1280*800. OS gentoo linux
dota2打不开 点击开始游戏,按钮变成停止,之后又变回开始游戏 ERROR: ld.so: object '/usr/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. steam.sh[7305]: Running Steam on gentoo 1.0.0.78-r1 64-bit steam.sh[7305]: STEAM_RUNTIME is enabled by the user ERROR: ld.so: object '/usr/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. setup.sh[7374]: Steam runtime environment up-to-date ERROR: ld.so: object '/usr/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. run.sh[7386]: STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 is deprecated, and no longer has an effect. ERROR: ld.so: object '/usr/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. steam.sh[7305]: Steam client's requirements are satisfied
firefox可以浏览网页不能下载 下载项直接失败
众颜u4 6800h版的解码器声卡和触摸板型号是什么 我装了linux,但没声音,触摸板失灵但不知道具体型号是什么
连不上无线网 我用寝室里的无线网,它不用输密码,但要用手机号注册,所以需要打开浏览器。 我就想开手机热点来免去这个过程,也没设密码。
我买的众颜u4 6800h版左边USB接口不能识别U盘 但可以带动鼠标,右边USB接口都可以。有人和我遇到相同的问题吗?
/var/db/repos/gentoo目录下是空的,导致运行eselect报错 按官方教程安装系统出错运行emerge --sync也报错,这是不是网络被墙了?
适用于大多数英雄的一级刚正面出门装是什么? 仙灵之火,树枝,树之祭祀,系带/挂件/护腕,毒球+枯萎之石等等,600该如何搭配能不怕与别人硬刚?
视野外击杀的野怪会有钱吗 黑暗贤者,把离子外壳放在野怪上面,就回到线上,这样能有钱吗?
gdb和gdb-multiarch有什么区别? 这是源码地址:http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgitee.com%2Funicornx%2Friscv-operating-system-mooc.&urlrefer=b4cbbd22866f033056805f71fae7bf13 在riscv-operating-system-mooc/code/os/04-multitask目录下,我运行make debug.从Makefile发现是用gdb-multiarch调试,gentoo没这个软件包,但有个multitarget USE flag,于是改成gdb,刚开始可以对start.S进行调试,可换个文件entry.S调试就不行了,出现提示:The program is not being run.
gdb和gdb-multiarch有什么区别? 这是源码地址:http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgitee.com%2Funicornx%2Friscv-operating-system-mooc.&urlrefer=b4cbbd22866f033056805f71fae7bf13 在riscv-operating-system-mooc/code/os/04-multitask目录下,我运行make debug.从Makefile发现是用gdb-multiarch调试,gentoo没这个软件包,但有个multitarget USE flag,于是改成gdb,刚开始可以对start.S进行调试,可换个文件entry.S调试就不行了,出现提示:The program is not being run.
gitee如何给别人的代码提交修改? git push origin出现以下提示: Username for 'xxx' Password for 'xxx': remote: [session-aa473e85] Access denied fatal: 无法访问 'http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgitee.com%2Funicornx%2Friscv-operating-system-mooc.git%2F&urlrefer=a510223049ce962ffa769f203778f88b':The requested URL returned error: 403 这是拒绝接受代码吗,是要输自己的gitee Username和Password? gitee网站中pull request出现提示:必须选择不同分支,但他就只有一个main,无法选其它分支. 是不是先要把代码上传到我的gitee仓库中才能把修改提交给他?
有成功在wayland下使用fcitx输入中文的吗 运行环境为sway+alacritty,LANG设置为zh_CN,会出现字体重叠的情况,而en_US可以显示中文且字体不会重叠,下载软件包名为fcitx-rime,以下是fcitx-diagnose结果: # System Info:1. `uname -a`: Linux gentoo 5.10.76-gentoo-r1 #5 SMP Sat Nov 13 07:45:25 -00 2021 x86_64 AMD Ryzen 3 2200G with Radeon Vega Graphics AuthenticAMD GNU/Linux2. `lsb_release`: `lsb_release` not found.3. `/etc/lsb-release`: `/etc/lsb-release` not found.4. `/etc/os-release`: NAME=Gentoo ID=gentoo PRETTY_NAME="Gentoo/Linux" ANSI_COLOR="1;32" HOME_URL="http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fwww.gentoo.org%2F&urlrefer=e30cf9a59dc7446a5aec3a7fbd099b6a" SUPPORT_URL="http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fwww.gentoo.org%2Fsupport%2F&urlrefer=80b899b834838c304a510b75c5323360" BUG_REPORT_URL="http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fbugs.gentoo.org%2F&urlrefer=a64583abe28a32b1e6e8213f41951fdb"5. Desktop Environment: Cannot determine desktop environment.6. Bash Version: BASH_VERSION='5.1.8(1)-release'# Environment:1. DISPLAY: DISPLAY=':0'2. Keyboard Layout: 1. `setxkbmap`: `setxkbmap` not found. 2. `xprop`: `xprop` not found.3. Locale: 1. All locale: C C.utf8 en_US.utf8 POSIX zh_CN.gbk zh_CN.utf8 2. Current locale: LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=4. Directories: 1. Home: /home/abc 2. `${XDG_CONFIG_HOME}`: Environment variable `XDG_CONFIG_HOME` is not set. Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/abc/.config`). 3. Fcitx Settings Directory: Current fcitx settings directory is `~/.config/fcitx` (`/home/abc/.config/fcitx`).5. Current user: The script is run as abc (1000).# Fcitx State:1. executable: Found fcitx at `/usr/bin/fcitx`.2. version: Fcitx version: `4.2.9.7`3. process: **Fcitx is not running.** **Please check the Configure link of your distribution in [Beginner's Guide](http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Ffcitx-im.org%2Fwiki%2FBeginner%2527s_Guide&urlrefer=7d68be32f76db8c319b85614e4e3ccdf) for how to setup fcitx autostart.**# Fcitx Configure UI:1. Config Tool Wrapper: Found fcitx-configtool at `/usr/bin/fcitx-configtool`.2. Config GUI for gtk2: **Config GUI for gtk2 not found.**3. Config GUI for gtk3: **Config GUI for gtk3 not found.**4. Config GUI for kde: **`kcmshell4` not found.** **Cannot find a GUI config tool, please install one of `kcm-fcitx`, `fcitx-config-gtk2`, or `fcitx-config-gtk3`.**# Frontends setup:## Xim:1. `${XMODIFIERS}`: Environment variable XMODIFIERS is set to "@im=fcitx" correctly. Xim Server Name from Environment variable is fcitx.2. XIM_SERVERS on root window: **`xprop` not found.**## Qt:1. qt4 - `${QT4_IM_MODULE}`: Environment variable QT_IM_MODULE is set to "fcitx" correctly.2. qt5 - `${QT_IM_MODULE}`: Environment variable QT_IM_MODULE is set to "fcitx" correctly.3. Qt IM module files: **Cannot find fcitx input method module for Qt4.** **Cannot find fcitx input method module for Qt5.**## Gtk:1. gtk - `${GTK_IM_MODULE}`: Environment variable GTK_IM_MODULE is set to "fcitx" correctly.2. `gtk-query-immodules`: 1. gtk 2: **Cannot find `gtk-query-immodules` for gtk 2** **Cannot find fcitx im module for gtk 2.** 2. gtk 3: Found `gtk-query-immodules` for gtk `3.24.29` at `/usr/bin/gtk-query-immodules-3.0`. Version Line: # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.29 Found fcitx im modules for gtk `3.24.29`. "/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 3. Gtk IM module cache: 1. gtk 2: **Cannot find immodules cache for gtk 2** **Cannot find fcitx im module for gtk 2 in cache.** 2. gtk 3: Found immodules cache for gtk `3.24.29` at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`. Version Line: # Created by /usr/bin/x86_64-pc-linux-gnu-gtk-query-immodules-3.0 from gtk+-3.24.29 Found fcitx im modules for gtk `3.24.29`. "/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx.so" "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 4. Gtk IM module files: 1. gtk 2: All found Gtk 2 immodule files exist. 2. gtk 3: All found Gtk 3 immodule files exist.# Configuration:## Fcitx Addons:1. Addon Config Dir: Found fcitx addon config directory: `/usr/share/fcitx/addon`.2. Addon List: 1. Found 27 enabled addons: fcitx-autoeng fcitx-chttrans fcitx-classic-ui fcitx-clipboard fcitx-dbus fcitx-freedesktop-notify fcitx-fullwidth-char fcitx-imselector fcitx-ipc fcitx-ipcportal fcitx-keyboard fcitx-kimpanel-ui fcitx-notificationitem fcitx-pinyin fcitx-pinyin-enhance fcitx-punc fcitx-quickphrase fcitx-remote fcitx-rime fcitx-spell fcitx-table fcitx-unicode fcitx-vk fcitx-x11 fcitx-xim fcitx-xkb fcitx-xkbdbus 2. Found 1 disabled addons: fcitx-qw3. Addon Libraries: All libraries for all addons are found.4. User Interface: Found 2 enabled user interface addons: fcitx-classic-ui fcitx-kimpanel-ui## Input Methods:1. Found 1 enabled input methods: fcitx-keyboard-us2. Default input methods: You only have one keyboard input method enabled. You may want to add another input method to input other languages.# Log:1. `date`: Thu Nov 18 12:07:13 PM -00 20212. `~/.config/fcitx/log/`: total 4 -rw-r--r-- 1 abc abc 639 Nov 18 10:03 crash.log3. `~/.config/fcitx/log/crash.log`: ========================= FCITX 4.2.9.7 -- Get Signal No.: 11 Date: try "date -d @1637229795" if you are using GNU date *** ProcessID: 4934 fcitx(+0x193d)[0x56013356093d] /lib64/libc.so.6(+0x386c0)[0x7f685cdb66c0] /usr/lib64/libdbus-1.so.3(dbus_watch_get_enabled+0x0)[0x7f685c4a8570] /usr/lib64/fcitx/fcitx-dbus.so(+0x27c1)[0x7f685c4d57c1] /usr/lib64/fcitx/fcitx-dbus.so(+0x299f)[0x7f685c4d599f] /usr/lib64/libfcitx-core.so.0(+0xb2c6)[0x7f685cf902c6] /usr/lib64/libfcitx-core.so.0(FcitxInstanceRun+0x5f)[0x7f685cf90b5f] fcitx(+0x12cf)[0x5601335602cf] /lib64/libc.so.6(__libc_start_main+0xcd)[0x7f685cda17ed] fcitx(+0x135a)[0x56013356035a] 以下是fcitx运行结果: (INFO-18308 addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-dbus.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-qw.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-ipcportal.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-spell.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-chttrans.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-x11.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-unicode.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-punc.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-clipboard.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-xim.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-table.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-keyboard.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-pinyin-enhance.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-vk.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-rime.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-pinyin.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-imselector.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-autoeng.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-ipc.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-remote-module.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-quickphrase.conf(INFO-18308 addon.c:151) Load Addon Config File:fcitx-xkb.conf(WARN-18308 dbusstuff.c:248) DBus Service Already Exists(ERROR-18308 instance.c:443) Exiting.
乱码且有空格的文件如何在字符终端处理?
startx运行失败 以下是错误提示: could not resolve keysym XF86LeftUp ... Error from xkbcomp are fatal to the X server xinit:connection to X server lost
误删net.lo文件怎么办 如何还原,重启有用吗
不能安装软件了 很长一段时间没更新,后来更新出现了很多依赖问题,我删了一些软件,打算之后重装,但还有问题
ddepend bdepend pdepend depend的具体含义? 是谁依赖谁?我在ebuild文件和gentoo package信息查询网站查询依赖关系,看不懂这张表更新软件出现以下问题: * Error: circular dependencies: (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) depends on (sys-libs/libxcrypt-4.4.25:0/1::gentoo, ebuild scheduled for merge) (runtime) (dev-lang/perl-5.34.0-r3:0/5.34::gentoo, ebuild scheduled for merge) (buildtime) (virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
200左右8g内存条有推荐的吗? 我现在用的处理器是r3 2200g 主板是华擎a320m-hdv, 最好能超频到3200mhz,以后升级处理器和主板还能接着用,我在淘宝上搜到209元光威奕3000,用的长鑫颗粒,我看颗粒天梯图它比1cr要强,打算买它,同价位能买到更好的内存吗?
200左右8g内存条有推荐的吗? 我现在用的处理器是r3 2200g 主板是华擎a320m-hdv, 最好能超频到3200mhz,以后升级处理器和主板还能接着用,我在淘宝上搜到209元光威奕3000,用的长鑫颗粒,我看颗粒天梯图它比1cr要强,打算买它,同价位能买到更好的内存吗?
为什么路由器一直在下载 但我查找连接到路由器的设备的流量却不高
电蚊拍不能充电,是不是电阻坏了? 充电指示灯也不亮,拆开后发现一个电阻有黑色印记,好像是坏了,坏的多少阻值的电阻,我不懂电路
为什么插千兆网口但路由器速率只有10mbps? 我把可以联入互联网但不支持无线的移动路由器与另一个支持无线的电信路由器的千兆网口用网线连接,可以上网但速度明显慢而且不稳定,有什么办法设置成100m的速度吗,我没看到设置选项,是自动协商的吗?我对与移动路由器有线连接的台式电脑进行测速也有100mbps,而与电信路由器无线连接的手机只有10mbps。
为什么插千兆网口但路由器显示只有10m 我把可以联入互联网但不支持无线的移动路由器与另一个支持无线的电信路由器的千兆网口用网线连接,可以上网但速度明显慢而且不稳定,有什么办法设置成100m的速度吗,我没看到设置选项,是自动协商的吗?
有办法把移动路由器的光纤信号转发到另一个电信路由器上吗? 两个路由器都是办宽带时送的,后来换成移动,但移动路由器不支持无线,电信路由器可以,路由器要如何设置才能用电信路由器无线上网?
为什么内存条不一样 在右边,一根是白色元件的,另一个是黑色的
诺基亚6二代不能正常启动了 连接充电器不显示电池画面,音量加键与开关键一起长按会一直显示powered by android图案但不能进入recovery模式,而长按音量减键与开关键,左上角会显示download mode字符,我想恢复出厂设置,还有办法吗
能够在x86平台用gdb调试arm二进制代码吗? 如何设置gdb
有会用patch命令的人吗 用patch命令来更新源码,但我运行patch -p1 < /home/patch/patch-4.4.196-rc1出现以下提示:patching file Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej patching file arch/arm/mm/fault.c Reversed (or previously applied) patch detected! Assume -R? 这是patch-4.4.196-rc1开头的内容: diff --git a/Makefile b/Makefile index 721fa569a680..74857b56e08a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 195 -EXTRAVERSION = +SUBLEVEL = 196 +EXTRAVERSION = -rc1 NAME = Blurry Fish Butt # *DOCUMENTATION* diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 0d20cd594017..702a5542b11a 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -211,7 +211,7 @@ static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) { unsigned int mask = VM_READ | VM_WRITE | VM_EXEC; - if (fsr & FSR_WRITE) + if ((fsr & FSR_WRITE) && !(fsr & FSR_CM)) mask = VM_WRITE; if (fsr & FSR_LNX_PF) mask = VM_EXEC; @@ -281,7 +281,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) if (user_mode(regs)) flags |= FAULT_FLAG_USER; - if (fsr & FSR_WRITE) + if ((fsr & FSR_WRITE) && !(fsr & FSR_CM)) flags |= FAULT_FLAG_WRITE;
有没有办法将不同版本的linux源码合并 分别从不同的git来源获取的代码有办法合并吗?有些代码是单独某个版本独有的,如何将其合到一起?
这个shell脚本应该怎么写? 先各自筛选出两个文本文件中的大写字符,并做比较,再筛选出单独存在于某一文件中的内容。
你们装的gentoo /dev目录下有没有ttyS*或ttyUSB*? 其它的linux开发板有这个文件,可以用minicom与嵌入式开发板串口通信,但我的gentoo没有,是我配置有问题吗?
/dev目录下没有ttys*文件是怎么回事? 操作系统是gentoo linux,我买了个开发板,想用串口进行通讯。在windows下用putty可以正常运行。
我买的tf卡是不是有问题? 我买的是32g的,想把它装在开发板上,用的linux系统,按照http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fwiki.radxa.com%2FRockpiS%2Fgetting_started&urlrefer=6081ff522dfd706774b4cec0017a66e9这个网站提供的教程写入系统镜像后,用df -h查看容量就只有几百mb了,但我把它装到手机上再格式化后又显示为32g,把一些文件复制到sd卡上也是正常的,但用第三方文件管理器又不行了,这是怎么回事
我写了一个搜索linux源码配置选项的脚本 但发现有bug,有时会出现显示内容行数不正确的情况,有人可以改进一下吗? #!/bin/bash #使用方式:(脚本名)(linux源码顶层目录)(config 配置选项名) a=$(find $1 -name "Kconfig"|xargs grep -inw "$2") #搜索所有Kconfig找到匹配选项 b=${a%:*} c=${b%:*} #echo $c #c:筛选grep找到的目录 d=${b#*:} #echo $d #d:筛选grep找到的行数 g=$(tail -n +$d $c|head -n 50|grep -in -P "\thelp"|sed -n '1p') #echo $g #g:确定help所在行(相对config行数) h=${g%:*} #h:筛选g e=$(tail -n +$d $c|head -n 50|grep -inw "^config"|sed -n '2p') #e:确定下一个config开头的行数 f=${e%:*} #f:筛选e i=$(expr $d + $h) #i:把需要查找的config行数与help行数相加得到绝对行数 tail -n +$d $c|head -n $h #显示config到help之间的内容(带换行符) echo $(tail -n +$i $c|head -n $h) #显示help到下一个config的内容(不带换行符)
如何搜索截取特定字符串? 有如下文本: config KEXEC_CORE bool config OPROFILE tristate "OProfile system profiling" depends on PROFILING depends on HAVE_OPROFILE select RING_BUFFER select RING_BUFFER_ALLOW_SWAP help OProfile is a profiling system capable of profiling the whole system, include the kernel, kernel modules, libraries, and applications. If unsure, say N. config OPROFILE_EVENT_MULTIPLEX bool "OProfile multiplexing support (EXPERIMENTAL)" default n depends on OPROFILE && X86 help The number of hardware counters is limited. The multiplexing feature enables OProfile to gather more events than counters are provided by the hardware. This is realized by switching between events at an user specified time interval. If unsure, say N. config HAVE_OPROFILE bool 比如说搜索OPROFILE,就可以把OPROFILE所在行到下个config开头的行之间的内容显示在字符终端上
如何搜索截取特定字符串? 有如下文本: config KEXEC_CORE bool config OPROFILE tristate "OProfile system profiling" depends on PROFILING depends on HAVE_OPROFILE select RING_BUFFER select RING_BUFFER_ALLOW_SWAP help OProfile is a profiling system capable of profiling the whole system, include the kernel, kernel modules, libraries, and applications. If unsure, say N. config OPROFILE_EVENT_MULTIPLEX bool "OProfile multiplexing support (EXPERIMENTAL)" default n depends on OPROFILE && X86 help The number of hardware counters is limited. The multiplexing feature enables OProfile to gather more events than counters are provided by the hardware. This is realized by switching between events at an user specified time interval. If unsure, say N. config HAVE_OPROFILE bool 比如说搜索OPROFILE,就可以把OPROFILE所在行到下个config开头的行之间的内容显示在字符终端上
如何把一个远程仓库的文件上传到另一个远程仓库 git remote -v linux-github
[email protected]
:startfan/linux.git (fetch) linux-github
[email protected]
:startfan/linux.git (push) origin http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git&urlrefer=13e73ef21ecfa521d950eaa54920a089 (fetch) origin http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git&urlrefer=13e73ef21ecfa521d950eaa54920a089 (push) 文件是用git clone从origin下载的,如何把文件再上传到linux-github,运行git push linux-github会出现如下错误: 枚举对象: 65588, 完成. 对象计数中: 100% (65588/65588), 完成. 使用 4 个线程进行压缩 压缩对象中: 100% (59815/59815), 完成. 写入对象中: 100% (65588/65588), 176.22 MiB | 2.83 MiB/s, 完成. 总共 65588(差异 4858),复用 65588(差异 4858),包复用 0 remote: Resolving deltas: 100% (4858/4858), done. To github.com:startfan/linux.git ! [remote rejected] linux-4.19.y -> linux-4.19.y (shallow update not allowed) error: 推送一些引用到 '
[email protected]
:startfan/linux.git' 失败
为什么git clone不能用远程仓库名 以下命令有什么问题: git remote add linux http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git&urlrefer=13e73ef21ecfa521d950eaa54920a089 git clone linux --depth 1 --branch linux-4.19.y fatal: 仓库 'linux' 不存在 下面这条命令却成功了, git clone http://tieba.baidu.com/mo/q/checkurl?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git+&urlrefer=c97b28c30f159b282b592d2d35f3e105 --depth 1 --branch linux-4.19.y 正克隆到 'linux'... remote: Enumerating objects: 65589, done. remote: Counting objects: 100% (65589/65589), done. remote: Compressing objects: 100% (63731/63731), done.
有没有下载速度快的linux源码git地址 而且可以只下载特定版本的源码
gentoo更新开销大的问题有办法解决吗? 每次更新,软件源码的改动可能不到1%,却要下载完整的源码,有没有办法解决这个问题
这是舌下腺囊肿吗
口腔有肿块是怎么回事
如何查询特定手机型号的MIUI更新日志? 我用的是红米7a,我想知道V10.2.14.0.PCMCNXM相较于V10.2.10.0.PCMCNXM更新了什么内容?应该去哪查?
如何查询特定手机型号的MIUI更新日志? 我用的是红米7a,我想知道V10.2.14.0.PCMCNXM相较于V10.2.10.0.PCMCNXM更新了什么内容?应该去哪查?
1
下一页