Skip to content

Instantly share code, notes, and snippets.

View Rodney-Smith's full-sized avatar

Rodney Smith Rodney-Smith

  • Sacramento, CA
View GitHub Profile
@Rodney-Smith
Rodney-Smith / aqara_magic_cube.yaml
Last active October 24, 2021 22:59
Aquara Magic Cube
blueprint:
name: Aqara Magic Cube
description: Control anything using the Aqara Magic Cube. v1.0
domain: automation
input:
remote:
name: Magic Cube
description: Select the Aqara Magic Cube device
selector:
entity:
@Rodney-Smith
Rodney-Smith / smartctl.md
Last active May 11, 2021 21:24
Raspberry Pi Geekworm X829 Dual 2.5" SATA SSD Shield

Commands for testing hdd with smartctl

install smartmontools

$ sudo apt-get install smartmontools

edit "/var/lib/smartmontools/drivedb/drivedb.h" and add the following text:

@Rodney-Smith
Rodney-Smith / Understanding PowerShell Profiles.md
Last active May 14, 2020 23:13
Understanding PowerShell Profiles

Understanding PowerShell Profiles

You can have four different profiles in Windows PowerShell. The profiles are listed in load order. The most specific profiles have precedence over less specific profiles where they apply.

%windir%\system32\WindowsPowerShell\v1.0\profile.ps1

This profile applies to all users and all shells.

%windir%\system32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1

Keybase proof

I hereby claim:

  • I am rodney-smith on github.
  • I am rodneysmith (https://keybase.io/rodneysmith) on keybase.
  • I have a public key ASCguBiX76uAOScI8u-Z6ejI24-PEY1bhkCzA7V8uTNbkQo

To claim this, I am signing this object: