Skip to content

Instantly share code, notes, and snippets.

View jacobrosenthal's full-sized avatar

Jacob Rosenthal jacobrosenthal

View GitHub Profile
/**
* Remember, you have access these globals:
* 1. df - Just like the df object in your console.
* 2. ui - For interacting with the game's user interface.
* 3. plugin - To register the plugin, plus other helpful things.
*
* Let's log these to the console when you run your plugin!
*/
console.log(df, ui, plugin);
class Plugin {
/**
* Remember, you have access these globals:
* 1. df - Just like the df object in your console.
* 2. ui - For interacting with the game's user interface.
* 3. plugin - To register the plugin, plus other helpful things.
*
* Let's log these to the console when you run your plugin!
*/
console.log(df, ui, plugin);
class ArtifactsFinder {
/**
* Remember, you have access these globals:
* 1. df - Just like the df object in your console.
* 2. ui - For interacting with the game's user interface.
* 3. plugin - To register the plugin, plus other helpful things.
*
* Let's log these to the console when you run your plugin!
*/
console.log(df, ui, plugin);
class ArtifactsFinder {
/**
* Remember, you have access these globals:
* 1. df - Just like the df object in your console.
* 2. ui - For interacting with the game's user interface.
* 3. plugin - To register the plugin.
*
* Let's log these to the console when you run your plugin!
*/
console.log(df, ui, plugin);
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "arrivalId",
"type": "uint256"
}
jacob@j:~/Downloads/atsamd/boards/pygamer (tfmicro)$ cargo flash --example blinky_basic --release --chip ATSAMD51J19A --log trace
Finished release [optimized + debuginfo] target(s) in 0.11s
DEBUG cargo_project > Project::query(path=/home/jacob/Downloads/atsamd/boards/pygamer): root=/home/jacob/Downloads/atsamd/boards/pygamer
DEBUG cargo_project > workspace search: cwd=/home/jacob/Downloads/atsamd/boards
Flashing /home/jacob/Downloads/atsamd/boards/pygamer/target/thumbv7em-none-eabihf/release/examples/blinky_basic
DEBUG jaylink > libusb 1.0.23.11397
DEBUG jaylink > libusb has capability API: true
DEBUG jaylink > libusb has HID access: true
DEBUG jaylink > libusb has hotplug support: true
DEBUG jaylink > libusb can detach kernel driver: true
jacob@j:~/Downloads/nrf52-hal/boards/nRF52840-DK (master)$ RUST_LOG=debug cargo flash --release --example blinky --chip nRF52840_xxAA
Finished release [optimized + debuginfo] target(s) in 0.06s
DEBUG cargo_project > Project::query(path=/home/jacob/Downloads/nrf52-hal/boards/nRF52840-DK): root=/home/jacob/Downloads/nrf52-hal/boards/nRF52840-DK
DEBUG cargo_project > workspace search: cwd=/home/jacob/Downloads/nrf52-hal/boards
DEBUG cargo_project > found workspace: cwd=/home/jacob/Downloads/nrf52-hal/boards, outer_root=/home/jacob/Downloads/nrf52-hal, members=["boards/adafruit_nrf52pro", "boards/adafruit-nrf52-bluefruit-le", "boards/nRF52-DK", "boards/nRF52840-DK", "boards/nRF9160-DK", "boards/actinius-icarus", "nrf52810-hal", "nrf52832-hal", "nrf52840-hal", "nrf9160-hal", "examples/rtfm-demo", "examples/spi-demo", "examples/twi-ssd1306"]
DEBUG cargo_project > workspace search: cwd=/home/jacob/Downloads
Flashing /home/jacob/Downloads/nrf52-hal/target/thumbv7em-none-eabihf/release/examples/blinky
DEB
jacob@j:~/Downloads/microbit (master)$ RUST_LOG=debug cargo flash --release --example blinky --chip nRF51422_xxAA
Finished release [optimized + debuginfo] target(s) in 0.02s
DEBUG cargo_project > Project::query(path=/home/jacob/Downloads/microbit): root=/home/jacob/Downloads/microbit
DEBUG cargo_project > workspace search: cwd=/home/jacob/Downloads
Flashing /home/jacob/Downloads/microbit/target/thumbv6m-none-eabi/release/examples/blinky
DEBUG jaylink > libusb 1.0.21.11156
DEBUG jaylink > libusb has capability API: true
DEBUG jaylink > libusb has HID access: true
DEBUG jaylink > libusb has hotplug support: true
DEBUG jaylink > libusb can detach kernel driver: true
@jacobrosenthal
jacobrosenthal / name.sublime-project
Created February 1, 2020 05:42
rust no_std sublime project configuration
{
"folders": [
{
"path": "."
}
],
"settings": {
"LSP": {
"rls": {
"settings": {
@jacobrosenthal
jacobrosenthal / 50ba1f2.diff
Created January 20, 2020 18:33
usbtake3 vs 50ba1f2
diff --git a/his-no-fail b/interrupts-and-dadd-and-rxstp-noep0
index 1bb2661..b8ad1c8 100644
--- a/his-no-fail
+++ b/interrupts-and-dadd-and-rxstp-noep0
@@ -1,4 +1,5 @@
+
******** UsbBus::new
UsbBus::alloc_ep dir=In addr=None type=Interrupt max_packet_size=8 interval=255