Example:
import log from './simple-log.js'
log.level = 'info';
log.trace('should NOOP');
log.debug('should NOOP');
log.info('should output');
log.log('should output');| #!/bin/sh | |
| #present_mode.sh | |
| nohup /storage/.config/present_mode_input.sh & | |
| INPUT_PID=$! | |
| while true | |
| do | |
| RA_RUNNING=`ps -A | grep retroarch | grep -v grep | wc -l` | |
| if [ 1 == $RA_RUNNING ] ; then |
Example:
import log from './simple-log.js'
log.level = 'info';
log.trace('should NOOP');
log.debug('should NOOP');
log.info('should output');
log.log('should output');Sample Models location: https://github.com/KhronosGroup/glTF-Sample-Models/tree/18912e96c60245f71a3775d365c990009307a11a/2.0/
The following output shows where count === accessor.count and num_points === dracoGeometry.num_points() (or num_points === dracoGeometry.num_faces() * 3 in the case of indices) for each accessor that was determined not to match.
accessor: 1 (NORMAL), mesh: 0 (Piston_123-844_0_Parts_1), primitive: 0, count: 2012, num_points: 2019
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="module"> | |
| import { render, html } from 'https://unpkg.com/lit-html?module'; | |
| class SourceViewElement extends HTMLElement { | |
| constructor() { | |
| super(); |
| > cpuinfo@0.0.2 test /data/data/com.termux/files/home/cpuinfo | |
| > node ./testcases.js | |
| Testing cpuinfo for node-js | |
| { http_parser: '2.7.0', | |
| node: '9.2.0', | |
| v8: '6.2.414.44-node.11', | |
| uv: '1.16.1', | |
| zlib: '1.2.8', | |
| ares: '1.13.0', |
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ '/data/data/com.termux/files/usr/bin/node', | |
| 1 verbose cli '/data/data/com.termux/files/usr/bin/npm', | |
| 1 verbose cli 'i', | |
| 1 verbose cli '-g', | |
| 1 verbose cli 'http-server' ] | |
| 2 info using npm@5.5.1 | |
| 3 info using node@v8.9.1 | |
| 4 verbose npm-session 456b325fdfcd5991 | |
| 5 verbose stack TypeError: Cannot read property 'length' of undefined |
| angular.module('typeOut', []) | |
| .directive('typeOut', ["$timeout", function($timeout){ | |
| return { | |
| restrict: 'A', | |
| scope: { | |
| text: '=typeOut', | |
| speed: '=typeOutSpeed', | |
| onComplete: '&', | |
| }, | |
| link: function($scope, elem, attrs){ |
| var express = require('express'); | |
| var router = express.Router(); | |
| // my few includes | |
| require('./foo_1')(router); | |
| require('./foo_2')(router); | |
| module.exports = router; |