Skip to content

Instantly share code, notes, and snippets.

@sharjeelaziz
sharjeelaziz / find_chia_plot.md
Last active August 29, 2023 23:47
Which Chia plot file found the proof?

How to find the Chia plot file that won the block?

  1. Search your receive address on Chia Explorer
  2. Scroll down the page to look at your farmer rewards
  3. Click on the reward for which you want to find the plot
  4. On the page that comes up, click on the Confirmed block index number
  5. Scroll down to find the proof_of_space.plot_public_key and copy the key

On your harvester/full node run the following command at the command prompt:

@palmerc
palmerc / userpic.sh
Last active May 26, 2024 10:44 — forked from acidprime/userpic.sh
Updating a user's picture from a script
#!/bin/bash
set -e
declare -x USERNAME="$1"
declare -x USERPIC="$2"
declare -r DSIMPORT_CMD="/usr/bin/dsimport"
declare -r ID_CMD="/usr/bin/id"
@korylprince
korylprince / merge.py
Last active October 31, 2023 02:01
Modify 10.13 (SFL2) Server Favorites list
#!/usr/local/munki/munki-python
# change the above path to your own python if you don't have Munki installed
"""
Merges add_servers into current favorites and removes remove_servers.
Run as root to update all users or as normal user to update just that user.
"""
import os
import getpass