我正在安装一个库,并收到此错误消息:
xxxx@ubuntu$ make
(cd num; make all)
make[1]: Entering directory `/home/xxxx/num'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/xxxx/num'
(cd itv; make all)
make[1]: Entering directory `/home/xxxx/itv'
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -O3 -DNDEBUG -I../num -I../apron -I/usr/include -I/usr/include -DNUM_MPQ -c -o itvMPQ.o itv.c
In file included from itv.h:9:0,
from itv.c:5:
../num/num.h:15:17: fatal error: gmp.h: No such file or directory
compilation terminated.
make[1]: *** [itvMPQ.o] Error 1
make[1]: Leaving directory …
Run Code Online (Sandbox Code Playgroud) 我想分析Excel文件,特别是那些包含VBA程序的文件.因为我打算逐个对大量的Excel文件进行分析,我不想在Microsoft Excel中打开这些文件来分析它们.
一个难点是查找和解析Excel文件的VBA宏.我们知道可以将Excel文件转换为.zip
包含大量文件的文件,.xml
并且vbaProject.bin
很可能确定VBA宏在其中vbaProject.bin
.但问题是如何阅读呢?
有谁知道是否有任何工具或API来查找和解析VBA宏?
有谁知道是否有任何工具或API可供阅读vbaProject.bin
?
我在进行“酿造清理”时遇到错误:
$ brew cleanup
Warning: Skipping opam: most recent version 2.0.3 not installed
Warning: Skipping python: most recent version 3.7.2_2 not installed
Warning: Skipping sqlite: most recent version 3.27.1 not installed
Error: Permission denied @ unlink_internal - /usr/local/lib/node_modules/@angular/cli/node_modules/.bin/in-install
Run Code Online (Sandbox Code Playgroud)
有谁知道如何解决这一问题?
PS:brew link node
返回错误,尽管我不知道是否相关。
$ brew install node
Warning: node 11.9.0 is already installed, it's just not linked
You can use `brew link node` to link this version.
$ brew link node
Linking /usr/local/Cellar/node/11.9.0...
Error: Could not symlink include/node/common.gypi
Target …
Run Code Online (Sandbox Code Playgroud) 我的开发人员犯了一个严重的错误,我们在服务器中找不到任何人的mongo数据库。请营救!!!
他登录到服务器,并将以下shell保存在下~/crontab/mongod_back.sh
:
然后他奔跑./mongod_back.sh
,然后有很多permission denied
,然后他做了Ctrl+C
。然后服务器自动关闭。
他尝试重新启动服务器,然后出现grub错误:
然后,他联系了AliCloud,工程师将磁盘连接到另一台工作服务器,以便他可以检查磁盘。然后,他意识到有些文件夹已经消失了,包括/data/
mongodb所在的位置!!!
1)我们只是不了解bash如何破坏磁盘,包括/data/
;
2)当然,有可能得到/data/
回报吗?
PS:他之前没有为磁盘制作快照。
filesystems bash disaster-recovery data-recovery ubuntu-14.04
我在列中有布尔值:
A
1 TRUE
2 FALSE
3 TRUE
4 TRUE
Run Code Online (Sandbox Code Playgroud)
我意识到在Excel中=TRUE+TRUE
返回2
并=TRUE+FALSE
返回1
暗示TRUE
等于1
且FALSE
等于0
.但是,无论是否为数组公式样式,SUM(A1:A4)
总是返回0
...我希望它是3
(TRUE
范围内的数字).
获得的一种方法3
是使用{=SUM(IF(A1:A4,1,0))}
(数组公式样式),我发现它是多余的...有人能想到比这更简单的解决方案吗?
我跟着这个答案,使https://localhost:3000/
Chrome浏览器和Mac的工作.今天,它突然不再起作用了.
https://localhost:3000
给出Not Secure
:
Subject Alternative Name Missing
The certificate for this site does not contain a Subject Alternative Name extension containing a domain name or IP address.
Run Code Online (Sandbox Code Playgroud)
我按照前面的步骤重新信任此证书,但没有帮助.然后,我看到了这个答案,我需要重新制作ssl键.
我做v3.ext
:
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
Run Code Online (Sandbox Code Playgroud)
然后,
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -sha256 -extfile v3.ext
Run Code Online (Sandbox Code Playgroud)
然而,它返回
unknown option -extfile
req [options] <infile >outfile
where options …
Run Code Online (Sandbox Code Playgroud) 我有一条线(server-start)
在我的.emacs
一些原因.当我启动第一个Emacs会话时一切都很好,但是当我打开另一个会话时,有一个缓冲区显示:
Warning (server): Unable to start the Emacs server.
There is an existing Emacs server, named "server".
To start the server in this Emacs process, stop the existing
server or call `M-x server-force-delete' to forcibly disconnect it.
Run Code Online (Sandbox Code Playgroud)
由于我经常打开几个Emacs,我想知道是否可以修改`.emacs'文件以便在开始时避免这个消息.
有人可以帮忙吗?非常感谢你!
我在Emacs下编写OCaml,我makefile
在工作文件夹中有一个,以及包含.ml
文件的几个子文件夹.如果我在缓冲区上启动M-x compile
并make
正常工作makefile
,但在.ml
文件缓冲区上不起作用,则会给出错误:
-*- mode: compilation; default-directory: "..." -*-
Compilation started at Fri Jan 27 18:51:35
make -k
make: *** No targets specified and no makefile found. Stop.
Compilation exited abnormally with code 2 at Fri Jan 27 18:51:35
Run Code Online (Sandbox Code Playgroud)
这是可以理解的,因为default-directory是不包含的子文件夹makefile
.有谁知道如何将makefile
always 的文件夹设置为编译的默认目录?
我只是想与做的非常简单的代码set-car!
,并set-cdr!
在racket
,但我得到了错误:expand: unbound identifier in module in: set-car!
与expand: unbound identifier in module in: set-cdr!
它们不是定义的racket
吗?有人可以帮忙吗?