vim 安装插件(k-vim方法 )好后 编辑js文件提示错误 可能是nodejs环境没搭建好 或者版本有误 用nvm安装node 后 需要 source ~/.bashrc 或者重新开一个终端 再运行vim 编辑js文件就可以了…
打开adb.exe的文件目录,同时按下shift和鼠标右键,打开cmd后运行一下这个命令adb kill-server…
打开Android Studio时报如下错误提示: Unable to create Debug Bridge:Unable to start adb server:error:cannot parse versionstring:kg01 'xxxxxxxxxxxxxxx' failed -- run manually if necessary 这是因为adb.exe使用的5037端口被占用了 解决办法: 根据提示查看adb的端口号5037被谁占用 通过 netstat -aon|findst…
2018-09-13 21:39:20.778 80758 WARNING keystoneauth.identity.generic.base [req-ea24b7ad-5aee-44b2-b681-0907e2ab9bb8 5b3418856605468eaa85de19de6d5a54 6766100bc89d4a65a20e0a46ac4fc065 - default default] Failed to discover available identity versions whe…
]$ sudo yum install libnotify*Loaded plugins: fastestmirror, refresh-packagekit, securitySetting up Install ProcessRepository base is listed more than once in the configurationRepository updates is listed more than once in the configurationRepository…
*** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED 在软件已经执行破解仍然出现,是因为工程是破解前建立的,要先执行以下工程清空. .…
System Error:/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found 1.运行程序是,系统报错库文件libstdc++.so.6找不到 2.检查该库的版本:strings /usr/lib64/libstdc++.so.6|grep GLIBCXX[旧版本往往会缺少GLIBCXX_3.4.18],导致程序不可运行 3.尝试从别的机器拷贝库文件libstdc++.so.6覆盖,可以修复此问题[亲测] 4.否则,则需要升…
异常信息如下: JSON parse error: Can not deserialize instance of java.lang.String out of START_OBJECT token; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token…
Now we are making a solution that has to get the package reference. But the version of package reference is a range and the default version parser need input a version but not a version range. This post will tell you how to parse the version range st…
Android启动出错,虚拟机报错信息如下: Starting emulator for AVD 'test' emulator: ERROR: Can't find 'Linux version ' string in kernel image file: E:\CoCosStudio\ADT\adt-bundle-windows-x86-20140321\sdk;D:\AppData\Local\Android\sdk/system-images\android-21\default\arm…
org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0]. Default version will be used.报错 [-- ::,] Artifact Message push:war exploded: Artifact is being deployed, please wait... -Aug- ::)-127.0.0.1] org.apache.tomcat.util.…
今天   在导入 一个新项目时 : 出现了这个错 Error:Cause: failed to find target with hash string 'android-23' in: C:\Users\Administrator\AppData\Local\Android\sdk Open Android SDK Manager 一 .于是 点击Open Android SDK Manager ; 想更新下android studio 下的 sdk ; 无奈出现了这个错误: Loading…
用Intellij IDEA 部署Web项目,Tomcat启动后报错Unknown version string [3.1]. Default version will be used. 作者的问题出在引用jar包缺失,解决问题如下图,进入项目ProjectStructure,配置Artifacts中的war exploded,将output Layout选项卡下右边的框架库,引用到左边的output中.…
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Number和String之间的互相转换</title> <script type="text/javascript"> //将Number数字转换成String字符串 //第一种方法是使用String()函数,该方法有局限性,即无法将某个数值转换成不同进制的,也无…
LINQ to Entities 不识别方法"System.Guid Parse(System.String)",因此该方法无法转换为存储表达式. linq 中不能转换类型…
Tomcat.jdk.web.xml 对应关系: 版本对应错误,更换便可.(版本往下兼容) web.xml——version2.2——JDK1.1——Tomcat3.3 web.xml——version2.3——JDK1.3——Tomcat4.1 web.xml——version2.4——JDK1.4——Tomcat5.5 web.xml——version2.5——JDK5.0——Tomcat6.0 web.xml——version3.0——JDK6.0——Tomcat7.0 web.xml——…
error occurred during unpacking on the remote end: unpack-objects abnormal exit git服务器磁盘满了.…
错误: 在 IDEA 创建WEB项目之后,打印出的日志中总是出现一行警告信息: 12-May-2018 15:52:30.692 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion Unknown version string [4.0].Default version will be used. 原因: 当前Tomcat8.5不支持Web4.0版本,那要么降低W…
how to convert a number to a number array in javascript without convert number to a string 如何在不将数字转换为一个字符串的情况下将一数字转换为javascript中的一个数字数组 Number To Array Math.round 四舍五入 bug "use strict"; /** * * @author xgqfrms * @license MIT * @copyright xgqfrms…
在php程序出现类似 Parse error: syntax error, unexpected end of file in xxxxxxxx  on line xx 的错误. 如图 如果发现php的语法本身没有什么错误.就有可能是使用了短标签,例如: <? }?> 这种问题的解决方案是: 可以在php.ini中设置short_open_tag = On --------------------------------------------------------- short_open_…
有没有想过,当我们的大后台只是扮演一个数据库的角色,json在前后台的数据交换中扮演极其重要的角色时,作为依托node的前端开发,其实相当多的时间都是在处理数据,准确地说就是在处理逻辑和数据(这周实习最大的收获). 而对于依托json格式传输的数据,处理数据时,用到JSON.strinify和JSON.parse的概率是百分之百.使用这两个方法so easy,但是你真的知道其中一些相关的细节以及其中牵涉到的javascript的知识么? JSON.parse用于从一个字符串中解析出json对象.…
问题 最近在macOS Catalina中使用npm安装模块,经常会出现如下错误: > node-gyp rebuild No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Map with valid credentials</title> <meta http-equiv="C…
Update Android SDK build tool to latest can solve my problem.…
服务器上缺少配置   ssh-keygen.exe的 环境变量.git的环境变量 在path 环境变量加上.重启gogs服务…
  JSON.stringify()用于从一个对象解析出字符串 : var obj = {"name":"week","age":"200"}; console.log(JSON.stringify(obj)); // 结果:{"name":"week","age":"200"}; console.log(typeof JSON.stringify…
这几天在升级自己的MVVM 框架,遇到很多小问题,就在这里统一解决了. with 语法 在代码中,要执行这么一个函数 function computeExpression(exp, scope) { try { with (scope) { return eval(exp); } } catch (e) { console.error('ERROR', e); } } 要求在scope 作用域中执行,什么意思??? 比如 scope = {a:10,b:5}; exp = a*b; 要求计算结果…
用于模式匹配的String方法:   String支持4种使用正则表达式的方法:           seach()用于检索,参数是一个正则表达式,返回第一个与之匹配的子串的位置,找不到则返回-1,如果参数不是正则表达式,则首先会通过RexExp构造函数将它转换成正则表达式,seach()方法不支持全局搜索,它忽略修饰符g:           replace()用于检索与替换操作,第一个参数是一个正则表达式,第二个参数是要进行替换的字符串.它对调用该方法的字符串检索,按照模式匹配子串替换成第二…
JavaScript Number 对象 Number 对象属性 属性 描述 constructor 返回对创建此对象的 Number 函数的引用. MAX_VALUE 可表示的最大的数. MIN_VALUE 可表示的最小的数. NaN 非数字值. NEGATIVE_INFINITY 负无穷大,溢出时返回该值. POSITIVE_INFINITY 正无穷大,溢出时返回该值. prototype 使您有能力向对象添加属性和方法. Number 对象方法 方法 描述 toString 把数字转换为字…
什么是对象JavaScript 中的所有事物都是对象,如:字符串.数值.数组.函数等,每个对象带有属性和方法.对象的属性:反映该对象某些特定的性质的,如:字符串的长度.图像的长宽等:对象的方法:能够在对象上执行的动作.例如,表单的“提交”(Submit),时间的“获取”(getYear)等:JavaScript 提供多个内建对象,比如 String.Date.Array 等等,使用对象前先定义,如下使用数组对象: var objectName =new Array();//使用new关键字定义对…