大师网-带你快速走向大师之路 解决你在学习过程中的疑惑,带你快速进入大师之门。节省时间,提升效率

found(计算机专业术语)

当电脑异常关闭时,在启动时会因查错而产生的整理碎片。当电脑异常关闭时,在启动时会因查错而产生的整理碎片,因此在系统盘(一般的系统盘在C:/)中出现类似FOUND.XXX的文件,非正常关机次数越多,产生的碎片文件也会增多,长期不进行清理工作,容易造成系统磁盘空间的浪费,因此,可按时清理。

docker错误

docker错误 Title: docker问题 Date: 2018-08-16 20:52:31 Category: linux keywords: docekr,docekr问题 总结使用docker中遇到的问题 bash执行不了 操作 docker-compose exec swagger-editor bash 问题 OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown 解决 原因是该容器并没有bash,所以尝试用sh docker-compose exec swagger-ui sh 这样就可以了

Flink standalonesession集群注意事项

/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/bigdata/flink-1.6.0/lib/slf4j-log4j12-1.7.7.jar! 2018-08-14 22:26:48,930 INFO org.apache.hadoop.security.UserGroupInformation - Login successful for user hdfs-flink@dounine.com using keytab file /etc/security/keytabs/hdfs.headless.keytab 2018-08-14 22:26:49,052 WARN org.apache.hadoop.conf.Configuration - hdfs-site.xml:an attempt to override final parameter: dfs.datanode.data.dir; Ignoring.

npm安装create-react-app

path /usr/local/lib/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules\'', npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: 这个意思没有权限 Error: EACCES: permission denied, access '/usr/local/lib/node_modules' npm前 加上sudo即可 sudo npm install -g create-react-app 成功 image.png

CentOS7安装docker无法启动的问题解决

CentOS7安装docker无法启动的问题解决 今天在服务器上安装docker时遇到一些问题。 第一步:yum安装docker; yum install docker 启动docker; systemctl start docker 到这里的时候就报错了,错误信息如下: [huangpeng@centos-linux ~]$ sudo service docker start Redirecting to /bin/systemctl start docker.service Job for docker.service failed because the control process exited with error code.

opencv3.2 单目摄像头的标定与矫正

This program is free software; permission is hereby granted to use, copy, modify, and distribute this source code, or portions thereof, for any purpose, without fee, subject to the restriction that the copyright notice may not be removed or altered from any source or altered source distribution.

Hadoop单词统计

本地创建文本文件 [root@s166 fantj]# mkdir input [root@s166 fantj]# cd input/ [root@s166 input]# echo "hello fantj" file1.txt [root@s166 input]# echo "hello hadoop" file2.txt [root@s166 input]# echo "hello mapreduce" file3.txt [root@s166 input]# ls file1.txt file2.txt file3.txt 2. 将文件上传到hadoop [root@s166 input]# hadoop fs -mkdir /wordcount [root@s166 input]# hadoop fs -ls / Found 1 items drwxr-xr-x - root supergroup 0 2018-07-27 07:51 /wordcount [root@s166 input]# cd .

Shell脚本-控制多主机操作

/bin/bash params=$@ i=166 for((i=166;就给我看这个,它找不到这个命令,那我把它放到/usr/local/bin下 [root@s166 bin]# which java /home/fantj/jdk/bin/java [root@s166 bin]# ln -s /home/fantj/jdk/bin/java java javadoc javah javapackager javaws javac javafxpackager javap java-rmi.cgi [root@s166 bin]# ln -s /home/fantj/jdk/bin/java .

Swift 两数之和 - LeetCode

= j { return [i, j] } } return [] } } 执行用时:24ms 用空间换时间,执行速度快了不少 执行用时 用Swift开始学习算法中,在LeetCode中开始做初级算法这一章节,将做的题目在此做个笔记吧。

No component found for view with name “ARTShape”

No component found for view with name “ARTShape” 在react native中如果遇到你要使用ART,并且遇到报错No component found for view with name “ARTShape” 4.png 1.首先你要找到ART的项目在node_module/react-native中 1.png 2.将ART.xcodeproj文件拖进ios项目中的Libraries文件中 2.png 3.在项目Build Phase中增加libART.a 3.png 4.在Xcode中CMD+B,然后重新运行项目 5.png 5.重新react-native run-ios吧!

服务器暴力破解的程序(python开发)

]exiting: Too many socket timeouts" exit() connection_lock.acquire() #锁定 password = line.strip('\r\n') print "[-] Testing: " +str(password) t = Thread(target = connect(), args=(host, user, password, ports, True)) #启动多线程,并传入方法connet函数 args是函数的参数 if __name__ == '__main__': main() 如果您对服务器暴力破解和Python相关知识有兴趣,可以加群526929231与大神们共同探讨和学习哦!

Scala入门与进阶(二)- Scala入门

Scala入门与进阶(二)- Scala入门 1.val vs var val: 值 final val 值名称:类型 = xxx var: 变量 可变 var 值名称:类型 = xxx 2.Scala 基本数据类型 Byte/Char Short/Int/Long/Float/Double Boolean 类型转换基本操作 scala var d = 1.1 d: Double = 1.1 scala var e:Float = 1.1 :11: error: type mismatch;mkString info: String = "hello " scala lazy val info = fromFile("/Users/markgao/Desktop/hello.txt").

Linux JDK多版本管理

Linux JDK多版本管理 最近给远程Linux装Jenkins,已经预装好JDK 9,但是在安装Jenkins的时候一直出以下错误: 3DF39BE8305CF58C4BD4F2A8E64249D4.jpg 重点是:Found an incorrect Java version.原来是我的Java版本跟它要求的不符(妈蛋,我装的最新的啊! 我只好查了一下我装的版本需求的JDK是什么版本,哦,是JDK8. 8 我也有装啊兄弟!我们是自己人啊!干嘛报错啊! 于是运行: java -version 一检查,openjd

Xcode10 Multiple commands produced error

Edit: I was able to resolve the issue with the new Xcode build system by removing the duplicate info.plist from the Pod by following steps: Solution - Open target Build phase Copy Bundle Resource/Compile Sources removed info.plist from here 问题2:: Images.xcassets: Failed to launch IBCocoaTouchImageCatalogTool via CoreSimulator spawn 直接删掉文件夹暂时可以解决 原文:::https://stackoverflow.com/questions/51071090/multiple-commands-produced-error-xcode-10

okhttp3 出现 .IOException: unexpected end of stream

okhttp3 出现 . 24 more 通过以下方法来构建出 OkHttpClient,一般就不会出现上面的问题啦: private OkHttpClient buildHttpClient() { return new OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS). } 这里通过 Builder 对 OkHttpClient 进行以下设置: retryOnConnectionFailure - 当连接失败,尝试重连。 connectTimeout - 设置连接超时时间,这里设置为 30 s。

react-native-vector-icons报错问题

android.js|.native.js|.android.json|.native.json|.json)` 解决问题第一大法,去github上找到这个项目的issues中,在https://github.com/oblador/react-native-vector-icons/issues/626中看到了解决方案: 在项目的根目录下,执行一下如下代码就OK了 rm .

Kerberos 命令使用

defaulting to no policy Enter password for principal "test1@EXAMPLE.COM": 123456 Re-enter password for principal "test1@EXAMPLE.COM": 123456 Principal "test1@EXAMPLE.COM" created. 删除用户 [root@dounine ~]# kadmin.local Authenticating as principal root/admin@EXAMPLE.COM with password. kadmin.local: delete_principal test1 Are you sure you want to delete the principal "test1@EXAMPLE.COM"?

symbol(s) not found for architecture arm64

symbol(s) not found for architecture arm64 更新 Cocoapods 之后,向项目里添加了一个框架,然后更新库,之后出现此错误: symbol(s) not found for architecture arm64 注意到警告: **ld: warning: ** ignoring file /Users/xxx/Library/Developer/Xcode/DerivedData/XX-awrjswozfdxdwkbnngmcptbgcvlk/Build/Products/Debug-iphoneos/libAFNetworking.a

centos10步部署gitlab

centos10步部署gitlab postfix 邮件服务 1.安装postfix yum -y install policycoreutils openssh-server openssh-clients postfix 2.设置postfix服务开机启动 systemctl enable postfix 3.启动postfix服务 systemctl start postfix 3 如果失败,报错 postfix: fatal: parameter inet_interfaces: no local interface found for ::1 3.1 打开postfix配置 vi /etc/postfix/main.cf 3.2 修改postfix配置 原本是:inet_interfaces = localhost 修改成:inet_interfaces = all 3.3 重新启动p

PHP安装pdo扩展

PHP安装pdo扩展 本文只针对通过编译方式安装的php添加pdo扩展,没有尝试在yum安装php的情况下实践。 1.安装PDO组件 解压php安装包,进入pdo组件目录,通过phpize建立php的外挂模块,指定php-config路径,安装pdo。 cd /usr/local/download/php-5.6.23/ext/pdo phpize .