problems in programming
wangbingfeng0
I'm back
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nable to download: Error 403, Error: Forbidden for url, when use coursera_dl download lecture
My coursera_dl version 0.11.5When use$ coursera-dl -u <your-email> -p <your-pwd> the-lecture -ca CAUTHIt also prompts bellow error:coursera_dl version 0.11.5Traceback (most rece...原创 2020-04-07 20:44:05 · 1092 阅读 · 0 评论 -
Mac Atom - Could not determine java version from '11.0.1'
when run./gradlew :typeinfo:Shapesthe terminal prompt:FAILURE: Build failed with an exception.* What went wrong:Could not determine java version from '11.0.1'.* Try:Run with --stacktra...原创 2019-12-31 23:58:11 · 843 阅读 · 0 评论 -
error: gpg failed to sign the data fatal: failed to write commit object'
step 1. test ~ % echo "test" | gpg --clearsignWarning: Failed to set locale category LC_NUMERIC to en_CN.Warning: Failed to set locale category LC_TIME to en_CN.Warning: Failed to set locale ca...原创 2019-11-03 17:52:51 · 810 阅读 · 0 评论 -
pip3 install jupyterlab - pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=
pip3 install jupyterlabCollecting jupyterlab Downloading https://files.pythonhosted.org/packages/2c/89/a4e048f198867f19d2a9f40d08c946d760ab06dd39d774940a20da47b5f9/jupyterlab-1.1.4-py2.py3-none-an...原创 2019-10-26 15:33:34 · 749 阅读 · 0 评论 -
Error: Calling 'fails_with :clang' with 'build' &glt; 600 is disabled! aThere is no replacement
The problem show, when install gnupg.the detail error:Error: Calling 'fails_with :clang' with 'build' < 600 is disabled! There is no replacement.Please report this to the homebrew/core tap: ...原创 2019-03-20 00:00:17 · 866 阅读 · 0 评论 -
error: gpg failed to sign the data fatal: failed to write commit
After install gpg, config step by step follow the offical doc, but whenuse$ git commit -m "test gpg verfified"It prompt errorerror: gpg failed to sign the datafatal: failed to write commit o...原创 2019-03-21 23:11:31 · 1797 阅读 · 0 评论 -
ModuleNotFoundError: No module named 'matplotlib_venn', when use Jupyterlab
when runbelow in mac!pip install matplotlib!pip install matplotlib-vennonly matplotlib installed.use$ conda list matplotlib*to see if these two installed.$ easy_install matplotlib-ve...原创 2019-03-22 18:48:33 · 4575 阅读 · 0 评论 -
Resolving a merge conflict using the command line
Competing line change merge conflictsTo resolve a merge conflict caused by competing line changes, you must choose which changes to incorporate from the different branches in a new commit.For exam...原创 2019-04-07 21:20:24 · 511 阅读 · 0 评论 -
warning: type specifier missing, defaults to 'int' [-Wimplicit-int
We can either tell the compiler to use the C language standard C90 (ANSI), which was modern when the book was written. Do it by using parameter-std=c90or-ansito the compiler, like this:$ cc -an...原创 2019-04-25 21:51:25 · 13111 阅读 · 1 评论 -
when use make html, it prompts no theme named 'python_docs_theme' found (missing theme.conf?)
python-docs-theme not installedinstall itpip install python-docs-themethen use$ make htmlto generate python tutorial html files.The documentation is built with several tools which are...原创 2019-04-14 16:49:15 · 848 阅读 · 0 评论 -
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
I clone$ git clone https://github.com/python/cpython.gitit prompt error in the titile when the download progress is about 10%(or may be 18%).After some research,use$ git clone http://gith...原创 2019-04-14 17:07:50 · 462 阅读 · 0 评论 -
Tess4J Use Example
Tesseract is ocr engine once developed by HP. Currently it is an opensource project sponsored by Google. The software is capable of taking a picture and transforming it into text. It supports a wide ...原创 2019-06-15 21:35:13 · 1152 阅读 · 0 评论 -
Slow speed on git clone
There are three tricks I try for a quick cloning:update hosts file a. add192.30.253.112 github.com192.30.253.113 github.com151.101.185.194 github.global.ssl.fastly.netto your /etc/ho...原创 2019-08-07 19:56:35 · 513 阅读 · 0 评论 -
use the nohup command without getting nohup out + sql tip
command tipwe can combine file descriptors together: 2>&1 means "send standard error wherever standard output is going". That means that we get a single stream of output that includes both sta...原创 2019-09-30 23:10:31 · 166 阅读 · 0 评论 -
functional programming - Closures
// functional/Closure1.java// (c)2017 MindView LLC: see Copyright.txt// We make no guarantees that this code is fit for any purpose.// Visit http://OnJava8.com for more book information.impor...原创 2019-01-20 22:42:32 · 145 阅读 · 0 评论 -
collections - ListIterator examples
ListIterator is a more powerful subtype of Iterator that is produced only by List classes. While Iterator can only move forward, ListIterator is bidirectional. It can produce indices of the next and p...原创 2019-01-12 11:23:48 · 148 阅读 · 0 评论 -
inner classes in methods and scopes
Inner classes can be created within a method or even an arbitrary scope. There are two reasons for doing this:1. We’re implementing an interface of some kind so we can create and return a reference....原创 2019-01-04 21:43:00 · 185 阅读 · 0 评论 -
Exception in thread "main" javax.jms.JMSException: java.net.ConnectException: C nnection refused:
执行环境 Windows 7 旗舰版 32位 apache-activemq-5.9.0执行cmd命令java -cp target/amqp-example-0.1-SNAPSHOT.jar example.Listener,提示Exception in thread "main" javax.jms.JMSException: java.net.ConnectExcepti原创 2017-10-16 19:59:12 · 2293 阅读 · 0 评论 -
CentOS-7-i386-DVD-1708 root用户忘记密码解决过程最后一步出现Host SMBus controller not enabled的问题
根据参考地址1解决root忘记密码的最后一步执行 touch /.autorelabel 界面提示Host SMBus controller not enabled,只要将CentOS 7 重启即可解决这个问题,重启后,新设置的密码生效。说明 echo "123456"|passwd --stdin root,中123456是更改后的密码参考地址:1. http://www.lin原创 2018-02-03 17:48:22 · 1584 阅读 · 0 评论 -
Apache ActiveMQ 5.9.0发送消息成功后,在WEB界面点击队列中的Message ID 查看消息提示Error!
错误详情如下浏览器界面提示:DOS界面提示:原因是计算机指定的系统变量中JDK版本1.8和ActiveMQ 5.9.0所用的版本不兼容,将JDK版本改为1.7即可原创 2018-02-04 21:45:22 · 2169 阅读 · 0 评论 -
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:
A: After upgrading to macOS Sierra (and later Mojave), I tried to run git from Terminal but it kept giving me the following error:xcrun: error: invalid active developer path (/Library/Developer/Comm...原创 2018-10-26 10:55:01 · 1176 阅读 · 0 评论 -
Uncaught TypeError: Path must be a string. Received undefined, only one instance of babel-polyfill..
命令行使用$ atom . 打开atom,atom界面提示如题所示错误,原因是相关的package启用导致的,根据具体错误的提示,找到atom的配置中相应的包,将其禁用即可。实际我禁用的是atom-css-comb 3.3.1和 remote-edit 1.9.0参考地址:https://github.com/atom/atom/issues/14227注:atom中打开配置的快捷键是 c...原创 2018-10-26 14:57:16 · 2500 阅读 · 0 评论 -
install opera, curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
$ brew cask install operaprompt curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54SSL_ERROR_SYSCALL ......1. access https://get.geo.opera.com/pub/opera/desktop/57.0.3098.102/mac/;2. do...原创 2018-12-20 11:51:13 · 1419 阅读 · 0 评论 -
Error: An unexpected error occurred during the `brew link` step The formula built, but is not sym...
安装python错误详细提示==> Pouring python-3.7.1.mojave.bottle.8.tar.gzError: An unexpected error occurred during the `brew link` stepThe formula built, but is not symlinked into /usr/localPermission de...原创 2018-12-16 15:29:48 · 1679 阅读 · 0 评论 -
brew install python3 didn't install pip3
$ brew rm python $ brew rm python3 $ rm -rf /usr/local/opt/python$ rm -rf /usr/local/opt/python3$ brew prune $ brew install python3$ brew postinstall python3python目录根据情况来删除,后重装 prune [--dry...原创 2018-12-16 17:02:28 · 457 阅读 · 0 评论 -
How can I recursively delete all files of a specific extension in the current directory?
Use it with precaution. Run first:find . -name "*.out" -type fUse find:find . -name "*.out" -type f -delete references:1. https://askubuntu.com/questions/377438/how-can-i-recursively-delet...原创 2018-12-25 16:36:46 · 137 阅读 · 0 评论 -
-bash: gradlew: command not found
To compile and run everything, the command is:`gradlew run`If you are on a Unix/Linux based system, you must select the local directory for all commands, for example:`./gradlew run`To only com...原创 2018-12-25 16:45:03 · 1800 阅读 · 0 评论 -
anonymous inner class
For example:// innerclasses/Parcel7.java// (c)2017 MindView LLC: see Copyright.txt// We make no guarantees that this code is fit for any purpose.// Visit http://OnJava8.com for more book informa...原创 2019-01-04 22:17:27 · 907 阅读 · 0 评论 -
reaching outward from a multiply nested class
It doesn't matter how deeply an inner class is nested ---it can transparently access all members of all classed it is nested within, as seen here:// innerclasses/MultiNestingAccess.java// (c)2017 ...原创 2019-01-05 12:04:56 · 175 阅读 · 0 评论 -
inheriting from inner classes
When we create an inner class, an object of that inner class contains an implicit link to the enclosing object that made it. The “secret” reference to the enclosing class object must be initialized, a...原创 2019-01-06 10:30:17 · 175 阅读 · 0 评论 -
InvocationTargetException: The container configuration directory does not exist.
描述:在NetBeans IDE 8.1中build工程Java EE7 dukes-forest时报如下所示错误 Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.4:redeploy (deploy) on project dukes-payment: Execution deploy of goal org.c原创 2016-12-12 22:48:26 · 889 阅读 · 1 评论
分享