いま巷で話題の NFC で書き換えできる名札サイズの電子ペーパーのプロトコルを調べました。 @alt-coreさんの追加の調査も参考にしています。
- Swift EPaperNFCSwift (@niw)
- Python nfc-eink (@alt-core)
いま巷で話題の NFC で書き換えできる名札サイズの電子ペーパーのプロトコルを調べました。 @alt-coreさんの追加の調査も参考にしています。
Beginning with devices using an A12 SoC or higher, Apple introduced nonce entangling.
libkernrw.libkrw.| function allEventListeners(){ | |
| const eventNames = Object.keys(window).filter(key => /^on/.test(key)) | |
| return [...document.querySelectorAll('*'), document].flatMap((node) => eventNames | |
| .filter(event => node[event]) | |
| .map(event => { | |
| return { | |
| node, | |
| event, | |
| listener: (typeof node[event] === 'function') ? node[event].toString() : node[event] | |
| } |
| const listeners = (function listAllEventListeners() { | |
| let elements = []; | |
| const allElements = document.querySelectorAll('*'); | |
| const types = []; | |
| for (let ev in window) { | |
| if (/^on/.test(ev)) types[types.length] = ev; | |
| } | |
| for (let i = 0; i < allElements.length; i++) { | |
| const currentElement = allElements[i]; |
| <?php | |
| /** | |
| * ROUTES: | |
| * (Authorization header with api key is required for user session) | |
| * | |
| * /register | |
| * method - post | |
| * params - name, email, password | |
| * |
This code generates an HTML table based from a CSV file. This is from the tutorial by Christophe Viau.
In trying his code example, I discovered that the code doesn't work as-is, so I figured others might like to see a working d3.js example that did not rely on a pre-existing container HTML element.
The code remains the same except for some cosmetic tweaks.
The task of writing the CSS is left as an exercise for the reader.
| /** | |
| * More info? | |
| * a.dotreppe@aspyct.org | |
| * http://aspyct.org | |
| * | |
| * Hope it helps :) | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> |
| import java.io.*; | |
| public class TestProcessIO { | |
| public static boolean isAlive(Process p) { | |
| try { | |
| p.exitValue(); | |
| return false; | |
| } | |
| catch (IllegalThreadStateException e) { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <pthread.h> | |
| #define M 3 | |
| #define K 2 | |
| #define N 3 | |
| #define NUM_THREADS M * N | |
| /* Global variables for threads to share */ |