Skip to content

Instantly share code, notes, and snippets.

View goodc0re's full-sized avatar

goodc0re goodc0re

View GitHub Profile
@goodc0re
goodc0re / nip-39.txt
Last active March 11, 2023 04:33
NIP-39 verification
Verifying that I control the following Nostr public key: npub1g00dhtl0xayv87g5dwtpexu8506umvwvk5957kysusy8q23855rqzk79ys
@goodc0re
goodc0re / update_dash_mns.yml
Created September 22, 2021 07:35
Ansible playbook to update a dash masternode without dashman on Ubuntu
# update_dash_mns.yml
---
- hosts: dash_masternodes
vars_files: vault.yml
become: yes
become_method: sudo
tasks:
- name: 'Ensure dashd job is no longer present. Removes any job that is prefixed by "#Ansible: dashd" from the crontab'
ansible.builtin.cron:
@goodc0re
goodc0re / checkdiskspaceall.yml
Created July 14, 2019 04:32
Ansible playbook that checks if there is less than 95% free disk space
# checkdiskspaceall.yml
---
- hosts: zcoin_masternodes
vars_files: vault.yml
become: yes
become_method: sudo
gather_facts: yes
tasks:
- name: Collect only facts about hardware
setup:
@goodc0re
goodc0re / update_zcoin_mns.yml
Last active December 20, 2019 09:54
Ansible playbook to update a zcoin masternode on Ubuntu, update Ubuntu with apt and reboot if needed
# update_zcoin_mns.yml
---
- hosts: zcoin_masternodes
vars_files: vault.yml
become: yes
become_method: sudo
tasks:
- name: Download zcoin binary
become: no
get_url: