- Bambulab printer (A1 mini, A1, P1P, P1S, X1, X1C, X1E).
- Home Assistant with experience how to use it.
- Google account (i.e. Gmail)
This file contains 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
// https://zoo.dev/docs/kcl-samples/a-parametric-bearing-pillow-block | |
// rewritten as a function. | |
// MARUEL: Currently not working as I don't know how to boolean merge two extrudes. | |
// A Parametric Bearing Pillow Block | |
// A bearing pillow block, also known as a plummer block or pillow block bearing, is a pedestal used to provide support for a rotating shaft with the help of compatible bearings and various accessories. Housing a bearing, the pillow block provides a secure and stable foundation that allows the shaft to rotate smoothly within its machinery setup. These components are essential in a wide range of mechanical systems and machinery, playing a key role in reducing friction and supporting radial and axial loads. | |
fn bearingPillowBlock = (length, width, height, cbDepth, cbDia, holeDia, padding, bearingDia) => { | |
// (Needs to be updated). Sketch the block and extrude up to where the counterbore diameter starts. | |
block = startSketchOn('XY') |
This file contains 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 | |
# Copyright 2024 Marc-Antoine Ruel | |
# Original at https://gist.github.com/maruel/ffbcd83f204561346bbe3cc51682e7af | |
# | |
# Merges mp4 from Tesla Sentry into 4 videos files: front.mp4, back.mp4, | |
# left_repeater.mp4, right_repeater.mp4. Overlay the timestamp on the video. | |
# | |
# Usage: | |
# - Install ffmpeg. | |
# - Copy all the files from your Tesla Sentry USB key in a directory. |
This file contains 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
- id: '123' | |
alias: 'Salle chauffage: Exhaust on' | |
description: '' | |
trigger: | |
- platform: numeric_state | |
entity_id: | |
- sensor.x1c_vitesse_du_ventilateur_de_refroidissement | |
above: 0 | |
- platform: numeric_state | |
entity_id: |
This file contains 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
https://man7.org/linux/man-pages/man1/dd.1.html | |
dd bs=4M if=/dev/nvme2n1 of=/dev/nvme1n1 conv=noerror status=progress | |
BAD 4M blocks: | |
565+1 (1.8GiB) | |
580+2 (2.2GiB) | |
1639+3 (6.3GiB) | |
241689+4 (944GiB) |
This file contains 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 | |
# This script requires https://github.com/newren/git-filter-repo/ to be in PATH. | |
PATH=$HOME/src-oth/git-filter-repo:$PATH | |
set -eux | |
function makepkg { | |
PKG=$1 | |
shift |
This file contains 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 | |
# Copyright 2021 Marc-Antoine Ruel. No rights reserved. | |
# Official version at https://gist.github.com/maruel/e99622298891cc856044e8c158a83fdd | |
# | |
# Used the following as reference: | |
# - https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network | |
# - https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html | |
# - https://youtu.be/BXFGEGO8UY0 | |
# | |
# I recommend looking at all 3 references before moving on. |
This file contains 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
abgib | |
abvondel | |
acho | |
aco | |
acoqu | |
ada | |
agcid | |
agcoch | |
aikligpyu | |
aip |
This file contains 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
abawmein | |
abmeipi | |
abtalv | |
abwobwafs | |
abwub | |
aciktinyi | |
aciorleu | |
acirc | |
ackuiva | |
acshathjax |
This file contains 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 | |
# Ref: | |
# https://chromium.googlesource.com/chromium/src/+/master/docs/#checking-out-and-building | |
# | |
# Note: the instructions say to use "fetch --nohooks chromium" but we'll do it | |
# manual here since we want to fetch the minimal amount of data and fetch a | |
# release branch instead of the tip of tree. | |
set -eux |
NewerOlder