使用composer安装错误提示: The "https://packagist.laravel-china.org/packages.json" file could not be downloaded: Peer certificate CN=*.phphub.org' did not match expected CN=packagist.laravel-china.org' Failed to enable crypto failed to open stream: opera…
网页通过http 访问时, 点击打开文件的link.在Chrome 中会报 Not allowed to load local resource: file// XXXX 的错误 <!--Add by oscar999--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document <…
Python load json file with UTF-8 BOM header - Stack Overflow 3 down vote Since json.load(stream) uses json.loads(stream.read()) under the hood, it won't be that bad to write a small hepler function that lstrips the BOM: from codecs import BOM_UTF8 de…
Error: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. 这个问题是说android studio没有发现本地SDK,那么有可能是以下问题之一: 1.local.properties 文件 的sdk.dir 配置不正确,导致android studio找不到对应路径下的sdk 1.对…
1.write a json file base on website(在网站上写一个json文件) json文件网址:https://raw.githubusercontent.com/DJOSIMON/DJ/master/Hero.json 2.upload to github(or server)(上传至github(或服务器)) 上传至github.方法:https://blog.csdn.net/hlxx55/article/details/80906418 上传结果: 3.obtai…
在编译ionic项目的时候出现:Error:The "tsconfig.json" file must have compilerOptions.sourceMap set to true. 如下: 解决此问题首先我们要弄清楚这个文件的作用:tsconfig.json文件用来指定编译项目所需的根文件和编译器选项. 详细的编译选项参见:http://www.typescriptlang.org/docs/handbook/compiler-options.html 解决办法就是修改tsc…