Skip to content

Instantly share code, notes, and snippets.

View OpenNingia's full-sized avatar

Daniele OpenNingia

  • Italy
View GitHub Profile
@OpenNingia
OpenNingia / sheet_all.pdf.yml
Created May 14, 2019 17:06
Field names for common pages
en:
NAME: 'NAME'
CLAN: 'CLAN'
EXP: 'EXP'
SCHOOL: 'SCHOOL'
RANK: 'RANK'
INSIGHT: 'INSIGHT'
STAMINA: 'STAMINA'
REFLEXES: 'REFLEXES'
HONOR: 'HONOR'
@OpenNingia
OpenNingia / guerriero.md
Last active August 9, 2018 10:28
[D&D5e] Guerriero

GUERRIERO

Il Guerriero in 5e è un combattente forte e autosufficiente, dotato di capacità uniche. E' sicuramente il combattente più forte in assoluto, se si parla strettamente di efficacia in battaglia.
Hit Dice: d10.
Armor Proficiencies: tutte.
Weapon Proficiencies: tutte.
Tools: niente. Gli strumenti del guerriero sono i suoi muscoli.
Saving Throws: ovviemente Forza e Costituzione.
Skill: due a scelta a una piccola lista. Nella norma.

Features

@OpenNingia
OpenNingia / advantages.md
Last active February 21, 2024 03:45
[D&D 5E] Summary of situations causing advantage or disadvantage

[5E] Summary of situations causing advantage or disadvantage.

5th Edition

In another topic someone was wondering about the new advantage/disadvantage mechanic, and under which situations it comes into effect. Because basic rules don't include a dedicated list (understandable, as it's usually a side effect of a very wide variety of actions or situations) I wrote a summary with the information from the different instances where advantage or disadvantage are mentioned in the basic rules, just in case anyone else is curious. I separated it by context:


RACES

@OpenNingia
OpenNingia / safe_ptr.cpp
Last active December 21, 2016 10:48
Implementing a smart pointer that throws when dereferencing a nullptr
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <memory>
#include <utility>
#include <exception>
namespace mem {
class null_dereference_exception : public std::exception { };
#include <iostream>
#include <vector>
#include <array>
#include <unordered_set>
#include <algorithm>
#include <functional>
using std::cout;
using std::unordered_set;
@OpenNingia
OpenNingia / .rtorrent.rc
Created April 13, 2016 17:34 — forked from bryanjswift/.rtorrent.rc
rtorrent configuration file with description
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 1
max_peers = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
@OpenNingia
OpenNingia / terminal_color_scheme
Last active July 27, 2017 09:01
Simple script to apply Solarized color scheme to Pantheon Terminal
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Solarized theme for pantheon-terminal
see http://ethanschoonover.com/solarized
"""
import posixpath
import sys
from gi.repository import Gio