Skip to content

Instantly share code, notes, and snippets.

View metasikander's full-sized avatar

Sikander metasikander

View GitHub Profile
@metasikander
metasikander / NIP-05_Simple_Guide.md
Last active February 13, 2024 20:09
A small minimal guide on setting up NIP-05 identifier on branle/nostr

This is a very basic guide, just to understand what's needed to set it up.
If you have any questions you can find me at https://nostr.com/8355095016fddbe31fcf1453b26f613553e9758cf2263e190eac8fd96a3d3de9

Prerequisite

Setup static file on server

Create a file that resolves to <domain>/.well-known/nostr.json, and fill it out like this (enter the name you want to use, and input your own public key, make sure its the HEX-key):

{
Identity added: /tmp/awx_253_ur65d3pr/artifacts/253/ssh_key_data (/tmp/awx_253_ur65d3pr/artifacts/253/ssh_key_data)
SSH password:
BECOME password[defaults to SSH password]:
PLAY [Swapfile playbook] *******************************************************
TASK [Gathering Facts] *********************************************************
ok: [usff02]
TASK [create swapfile] *********************************************************
fatal: [usff02]: FAILED! => {"changed": true, "cmd": ["fallocate", "-l", "2G", "/swapfile"], "delta": "0:00:00.002270", "end": "2020-02-20 06:49:02.576780", "msg": "non-zero return code", "rc": 1, "start": "2020-02-20 06:49:02.574510", "stderr": "fallocate: cannot open /swapfile: Permission denied", "stderr_lines": ["fallocate: cannot open /swapfile: Permission denied"], "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************
usff02 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0
@metasikander
metasikander / swapfile.yml
Created February 20, 2020 05:45
an ansible playbook to set up a swapfile
---
- name: Swapfile playbook
hosts: all
become: yes
tasks:
- name: create swapfile
command: fallocate -l 2G /swapfile
args:
creates: /swapfile

Modulbasert RPG karakterark

Et universelt karakterark hvor alt er sitt eget objekt, med effekter og funksjoner.

Karakterark/baseoppsett

oversikt over alle verdier og objekter tilhørende karakteren

  • baseverdier

Battlemode

ett eget view tilpasset til kamper

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDZx7Xh6baYOzSou+rxY2YtqbC2mxN2qXEPc5O+B5r0bA7zqafPSIyVXTjSeBWyALL2S+hah6QrWNwvclj+6edP8AleaTR7wXKiS8uX+Du4jkOugS1RYo/hbL5UuzndyNnSPK+KgFyFohCNsD52GSUy/pkeN91pdA/V31AJzSpAAelDj1an/VIvHvcY1I9pDf9s7m65XA4T5fAGr7hnFosyHFKFq2sZcTaH9ViVNa2Y0kDPr36OuJury6DdfLC2tDdOju+hEk6O4QL6WeWvD5sE9mnvB8FeM+1azi+NCSxk0+645357JznGpw54koguIUy/dY+6tC05tb1rUFHGg8M/xj7ysGad98wZJdMS++4C2MTqFQU5yYg52tylcS8eRrwvznsmfyst8uCFMIxxq6CZl/TzJFM0O9iX2YvYypuwJy0TlePueNq+pgrgTbIkw4Jwiutegf/5xtW6NsAGVv42RpvfZEcmjogLF1dEqVQTysjMQWL4ivSU1EYgxNblCpMJ2XdhNmWEWLi11ynUYp4fKl4BBWEW4d48cCqjmqdQ0Vi9JqQSRpjdmKjxLFvR4kONQKRYEHhEcJGoOz5evMdjPTLfGYvMB/AsWmRFOAg1tTtblOMYP9kz7GW8rjSj9WQ0BT2fC0XRMf3suvA9ogx5jeBnkCgNYn3FKWYtlBu8bQ== /home/sikander/.ssh/[email protected]

Keybase proof

I hereby claim:

  • I am metasikander on github.
  • I am metasikander (https://keybase.io/metasikander) on keybase.
  • I have a public key whose fingerprint is 12D8 4AE7 1BA9 6BCB E362 207F 1E1D C6CD C2E5 9D10

To claim this, I am signing this object:

Verifying that +metasikander is my blockchain ID. https://onename.com/metasikander