This file contains hidden or 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
{ | |
"isodatetime": "2023-08-15T17:59:23.947191967Z", | |
"apps": [ | |
{ | |
"repoUrl": "https://git.flow3r.garden/rahix/nick-rahix", | |
"name": "Rahix' Nick", | |
"menu": "Badge", | |
"author": "rahix", | |
"description": "A custom nickname app with more purple and more comic sans.", | |
"version": "0" |
This file contains hidden or 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
{"isodatetime":"2023-08-15T17:42:41.387036174Z","apps":[{"repoURL":"https://git.flow3r.garden/rahix/nick-rahix","name":"Rahix' Nick","menu":"Badge","author":"rahix","description":"A custom nickname app with more purple and more comic sans.","version":0}]} |
This file contains hidden or 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
{ | |
"isodatetime": "2013-01-01T00:00:00.000Z", | |
"apps": [ | |
{ | |
"repoUrl": "https://github.com/rahix/flow3r-example", | |
"name": "flow3r-example", | |
"menu": "Apps", | |
"author": "Rahix", | |
"description": "An example app for flow3r", | |
"downloadUrl": "https://rust.jetzt/coolcrab.png", |
This file contains hidden or 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
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: MIT | |
"""THIS EXAMPLE REQUIRES A SEPARATE LIBRARY BE LOADED ONTO YOUR CIRCUITPY DRIVE. | |
This example requires the adafruit_irremote.mpy library. | |
THIS EXAMPLE WORKS WITH CIRCUIT PLAYGROUND EXPRESS ONLY. | |
This example uses the IR transmitter found near the center of the board. Works with another Circuit | |
Playground Express running the circuitplayground_ir_receive.py example. Press the buttons to light |
This file contains hidden or 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
# Enable sudo via touch ID | |
grep -qxF "auth sufficient pam_tid.so" /etc/pam.d/sudo || sudo sed -i '' '1 a\ | |
auth sufficient pam_tid.so | |
' /etc/pam.d/sudo |
This file contains hidden or 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
# Test TFF => If this prints 'Hello, World!' we're fine | |
import nest_asyncio | |
nest_asyncio.apply() | |
import tensorflow_federated as tff | |
tff.federated_computation(lambda: 'Hello, World!')() |
This file contains hidden or 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
def roc(true_class, predicted_score): | |
print(f"roc_macro_ovr={sklearn.metrics.roc_auc_score(true_class, predicted_score, average='macro', multi_class='ovr')}") | |
print(f"roc_macro_ovo={sklearn.metrics.roc_auc_score(true_class, predicted_score, average='macro', multi_class='ovo')}") | |
print(f"roc_weighted_ovr={sklearn.metrics.roc_auc_score(true_class, predicted_score, average='weighted', multi_class='ovr')}") | |
print(f"roc_weighted_ovo={sklearn.metrics.roc_auc_score(true_class, predicted_score, average='weighted', multi_class='ovo')}") | |
roc(true_class, self.model.predict(self.x_val)) |
This file contains hidden or 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
#!/bin/bash | |
############################################################################################################# | |
#Changelog # | |
############################################################################################################# | |
#Added prompts for user input to configure script instead of relying on hardcoded settings. | |
#Added a lot of errorchecking | |
#The script is now optionally compatible with dash (this is the reason for there being a sed command at the end of every echo -e instance, dash liked to print the -e part when I was testing.) | |
#Vastly improved compatibility across distributions | |
#Special thanks to everyone who contributed here: https://gist.github.com/i3v/99f8ef6c757a5b8e9046b8a47f3a9d5b | |
#Also extra special thanks to BAGELreflex on github for this: https://gist.github.com/BAGELreflex/c04e7a25d64e989cbd9376a9134b8f6d it made a huge difference to this improved version. |
This file contains hidden or 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
#include <Wiimote.h> | |
#include <HardwareSerial.h> | |
HardwareSerial oSerial(1); // RX, TX | |
typedef struct{ | |
int16_t steer; | |
int16_t speed; | |
uint32_t crc; | |
} Serialcommand; | |
Serialcommand oCmd; |
This file contains hidden or 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
height: 600 | |
license: mit |
NewerOlder