yarn
yarn start
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
openapi: 3.1.0 | |
info: | |
title: Foxglove API | |
version: "1" | |
x-logo: | |
url: https://foxglove.dev/images/logo-icon-round.png | |
description: | | |
Api documentation for foxglove services. |
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
openapi: 3.0.0 | |
info: | |
title: Sample API | |
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML. | |
version: 0.1.9 | |
servers: | |
- url: http://api.example.com/v1 | |
description: Optional server description, e.g. Main (production) server | |
- url: http://staging-api.example.com | |
description: Optional server description, e.g. Internal staging server for testing |
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
// The ./types module provides helper types for your Input events and messages. | |
import { Input, Message } from "./types"; | |
// Your node can output well-known message types, any of your custom message types, or | |
// complete custom message types. | |
// | |
// Use `Message` to access your data source types or well-known types: | |
// type Twist = Message<"geometry_msgs/Twist">; | |
// | |
// Conventionally, it's common to make a _type alias_ for your node's output type |
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
{ | |
"header": { | |
"stamp": { | |
"sec": 123, | |
"nsec": 123, | |
}, | |
"frame_id": "", | |
"seq": 0, | |
}, | |
"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
const worker = new Worker(new URL("./worker.js", import.meta.url)); | |
const input = document.createElement("input"); | |
input.type = "file"; | |
document.body.appendChild(input); | |
input.onchange = (ev) => { | |
const file = ev.target.files[0]; | |
worker.postMessage({ file }); | |
}; |
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
"syntax": "proto3", | |
"root": { | |
"name": "", | |
"fullName": "", | |
"syntaxType": "ProtoRoot", | |
"nested": { | |
"Person": { | |
"name": "Person", | |
"fullName": ".Person", |
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
{ | |
"action": { | |
"type": "SAVE_PANEL_CONFIGS", | |
"payload": { | |
"configs": [ | |
{ | |
"id": "onboarding.welcome!24okipi", | |
"config": {} | |
} | |
] |
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
const HID = require("node-hid"); | |
const vendorId = 4617; | |
const productId = 17185; | |
async function main() { | |
const device = new HID.HID(vendorId, productId); | |
device.on("error", (err) => { | |
console.error(err); |
To limit a CPU to a certain C-state, you can pass the processor.max_cstate=X
option in the kernel
line of /boot/grub/grub.conf
.
Here we limit the system to only C-State 1:
kernel /vmlinuz-2.6.18-371.1.2.el5 ... processor.max_cstate=1
On some systems, the kernel can override the BIOS setting, and the parameter intel_idle.max_cstate=0
may be required to ensure sleep states are not entered:
NewerOlder