How to Sign in as a Different User in SharePoint 2013
摘要:SharePoint used to have a menu option called "Sign in as Different User" in the top-right corner of every page. It was a handy tool for developers and IT professionals in SharePoint 2007 and 2010, whi...
阅读全文
posted @
2017-09-28 11:58
今夜太冷
阅读(695)
推荐(0) 编辑
Uniform and Interpolator Packing的作用
摘要:All of the packing that is done is completely transparent to the user of the OpenGL ES Shading Language, except for one detail: The packing impacts the way in which uniforms and vertex shader outputs/...
阅读全文
posted @
2017-09-27 17:09
今夜太冷
阅读(177)
推荐(0) 编辑
OpenGL ES Shading Language中应尽量避免使用循环
摘要:In addition to basic if-then-else statements, it is possible to write for, while, and do-while loops. In OpenGL ES 2.0, very strict rules governed the usage of loops. Essentially, only loops that co...
阅读全文
posted @
2017-09-26 15:58
今夜太冷
阅读(321)
推荐(0) 编辑
OpenGL ES Shader语言中的函数不支持递归
摘要:An example function definition is given here for a simple function that computes basic diffuse lighting: vec4 diffuse(vec3 normal, vec3 light, vec4 baseColor) { return baseColor * dot(normal, l...
阅读全文
posted @
2017-09-26 15:37
今夜太冷
阅读(289)
推荐(0) 编辑
GL_ACTIVE_UNIFORMS可能不会返回没有用到的uniform
摘要:To query for the list of active uniforms in a program, you first call glGetProgramiv with the GL_ACTIVE_UNIFORMS parameter (as described in the previous section). This will tell you the number of acti...
阅读全文
posted @
2017-09-26 10:46
今夜太冷
阅读(229)
推荐(0) 编辑
glValidateProgram只用于调试
摘要:glValidateProgram应该只用于调试,用于release版本中会影响性能。以下是详细描述: Before doing so, however, we might want to check whether the program validates. That is, there are certain aspects of execution that a successful ...
阅读全文
posted @
2017-09-26 10:36
今夜太冷
阅读(459)
推荐(0) 编辑
可以在任何时候attach一个shader到program对象
摘要:可以在任何时候attach一个shader到program对象,不一定非要在指定source和编译以后,具体的描述如下: Once you have a program object created, the next step is to attach shaders to it. In OpenGL ES 3.0, each program object needs to have one...
阅读全文
posted @
2017-09-25 16:55
今夜太冷
阅读(280)
推荐(0) 编辑
"garbage at end of line" on Windows 10
摘要:在windows 10上运行docker-machine scp myvm1 docker-compose.yml myvm1:~的时候报错: "garbage at end of line \.docker\machine\machines\myvm1\id_rsa" 【解决方法】 这是boot2docker的一个bug, 帖子在这里: https://github.com/lara...
阅读全文
posted @
2017-09-22 10:04
今夜太冷
阅读(872)
推荐(0) 编辑
You must have a copy of the scp binary locally to use the scp feature
摘要:在运行docker-machine scp 命令的时候,报错: "You must have a copy of the scp binary locally to use the scp feature" 【解决方法】 It Works!... just adding path to ...Git\usr\bin ... where scp.exe is ... to the PATH en...
阅读全文
posted @
2017-09-21 10:34
今夜太冷
阅读(418)
推荐(0) 编辑
如何启动docker service
摘要:From powershell prompt following works for me with no issues restart-service *docker* [注意] 我试了一下,这个命令不行!会导致docker for windows无法启动,必须重启机器才可以修复。 正确的方法是从
阅读全文
posted @
2017-09-21 10:06
今夜太冷
阅读(651)
推荐(0) 编辑
docker swarm join如何获取token
摘要:在运行docker swarm join的时候需要一个token参数,如何知道这个参数那? 【答案】 Join as a worker node To retrieve the join command including the join token for worker nodes, run the following command on a manager node: $ docker s...
阅读全文
posted @
2017-09-20 17:09
今夜太冷
阅读(1227)
推荐(0) 编辑
Docker-machine创建虚机时停在虚机启动的提示上,并且创建的虚机显示Ip Not found
摘要:Docker-machine创建虚机时停在虚机启动的提示上,并且创建的虚机用docker-machine ls 列出来的时候显示Ip Not found, 是什么原因那? 【答案】 看这个帖子: https://github.com/docker/machine/issues/3832 拷贝如下: I am having trouble getting my docker-machine to ...
阅读全文
posted @
2017-09-20 15:52
今夜太冷
阅读(283)
推荐(0) 编辑
Install Hyper-V on Windows 10
摘要:Enable Hyper-V to create virtual machines on Windows 10.Hyper-V can be enabled in many ways including using the Windows 10 control panel, PowerShell (my favorite) or using the Deployment Imaging Ser...
阅读全文
posted @
2017-09-20 11:37
今夜太冷
阅读(280)
推荐(0) 编辑
PowerShell获取当前用户的权限
摘要:function Get-CurrentUserRoles { $SecurityPrinciple = New-Object -TypeName System.Security.Principal.WindowsPrincipal -ArgumentList ([System...
阅读全文
posted @
2017-09-20 10:24
今夜太冷
阅读(696)
推荐(0) 编辑
教你批量修改图片后缀
摘要:网店店主在上传图片是,总是会被"您上传的图片格式不符合规定"这样的对话框搞的很郁闷。一般图片的后缀,可以直接手工改掉,但是如果要改的图片多了怎么办呢?用一些图片处理工具acdsee、photoshop等改也是可以的,但是会很浪费时间,并且操作这些软件会让电脑变的很慢。我们今天教你一招,让你能轻轻松松的修改图片后缀…… 工具/原料 acdsee、photoshop 步骤/方法 ...
阅读全文
posted @
2017-09-19 11:45
今夜太冷
阅读(1836)
推荐(0) 编辑
Docker登录失败
摘要:% docker login Username: xxxx Password: Email: xxxxxxx@yahoo.co.jp FATA[0033] Error response from daemon: Server Error: Post https://index.docker.io/v1/users/: dial tcp: lookup index.docker.io on 20...
阅读全文
posted @
2017-09-19 11:01
今夜太冷
阅读(428)
推荐(0) 编辑
Get file extention in XSLT
摘要:When working with data view web parts or data form web parts in SharePoint, you might want to use some conditional formatting or branching logic, based on the file extention of your SharePoint item....
阅读全文
posted @
2017-09-18 14:15
今夜太冷
阅读(213)
推荐(0) 编辑
《OpenGL® ES™ 3.0 Programming Guide》读书笔记1 ----总览
摘要:OpenGL ES 3.0 Graphics Pipeline OpenGL ES 3.0 Vertex Shader Transform feedback: Additionally, OpenGL ES 3.0 adds a new feature called transform feedback, which allows the vertex shader outputs...
阅读全文
posted @
2017-09-13 15:17
今夜太冷
阅读(247)
推荐(0) 编辑
OpenGL® ES 3.0 Programming Guide - Book Website
摘要:OpenGL® ES 3.0 Programming Guide - Book Website http://opengles-book.com sample codes in GitHub: https://github.com/danginsburg/opengles3-book/
阅读全文
posted @
2017-09-12 17:23
今夜太冷
阅读(194)
推荐(0) 编辑
C# winForm webBrowser页面中js调用winForm类方法(转)
摘要:有时我们在winform项目中嵌入了网页,想通过html页面调用后台方法,如何实现呢?其实很简单,主要有三部: 1、在被调用方法类上加上[ComVisible(true)]标签,意思就是当前类可以com组件的形式供外包调用 2、在webBrowser控件中设置可被html页面调用的类即:webBrowser1.ObjectForScripting = this;前端即可通过win...
阅读全文
posted @
2017-09-05 15:57
今夜太冷
阅读(1588)
推荐(0) 编辑