Skip to content

Instantly share code, notes, and snippets.

# To put into rear brake service mode
Parking break is engaged
Turn the key on
- Disengange the parking brake
Turn the key off
Turn the key and do the following within 8 seconds
- press the brake pedal and hold it
- - engange/pull/up parking brake 3 times
- - release/push/down parking brake 3 times
@aderesh
aderesh / gist:43a67762afdf89fb13f98509bdf40035
Last active August 7, 2023 23:17
How to descale Nespresso Vertuo Plus

Controls:

Indicator: is an inidcator around the brew button that is usually green. When descaling is required, the left part of indicator is green and right is part is orange Lid button: can be pressed UP (to open a lid) or DOWN (to shut down the machine, navigate in service mode, etc).

Descaling steps

  1. Open the lid and remove any coffee capsule left (LID button UP)
  2. Close the lid (LID button DOWN)
  3. Fill up the tank and add the descaler (pink liquid)
  4. Turn of the machine by pressing the LID button DOWN for 3 seconds. The indicator should be off
  5. Press the BREW button and LID DOWN button simulatenously for 3 seconds until indicator becomes solid ORANGE then release. You're in the service mode.
@aderesh
aderesh / gist:a983ce42b1ceeaa473ca249a1ebf84b9
Last active November 9, 2022 17:23
CM4/Supe6C chip heigh dimensions
CPU over the board: 2.18 mm
Memory: 0.84mm
Switch chip dimensions for heatsink 12mmx18mm
CPU + silicon pad = 2.18 mm + 0.5mm = 2.68 mm.
2.68 mm is the highest point. Ideally, it should be lower than that because we can squeeze silicon thermal pads up to 2.18
Memory + silicon pad = 2.68mm - 0.84 = 1.84 mm (2mm) of pad needed
@aderesh
aderesh / help.md
Created October 10, 2022 03:28
How to configure NFS on WD Cloud 5.24.108 to connect from Raspberry PI

In WD cloud

  1. In Settings->Network, turn on NFS Service
  2. Go to Shares, and select the Share you would like to use from Raspberry Pi. E.g. Transmission
  3. Click on NFS Access
  4. Click on configure>>>. For some reason, you have to click on this button
  5. You can restrict IP Hosts that can connect and wether a client can drive. Press 'Ok'

In Raspbery PI (ssh)

  1. Create your mount folder. E.g. /mnt/nfs
  2. sudo mount -t nfs :/nfs/ /mnt/nfs. For instance, sudo mount -t nfs 192.168.0.3:/nfs/Transmission /mnt/nfs
@aderesh
aderesh / kql-cheat-sheet.md
Last active April 13, 2022 00:37
KQL cheat sheet
@aderesh
aderesh / vault.md
Last active January 16, 2023 23:51
HashiCorp Vault Cheat Sheet

DEV Server

Start DEV server

vault server -dev

Before login

Set vault address before log in

$env:VAULT_ADDR="http://127.0.0.1:8200"
@aderesh
aderesh / ESPCanSelfTest.ino
Created January 8, 2022 04:07
ESP32 Arduino can self test sample
// sample url: https://github.com/espressif/esp-idf/tree/327c221/examples/peripherals/can/can_self_test
// connect GPIO 21 and GPIO 23 if you don't have a tranciever
///////////////////////
/* CAN Self Test Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
set number
set ignorecase
syntax on
set belloff=all
":autocmd InsertEnter,InsertLeave * set cul!