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
{"name":"Arduino IDE","icon":"settings-view-bar-icon","settings":"{\"settings\":\"{\\r\\n \\\"terminal.integrated.fontFamily\\\": \\\"Cascadia Code\\\",\\r\\n \\\"terminal.integrated.gpuAcceleration\\\": \\\"off\\\",\\r\\n \\\"editor.fontFamily\\\": \\\"Consolas, 'Courier New', sans-serif\\\",\\r\\n \\\"editor.formatOnPaste\\\": false,\\r\\n \\\"editor.autoClosingBrackets\\\": \\\"languageDefined\\\",\\r\\n \\\"workbench.startupEditor\\\": \\\"none\\\",\\r\\n \\\"C_Cpp.autocompleteAddParentheses\\\": true,\\r\\n \\\"terminal.integrated.cursorStyle\\\": \\\"line\\\",\\r\\n \\\"editor.bracketPairColorization.enabled\\\": false,\\r\\n \\\"editor.mouseWheelZoom\\\": true,\\r\\n \\\"[python]\\\": {\\r\\n \\\"editor.indentSize\\\": 4\\r\\n },\\r\\n \\\"vscode-serial-monitor.customBaudRates\\\": [\\r\\n 921600,\\r\\n 9600\\r\\n ],\\r\\n \\\"typescript.suggest.paths\\\": false,\\r\\n \\\"javascript.suggest.paths\\\": false,\\r\\n \\\"terminal.int |
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
sudo apt update | |
# Add repository | |
sudo add-apt-repository ppa:ubuntu-tegra/updates -y | |
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey \ | |
| sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg | |
curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list \ | |
| sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' \ | |
| sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list | |
sudo apt-get update |
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 | |
set -e | |
echo "Disabling cloud init services..." | |
echo "cloud-init cloud-init/datasources multiselect None -NoCloud -ConfigDrive -OpenNebula -DigitalOcean -Azure -AltCloud -OVF -MAAS -GCE -OpenStack -CloudSigma -SmartOS -Bigstep -Scaleway -AliYun -Ec2 -CloudStack -Hetzner -IBMCloud -Oracle -Exoscale -RbxCloud -UpCloud -VMware -Vultr -LXD -NWCS -Akamai" | sudo debconf-set-selections | |
echo "Purging cloud init package..." | |
sudo apt-get purge -y cloud-init |
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 | |
set -e | |
# === Konfiguration === | |
BSP_TARBALL=$(ls Jetson_Linux_R*.tbz2 | head -n1) | |
ROOTFS_TARBALL=$(ls Tegra_Linux_Sample-Root-Filesystem_R*.tbz2 | head -n1) | |
WORKDIR=$(pwd)/Linux_for_Tegra | |
echo "[1/6] Starte Vorbereitung..." | |
echo "Gefundenes BSP: $BSP_TARBALL" |
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
/* | |
ATtiny 85 | |
RESET -- [1 8] -- 5V | |
A3 3 -- [2 7] -- 2 A1 | |
A2 4 -- [3 6] -- 1 (PWM) | |
GND -- [4 5] -- 0 (PWM) | |
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
function Write-Header { | |
param ( | |
[Parameter(Mandatory = $true)] [array] $Items, | |
[Parameter(Mandatory = $true)] [int] $Selected, | |
[Parameter(Mandatory = $false)] [int] $StartX = 0, | |
[Parameter(Mandatory = $false)] [int] $StartY = 0, | |
[Parameter(Mandatory = $false)] [int] $Width = $Host.UI.RawUI.WindowSize.Width | |
) | |
[Console]::SetCursorPosition($StartX, $StartY) |
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
@echo off | |
setlocal EnableDelayedExpansion | |
goto :start | |
:: Poll key press and run callback function | |
:: | |
:: < %1 = Label of function to call on key press UpArrow | |
:: < %2 = Label of function to call on key press DownArrow | |
:get_key | |
set get_key_up_action=%1 |
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
blueprint: | |
name: 'Rotary Smart Knob Light Control' | |
description: | | |
Controls Brightness and Color Temperature of a Lamp using a Rotary Smart Knob. | |
domain: automation | |
input: | |
rotary_smart_knob: | |
name: 'Rotary Smart Knob' | |
description: 'The Rotary Smart Knob for control.' |
NewerOlder