Skip to content

Instantly share code, notes, and snippets.

module Partfox
class Part
include DataMapper::Resource
property :part, Serial # since part numbers are xxxx, we just use
# a serial here.
property :class, String
property :value, String
---
hostname: ansitest.vulpes.lan
baseserv:
pf: "YES"
ugidfw: "NO"
sshd: "YES"
ntpd: "YES"
interfaces:
nick: foxiepaws
name: Allison Rachel Fennec
player: foxiepaws
general:
attr: # required section: any key/value pair can go here, keys will be title-cased and underbars will be replaced with spaces. examples follow.
age: 21
sex: intersex
gender: female
species: Red Fennec
build: average
[11:35:29 PM] friend1: changing subject how bout that trump
[11:35:41 PM] friend2: ...
[11:35:47 PM] friend2: we went rom uncomfy to sickening.
[11:35:50 PM] friend2: dammit friend1.
[11:35:53 PM] Allie Fox: LOL
[11:35:55 PM] friend1: meaning my what a fuckface
[11:36:06 PM] Allie Fox: i cannot talk about that on this kind of channel
[11:36:11 PM] friend2: trump honestly enrages me
[11:36:21 PM] Allie Fox: my choice words may land me on even more watchlists~
[11:36:30 PM] friend1: honestly
// HRT
function getTextNumber (n) {
var textuals = [ "a", "two", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "eleven" ];
if (n < 12 && n > 0) {
return textuals[n-1];
} else {
return n;
}
}
document.getElementById('hrt').innerHTML =
require 'datamapper'
class Book
include DataMapper::Resource
property :id, Serial
property :title, String
property :summary, Text
# associations to other models
belongs_to :author

Technical

Language

Ruby
I really enjoyed doing my last web app in sinatra, using liquid templates. It made a lot of things really really easy, but I didn’t actually use a database for that so I’d have to learn the Ruby DBA layer.
Perl
I know perl like the back of my hand. I write very good Perl

Technical

Language

Ruby
I really enjoyed doing my last web app in sinatra, using liquid templates. It made a lot of things really really easy, but I didn’t actually use a database for that so I’d have to learn the Ruby DBA layer.
Perl
I know perl like the back of my hand. I write very good Perl

Discloure

I know a lot of authors and readers don’t like the idea of a database like this that holds information about problematic themes in books, especally science fiction and fantasy. I’m creating this because I’m running into issues in my communities where people who have survived rape, and/or abuse (including myself!) are running into issues recommending books because things can honestly cause harm. This is not a blacklist of books. Inclusion does not make a book or author bad,

Discloure

I know a lot of authors and readers don’t like the idea of a database like this that holds information about problematic themes in books, especally science fiction and fantasy. I’m creating this because I’m running into issues in my communities where people who have survived rape, and/or abuse (including myself!) are running into issues recommending books because things can honestly cause harm. This is not a blacklist of books. Inclusion does not make a book or author bad,