Skip to content

Instantly share code, notes, and snippets.

@camerahacks
camerahacks / Rock_CM3_Setup.md
Last active June 9, 2023 00:17
Rock CM3 Setup

Radxa Rock CM3 on a CM4 carrier board

Out of the box, the Radxa Rock CM3 does not work with boards designed for the Raspberry Pi CM4. Here are the steps to get the most functionlity working on a CM4 board.

Before we get started, if you appreciate the work I do with rpilocator.com, hwlocator.com, and dphacks.com, consider buying me a coffee.

ko-fi

First Boot Config

@Blackshome
Blackshome / sensor-light.yaml
Last active May 2, 2024 18:36
Home Assistant Sensor Light that can be used in Blueprints
blueprint:
name: Sensor Light
description: >
# 💡 Sensor Light
**Version: 6.5**
Your lighting experience, your way - take control and customize it to perfection! 💡✨
@dragon788
dragon788 / gitlab-local.sh
Last active October 15, 2021 14:11
Updated gitlab-runner supporting docker in docker
#!/usr/bin/env bash
set -euo pipefail
usage () {
echo "Usage: $(basename $0) {up|down|[job stage]}"
echo "[job stage] - defaults to "build" and supports multiple comma delimited jobs"
echo "$(basename $0) test,build"
}
@PeteGoo
PeteGoo / entrypoint-from-ssm-env-vars.sh
Last active February 13, 2023 10:51
Helpful SSM Parameter Store scripts
#!/bin/bash
# To use just set a variable with SSM_<target_env_var>=<ssm_parameter_store_path>
# e.g. SSM_database_password=prod/myservice/database-password
function get_parameter {
SSM_ENV_VAR_NAME=$1
ENV_VAR_NAME=`echo "$SSM_ENV_VAR_NAME" | cut -c5-`
SSM_PARAM_NAME="${!SSM_ENV_VAR_NAME}"