Skip to content

Instantly share code, notes, and snippets.

😂
h

Christine Dodrill Xe

😂
h
Block or report user

Report or block Xe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View main.go
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"time"
)
View main.go
package main
import (
"errors"
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
View gist:5cdf220296e3a7a6fc9d779906f042b5
//os global Good news all! We are glad to announce the official partnership between PonyChat and the Pusher and Shover robots! We hope to learn a lot from and share with them to make things better for everypony. Good stuff is on the way!
//os global send
WAIT 5 MINUTES
//os global Okay, the pusher robot apparently shoves around blind people, and the shover robot pushes bread down their throats. However, we're all okay thanks to them being here to protect us from the terrible secret of space.
//os global send
WAIT 5 MINUTES
View Matrix PonyChat Blockers.markdown

General or Things PonyChat Can Fix

  • RFC 1459 (plus IRCv3 caps) gateway (allow existing IRC clients/bots to be seamlessly connect to Matrix instead of elemental-ircd)
    • Underway as Project Morpheus
    • Client scripts to use some of the newer features
    • Have it emulate unrealircd
  • Comprehensive migration documentation for people wanting to use the new thing
    • Blogposts!
    • How common irc-isms translate to Matrix-isms
View printerfact.py
from util import hook
import requests, re
@hook.command
def printerfact(inp, say=None):
r = requests.get('https://catfacts-api.appspot.com/api/facts?number=1')
fact = r.json()['facts'][0]
regex = re.compile(re.escape("cat"), re.IGNORECASE)
return regex.sub("printer", fact)
View gist:19d9d531638d30659dfb
----------[4.907]
~tasfyn-partyv= a private conversation makes me think of trust graphs
~tasfyn-partyv= should we obey an order we get over the network?
~tasfyn-partyv= appliances shouldn't decide this on their own
----------[4.910]
~tasfyn-partyv= they need a system service that maps sender to trust
~tasfyn-partyv= where trust level is, say, 0 == enemy, 3 == absolute
~tasfyn-partyv= also for security, we need an installation bit
~tasfyn-partyv= which is roughly: trusted or untrusted appliance
~tasfyn-partyv= when an untrusted appliance acts, its actions are
@Xe
Xe / dark-compact.css
Last active Sep 17, 2015 — forked from acous/dark-compact.css
early dark theme for Shout irc
View dark-compact.css
body {
background: #333;
color: #CCC;
font: 16px Lato, sans-serif;
margin: 0;
}
#main {
background: #222;
border-radius: 0px;
bottom: 0px;
@Xe
Xe / frag32.py
Last active Sep 6, 2015 — forked from ryancdotorg/frag32.py
A FAT32 fragmenter, because I am a horrible person.
View frag32.py
#!/usr/bin/env python
import random
import struct
import sys
# Most of the Fat32 class was cribbed from https://gist.github.com/jonte/4577833
def ppNum(num):
return "%s (%s)" % (hex(num), num)
View Main.hs
{-# LANGUAGE OverloadedStrings #-}
import System.IO.Streams (InputStream, OutputStream, stdout)
import qualified System.IO.Streams as Streams
import qualified Data.ByteString as S
import Network.Http.Client
main :: IO ()
main = do
View oracle's_cso's_blog_post_-_mary_ann_davidson.md

No, You Really Can’t

By User701213-Oracle on Aug 10, 2015

Note: this was removed from Oracle's site. I thought this was so humorous that I had to share it here.

I have been doing a lot of writing recently. Some of my writing has been with my sister, with whom I write murder mysteries using the nom-de-plume Maddi Davidson. Recently, we’ve been working on short stories, developing a lot of fun new ideas for dispatching people (literarily speaking, though I think about practical applications occasionally when someone tailgates me).

Writing mysteries is a lot more fun than the other type of writing I’ve been doing. Recently, I have seen a large-ish uptick in customers reverse engineering our code to attempt to find security vulnerabilities in it. This is why I’ve been writing a lot of letters to customers that start with "hi, howzit, aloha" but end with "please comply with your license agreement and stop reverse engineering our code, already."

You can’t perform that action at this time.