This patch has something still wrong, since Teltonika RUT240 gives this error:
# sysupgrade -v openwrt-ar71xx-generic-rut200-squashfs-factory.bin
Invalid image, not supported on this device.
Image check 'platform_check_image' failed.
| --- | |
| - hosts: hosts | |
| remote_user: root | |
| gather_facts: false | |
| tasks: | |
| - name: Check for Python | |
| raw: test -e /usr/bin/python | |
| changed_when: false | |
| failed_when: false | |
| register: check_python |
| // Original supposedly "correct" way: https://flaviocopes.com/javascript-async-await-array-map/ | |
| // NOPE! This is correct: | |
| // Function that returns a promise | |
| const functionWithPromise = item => { | |
| return Promise.resolve('ok'); | |
| }; | |
| // Prefer functions without side effects. Much easier to understand, unit test, re-use and optimize (eg. three shaking). |
| #!/bin/bash | |
| ':' //; export TERMINAL_COLS="$(tput cols)" | |
| ':' //; exec "$(command -v nodejs || command -v node)" -- "$0" "$@" | |
| const TERMINAL_COLS = parseInt(process.env.TERMINAL_COLS, 10); | |
| console.log(TERMINAL_COLS); |
| <html> | |
| </html> |
This patch has something still wrong, since Teltonika RUT240 gives this error:
# sysupgrade -v openwrt-ar71xx-generic-rut200-squashfs-factory.bin
Invalid image, not supported on this device.
Image check 'platform_check_image' failed.
| {% comment %} | |
| This works like Lodash's `_.get(value, key)`, where `value` can be an object and `key` a string path to specific value. | |
| Use it like: | |
| {% assign translation = site.data.lang[site.lang] %} | |
| {% capture title %}{% include common/get-property.html value=translation key=page.title %}{% endcapture %} | |
| And so, you can have your Front Matter title as "path.to.key" translated from your _data/lang/{fi,en}.json to correct value. |
| /** | |
| * @interface | |
| */ | |
| class Foo { | |
| /** | |
| * @returns {string} | |
| */ | |
| foo () { |
| <!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>Bonnie++ Benchmark results</title><style type="text/css">td.header {text-align: center; background-color: "#CCFFFF" }td.rowheader {text-align: center; background-color: "#CCCFFF" }td.size {text-align: center; background-color: "#CCCFFF" }td.ksec {text-align: center; fontstyle: italic }</style></head><body><table border="3" cellpadding="2" cellspacing="1"><tr><td colspan="2" class="header"><font size=+1><b>Version 1.97</b></font></td><td colspan="6" class="header"><font size=+2><b>Sequential Output</b></font></td><td colspan="4" class="header"><font size=+2><b>Sequential Input</b></font></td><td colspan="2" rowspan="2" class="header"><font size=+2><b>Random<br>Seeks</b></font></td><td colspan="1" class="header"></td><td colspan="6" class="header"><font size=+2><b>Sequential Create< |
| // @norjs/Interface is commercial package from https://www.norjs.com | |
| import Interface from '@norjs/Interface'; | |
| import listInterface from './listInterface.js'; | |
| class FooList { | |
| // `listInterface.getList` is reference to an unique Symbol value for the name of the method. | |
| // | |
| // Using Symbols may look a bit strange, but this makes it possible to use |