[ Launch: Lorenz Curve ] 9767676 by stevekinney
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library wildcard_filter; | |
import 'package:angular/angular.dart'; | |
class WildcardFilter{ | |
static final String DEFAULT_SEPARATOR = ' '; | |
/* | |
* AngularJS Filter fnc "call" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var windowObjectReference; | |
function openRequestedPopup() { | |
windowObjectReference = window.open( | |
"data:text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E<script>console.log(JSON.stringify(window.location))</script>aa", | |
"DescriptiveWindowName", | |
"resizable,scrollbars,status" | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 使用 userAgent 判断是否微信内置浏览器 | |
// 不推荐使用 用户可能会自行修改浏览器的 userAgent | |
if( navigator.userAgent.toLowerCase().indexOf('micromessenger') > -1 || typeof navgator.wxuserAgent !== "undefined" ) { | |
return true; | |
} | |
// 使用微信 JS 对象判断是否微信内置浏览器 | |
// 建议使用此方法进行判断 | |
if( typeof WeixinJSBridge !== "undefined" ) { | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<canvas id="canvas" width="300" height="300" ></canvas> | |
<br> | |
<button id="m1"> mode1 </button> | |
<button id="m2"> mode2 </button> | |
<button id="m3"> mode3 </button> | |
<button id="m4"> mode4 </button> | |
<button id="m5"> mode5 </button> | |
<br> | |
<button id="toggle"> Toggle </button> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var util = { | |
prepShader: (gl, shaderSource, shaderType) => { | |
var webGLShader = gl.createShader(shaderType); | |
gl.shaderSource(webGLShader, shaderSource); | |
gl.compileShader(webGLShader); | |
var success = gl.getShaderParameter(webGLShader, gl.COMPILE_STATUS); | |
if(!success){ | |
var error = gl.getShaderInfoLog(webGLShader); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="boxy view-3d" offset="1"> | |
<div class="window"> | |
<div class="win-bar"> | |
Terminal | |
<span class="f-right">X</span> | |
</div> | |
</div> | |
<div class="window"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> | |
<div class="shape ball"></div> |