ERROR in Type NumberInputDirective in D:/ProjectX/src/app/common/number-input.directive.ts is part of the declarations of 2 modules: blablaA and blablaB Please consider moving NumberInputDirective to a higher module that imports blablaA and blablaB. You can also create a new NgModule import that NgModule in blablaA and blablaB
const canvas = document.getElementById('webgl'); // if webgl context isnot exist, init it const webgl = canvas.getContext('webgl');
// Set clear color to black, fully opaque webgl.clearColor(0.0, 0.0, 0.0, 1.0); // Clear the color buffer with specified clear color webgl.clear(webgl.COLOR_BUFFER_BIT);
//片元着色器(Programmable Fragment Processor)源码 let fragShaderSource = '' + 'void main(){' + //定义片元颜色 ' gl_FragColor = vec4(1.0,0.0,0.0,1.0);' + '}';
//初始化着色器 let program = this.initShader(this.gl, vertexShaderSource, fragShaderSource); //获取顶点着色器的位置变量apos var aposLocation = this.gl.getAttribLocation(program, 'apos');
If commandA succeeds run commandB, if it fails commandC
In most cases the Exit Code is the same as the ErrorLevel
刷新应用图标
桌面图标显示为未知文件,调用以下应用可以解决
run ie4uinit -show
Fix The Parameter is Incorrect Exception
某年月日因磁盘松动,重新连接后报如图异常
命令行执行
1
chkdsk /f
检索到了网络上的解决方法chkdsk /f /x /r,后面的参数会极大增加修复错误花的时间,而且/x /r 都包含了/f (fixes errors on the disk. The disk must be locked. If chkdsk cannot lock the drive, a message appears that asks you if you want to check the drive the next time you restart the computer.)
查找进程及其杀灭
1 2 3
tasklist|grep cscportal
taskkill /IM "cscportal.exe" /F
琐碎文件的删除
win10 系统中删除文件夹,会进行文件统计,对于文件目录和源代码目录琐碎的情形,它敢给你统计几个小时,正确的删除姿势有两种 a. 安全模式
Perl, Perl 是 Practical Extraction and Report Language 的缩写,可翻译为 “实用报表提取语言”。if you want to build OpenSSL® and nginx with SSL support. For example ActivePerl or Strawberry Perl.
WebGL 是一种 3D 绘图标准,这种绘图技术标准允许把 JavaScript 和 OpenGL ES 2.0 结合在一起,通过增加 OpenGL ES 2.0 的一个 JavaScript 绑定,WebGL 可以为 HTML5 Canvas 提供硬件 3D 加速渲染,这样 Web 开发人员就可以借助系统显卡来在浏览器里更流畅地展示3D场景和模型了
WebGL 的出现使得在浏览器上面实时显示 3D 图像成为,WebGL 本质上是基于光栅化的 API ,而不是基于 3D 的 API。