- https://alexharri.com/blog/jsdoc-as-an-alternative-typescript-syntax
- https://dev.to/samuel-braun/boost-your-javascript-with-jsdoc-typing-3hb3
Here's how you can do it for common primitive types:
Here's how you can do it for common primitive types:
#!/usr/bin/env bash | |
#=========================================================================== | |
# Works only with the official image available in the Mac App Store. | |
# Make sure you download the official installer before running this script. | |
#=========================================================================== | |
# Change this at your desire. Sometimes this works out of the box, sometimes not. | |
# Default size: ~16 GB | |
DISK_SIZE="15361m" |
#!/bin/bash | |
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
# Used to provide DDNS service from anywhere | |
# DNS redord needs to be pre-created on Cloudflare | |
# Proxy - uncomment and provide details if using a proxy | |
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
# Cloudflare zone is the zone which holds the record |
#!/usr/bin/env bash | |
#=========================================================================== | |
# Works only with the official image available in the Mac App Store. | |
# Make sure you download the official installer before running this script. | |
#=========================================================================== | |
# Change this at your desire. Sometimes this works out of the box, sometimes not. | |
# Default size: ~13.5 GB | |
DISK_SIZE="13000m" |
#!/usr/bin/env bash | |
#=========================================================================== | |
# Works only with the official image available in the Mac App Store. | |
# Make sure you download the official installer before running this script. | |
#=========================================================================== | |
hdiutil create -o /tmp/Catalina.cdr -size 9000m -layout SPUD -fs HFS+J | |
hdiutil attach /tmp/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction | |
hdiutil detach "/Volumes/Install macOS Catalina" |
vicare_outside_temperature: | |
friendly_name: "Aussentemperatur" | |
unit_of_measurement: '°C' | |
value_template: "{{ state_attr('climate.vicare_heating', 'outside_temperature') }}" | |
vicare_desired_temperature: | |
friendly_name: "Zieltemperatur" | |
unit_of_measurement: '°C' | |
value_template: "{{ state_attr('climate.vicare_heating', 'temperature') }}" |
#include <Arduino.h> | |
#include <WiFi.h> | |
#include <driver/dac.h> | |
const int dataPin = 4; // Blinkt pin 16 | |
const int clockPin = 5; // blinkt pin 18 | |
const int numLEDs = 8; | |
uint8_t pixels[numLEDs * 3]; | |
void spi_out(uint8_t n) { |
#cloud-config | |
hostname: host-0815 | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA61LSHA7iU+82Z2qypYLx2gB9uHydUOoDON30ceAKl5dSgzShtF5XS5sqABYBMowDcvdkNyUDdt1Druv82iu/scATLFmxTQ8R2XIL33dMO6IpBg0d3WQcU5Xqeor9s5LTpln7F0V+9vaYG/nXqQtnz4PEnZGA+f9ddHuvcDajqKLNTDyriL87E6HAfjNU+1ShI2Qv8Zqhq8rYW0zkn2C+4vVKpgzq8B91R7hSXZwUTU9+bIq3uqTfe/t9/5hFNZEUo/ezV25DFvWDmvKcXt1QRoLxL/NI7h00fEJY7QVh2eevtiA9BdthI2LHx2tm2LoMYHQVZUVljm033xh2UISx | |
runcmd: | |
- echo "true" > /home/rancher/provisioned | |
write_files: | |
- path: /etc/docker/certs.d/private-registry.internal/ca.crt |