ICode9

精准搜索请尝试: 精确搜索
  • 今日总结2020-12-03 22:01:35

    2020年12月3日:今日了解了一个关于表单验证的插件,叫做jquery validate,具体的用法如下: 一导入js库   二、默认校验规则 (1)required:true               必输字段(2)remote:"check.php"          使用ajax方法调用check.php验证输入值(3)email:true    

  • springboot的Module创建报错:Initialization failed for ‘https://start.spring.io‘ Please check URL, network2020-12-01 12:33:11

    Initialization failed for ‘https://start.spring.io’ Please check URL, network and proxy settings. Error message: Cannot download ‘https://start.spring.io’: connect timed out 解决: check成功后即可顺利创建Module

  • Please use the NLTK Downloader to obtain the resource:2020-11-28 11:33:10

    解决如下:原因在于缺少一个模块 window 下  >>>python >>> import nltk>>> nltk.download('punkt')  

  • C Primier Plus(第六版)第5章 编程练习 VS2019测试2020-11-27 21:33:50

    第1题 /*编程练习5.1把分钟转化为小时和分钟*/ #include<stdio.h> const int M_PER_H = 60; //每小时60分钟 int main(void) { int time,min, hour; printf("Please input the time in minutes(<=0 to quit):\n"); scanf_s("%d", &time); while (time >

  • lesson049-2020-10-142020-10-20 02:00:52

    do you want any meat,miss ber? yes,please. do you want any beef or lamp? beef,please. this lamp is very nice. i like lamp,but my husband dosen't. do you want any state,miss ber? give me a pice,please. and a pound of meat. do you like any chicken? no,

  • Docker安装Gitlab-runner2020-10-14 16:31:24

    # 拉取镜像 docker pull gitlab/gitlab-runner:latest # 创建挂载目录 mkdir -p /opt/gitlab-runner/config # 启动容器 docker run -d --name gitlab-runner --restart always -v /opt/gitlab-runner/config:/etc/gitlab-runner -v /var/run/docker.sock:/var/run/docker.sock

  • mac shell 警告消除方法2020-10-09 12:01:08

      The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050.   要消除这个警告,您可以将以下命令添加到 ~/.bash_profile 或 ~/.profile 中: expor

  • read命令参数简单说明2020-09-30 10:00:23

    read 命令:-p :提示信息”:在等待read输入时,输出提示信息例:[root@node-host3 ~]# read -p "Please enter message: " message    # 用户输入的信息将传入到message这个变量当中 Please enter message: xx1 and xx2 or xx3 [root@node-host3 ~]# echo $messag

  • mybatis警告: No MyBatis mapper was found in '[com.moon.children]' package. Please check you2020-08-30 05:31:56

    mybatis警告: No MyBatis mapper was found in '[com.moon.children]' package. Please check your configuration. 解决办法: 在启动类加一个注解就行了,虽然不影响但是强迫症看到警告就去掉 @MapperScan("com.moon.xxx.mapper")

  • 【转】iPhone is not available. Please reconnect the device2020-07-27 10:32:05

    原文网址:https://blog.csdn.net/baidu_40537062/article/details/107396905 我的手机是iOS13.5,Xcode是11.4,Xcode11.4不支持iOS13.5,要将Xcode升级到11.5 如果Xcode升级到11.6,手机是iOS13.5,这时同样会出现上面的问题。这时要把手机升级到iOS13.6 下图是xcode的历史版本记录,一个Xco

  • DjangoModels修改后出现You are trying to add a non-nullable field 'download' to book without a d2020-07-09 09:05:09

    这个问题是在模型中新添加的,在原来已经有的表单中没有值。所以在新添加的值得括号中添加如 1 download = models.ForeignKey(Download, on_delete=models.CASCADE, null=True)然后 1 python manage.py makemigrations 2 3 python manage.py migrate

  • 国内centos7服务下快速安装 gitlab-runner2020-06-28 18:40:33

    安装 1.添加yum源 curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.rpm.sh | sudo bash 2.安装runner yum install gitlab-ci-multi-runner 3.向GitLab-CI注册runner gitlab-ci-multi-runner register 说明: 注册需

  • Python练习实例0182020-06-19 09:04:48

    问题:求s=a+aa+aaa+aaaa+...+aaa...a的值,其中a是一个数字。例如2+22+222+2222+22222(此时共有5个数相加),几个数相加由键盘控制。 #! /usr/bin/env python3 # -*- coding:utf-8 -*- # Author : Ma Yi # Blog : http://www.cnblogs.com/mayi0312/ # Date : 2020-06-19 # Na

  • 解决:Error: please transfer a valid prop path to form item!2020-06-04 10:55:19

    el-form-item 里面的循环prop名字,需要 和form列表中的属性名称一致,这样才能确保组件的统一性。 属性值为 person.name prop='name' 参考:https://blog.csdn.net/qq_33878858/article/details/103719877?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLe

  • git Please move or remove them before you can merge. 错误解决方案2020-05-23 14:03:33

    合并分支或者git pull命令的时候遇到: Updating 7c9e086..936acacerror: The following untracked working tree files would be overwritten by merge:Common/HFHttpRequest/HFHttpRequestParameters.hCommon/HFHttpRequest/HFHttpRequestParameters.m Please move or remove them

  • 输入一个大于3的整数n,判断它是否为素数2020-05-05 12:07:45

    #include <stdio.h> //让n被i除(i的值从2到n-1)int main(){    int n,i;    printf("please enter a integer number,n=?");    scanf("%d",&n);    for(i=2;i<=n-1;i++)    if(n%i==0) break;    if(i<n)printf("%d is not a prime number

  • webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks in2020-04-27 16:58:49

    根本原因:是项目在升级了webpack到v4.0.0后,打包生产环境文件,报错走不下去。CommonsChunkPlugin主要是用来提取第三方库和公共模块,避免首屏加载的bundle文件或者按需加载的bundle文件体积过大,从而导致加载时间过长,着实是优化的一把利器。    解决办法 build/webpack.base.conf.j

  • python input函数2020-04-05 13:00:31

    python input函数 觉得有用的话,欢迎一起讨论相互学习~ 对于python的input函数需要从python2和python3两方面讲。 对于python3,通过input函数输入的所有内容都会作为str类型的字符串变量传入,只需要使用int和float进行强制类型转换就可以。 # python3 d=float(input('Please en

  • SpringBoot项目报错If you want an embedded database (H2, HSQL or Derby), please put it on the classpath..2020-03-13 19:02:56

      原因   单刀直入,这个问题是pom文件引起的,如图如果我只是引用了一个关于数据库操作的jar包,却不配置数据库连接信息以及数据库地址,他就会报这个错误。 因为只要你引入数据库操作相关jar包,他就会去找数据库信息是否正确。 啊哦。。。。。。

  • Linux read 命令常用方法2020-03-03 19:01:03

    +++++++++++++++++++++++++++++++++++++++++ 标题:Linux read 命令的常用方法 时间:2020年3月3日 +++++++++++++++++++++++++++++++++++++++++   e.g.  read -p "Please Enter a Number " num   读取变量时,输出提示信息   e.g.  read -t 5 "Please Enter a Number" num   

  • MySQL ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 42. Created with M2020-02-29 21:01:33

    1.产生原因 在卸载原有的mysql5.5之后,安装了mysql5.7,进入数据库后,我发现原有的数据库都还在,但是在创建用户的时候报错 ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50560, now running 50729. Please use mysql_upgrad

  • C Primer Plus第六版编程练习5.42020-02-29 11:40:13

    新手欢迎指正 5.4 #include <stdio.h> #define FEET 2.54 #define INCH 30.48 int main(void) { float h=0,inch=0; int feet=0; printf(“Please enter a height in centimeters(<=0 to quit):\n”); scanf("%f",&h); while(h>0) { feet=(int)(h/INCH); i

  • kaggle上传数据集遇到Default slug detected, please change values before uploading2020-02-27 21:36:31

    解决方法: If you created a default config file like this:kaggle datasets init -p mydataset then you need to edit the file mydataset/dataset-metadata.json. In Linux this could be done as follows:nano mydataset/dataset-metadata.json Change the id and the tit

  • 获得用户输入的一个字符串,输出其中字符a的出现次数2020-02-26 14:43:55

    task19:获得用户输入的一个字符串,输出其中字符a的出现次数 """ name: wangzilu date: 2020/2/19 task: 获得用户输入的一个字符串,输出其中字符a的出现次数 """ # first way x = str(input('please enter whatever you want: ')) print(x.count('a')) #second count =

  • c语言编写任意进制转换2020-02-23 13:38:10

    /*N-scale transformation*/ #include<stdio.h> #include<stdlib.h> int main() { int i=0,scale,integral,j,num[20]; printf("Please put a integral: "); scanf("%d",&integral); printf("Please put a scale: "); sca

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有