我有一台戴尔 Latitude E6410 笔记本电脑,它会根据环境光线水平改变 lcd 光强度,因此它必须有一些光电管。我怎样才能从这个光电管访问数据?我尝试了不同的谷歌搜索,如照度计、光强度监视器等,但没有找到一个正确的东西。
我想应用此补丁,因此我复制了以“Index: src/options.h”开头并以“+@item”结尾的代码,并将其放入在wget
的源代码文件夹中创建的新文件中。然后我做了:
$ patch -p0 < name_of_patch
(Patch is indented 1 space.)
patching file src/options.h
patch: **** malformed patch at line 6: char **excludes; /* List of excluded FTP directories. */
Run Code Online (Sandbox Code Playgroud)
我应该如何应用这个?
这是我创建的文件的内容:
Index: src/options.h
===================================================================
--- src/options.h (revision 2276)
+++ src/options.h (working copy)
@@ -62,6 +62,8 @@
char **excludes; /* List of excluded FTP directories. */
char **includes; /* List of FTP directories to
follow. */
+ int maxsize; /* Maximum file size (kB) */ …
Run Code Online (Sandbox Code Playgroud) 我有一个奇怪的情况,在一台服务器上我得到以下结果:
vagrant@shopping:/vagrant/deployer-example$ uname -a
Linux shopping 4.19.0-0.bpo.9-amd64 #1 SMP Debian 4.19.118-2+deb10u1~bpo9+1 (2020-06-09) x86_64 GNU/Linux
vagrant@shopping:/vagrant/deployer-example$ bin/php --version
PHP 8.0.3 (cli) (built: Mar 5 2021 08:36:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
vagrant@shopping:/vagrant/deployer-example$ sudo ldd --version
ldd (Debian GLIBC 2.24-11+deb9u4) 2.24
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not …
Run Code Online (Sandbox Code Playgroud)