Skip to content

Instantly share code, notes, and snippets.

View gwaland's full-sized avatar

Bobby Walker gwaland

View GitHub Profile
@gwaland
gwaland / gist:32f26145af1f304f699fe4c332a01ffc
Created May 20, 2025 03:14
Node red for alerting moisture sensor.
[
{
"id": "746e7ebf98a3cb2b",
"type": "server-state-changed",
"z": "496cdd279dbc3ce2",
"name": "lemon tree dry",
"server": "1a8df0b9.30e50f",
"version": 6,
"outputs": 2,
"exposeAsEntityConfig": "",

Keybase proof

I hereby claim:

  • I am gwaland on github.
  • I am gwaland (https://keybase.io/gwaland) on keybase.
  • I have a public key whose fingerprint is 15E6 88AC A7AA BEE6 4DD3 2FC2 BE58 DC83 32DF 4731

To claim this, I am signing this object:

@gwaland
gwaland / piu-ubu-mk6
Last active August 29, 2015 14:04
Installing on a MK6
1. install ubuntu 14.04 from mini.iso with no options except ssh on a sata drive. Name user 'piu'
2. log in, sudo to root.
3. apt-get install mesa-common-dev libglu1-mesa-dev libxtst-dev libxrandr-dev libpng12-dev libjpeg8-dev zlib1g-dev libbz2-dev libogg-dev libvorbis-dev libc6-dev yasm libasound-dev libpulse-dev libjack-dev libglew1.6-dev binutils-dev libgtk2.0-dev libmad0-dev automake nvidia-173 xserver-xorg git gawk mesa-utils xinit alsa-base
4. ln -sf /dev/null /etc/udev/rules.d/70-persistent-net.rules
5. sed -i s/GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"nomodeset\"/g /etc/default/grub
6. sed -i s/#GRUB_TERMINAL=console/GRUB_TERMINAL=console/g /etc/default/grub
7. sed -i s/#GRUB_GFXMODE=640x480/GRUB_GFXMODE=640x480/g /etc/default/grub
8. update-grub
9. echo 'chmod a+wrx /dev/piuio0' >> /etc/rc.local