Skip to content

Instantly share code, notes, and snippets.

View dorisentomari's full-sized avatar
🎯
Focusing

dorisentomari dorisentomari

🎯
Focusing
View GitHub Profile
@jperkin
jperkin / rpio.md
Last active October 13, 2023 16:56
Raspberry Pi GPIO Comparison

Comparing node.js GPIO implementations

Here are two simple programs testing the performance of my rpio library against popular alternatives which use the /sys interface (with the number of npm stars indicated for a rough idea of popularity).

rpi-gpio (9 stars)

This test is based on an example on the rpi-gpio page.

As modules which uses /sys depend upon asynchronous behaviour they require callbacks to ensure that the next operation starts only when the previous one has completed.

@zxhfighter
zxhfighter / tslint.md
Created July 9, 2017 02:31
tslint 和 codelyzer 规则

TSLint 和 Codelyzer 核心规则

[TOC]

TSLint 核心规则

see tslint core rules

arrow-return-shorthand