This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will provide write access, but not list or read access | |
resource "openstack_objectstorage_container_v1" "test" { | |
name = "test-container" | |
container_read = ".r:-${var.service_username}" | |
container_write = "${var.project_id}:${var.service_username}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyparsing import Word, Literal, alphas, alphanums, stringStart, ParserElement, ZeroOrMore,OneOrMore, Forward, Dict, Group, pythonStyleComment, lineStart, lineEnd, FollowedBy, dictOf, oneOf, NotAny, Regex | |
import re | |
DEBUG=True | |
ce = """custom_tooltip = { | |
fail_text = INVALID_RIVAL_DESC | |
is_country_type = default | |
} | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
znc::user{"aurynn": | |
admin => 'true', | |
ssl => 'true', | |
quitmsg => 'Taste the Rainbow.', | |
ident => 'skittles', | |
realname => "Very real.", | |
timezone => "Pacific/Auckland", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'greenletters' | |
znc = Greenletters::Process.new("znc -s") | |
pass = "foo" | |
salt = method = hash = nil | |
znc.start! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly stolen from the Twisted site | |
from twisted.internet import protocol, reactor, defer, stdio | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.endpoints import TCP4ClientEndpoint, connectProtocol | |
import json | |
class JsonEchoClient(LineReceiver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly stolen from the Twisted site | |
from twisted.internet import protocol, reactor, defer | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.endpoints import TCP4ServerEndpoint | |
import json | |
class JsonEchoServer(LineReceiver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly stolen from the Twisted site | |
from twisted.internet import protocol, reactor, defer | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.endpoints import TCP4ServerEndpoint | |
import json | |
class JsonEchoServer(LineReceiver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly stolen from the Twisted site | |
from twisted.internet import protocol, reactor, defer | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.endpoints import TCP4ServerEndpoint | |
import json | |
class JsonEchoServer(LineReceiver): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twisted.internet.protocol import Factory | |
from twisted.internet.endpoints import TCP4ClientEndpoint | |
from twisted.internet import reactor, defer | |
from twisted.protocols.basic import LineReceiver | |
import json | |
your_name = "aurynn" | |
class JsonProtocol(LineReceiver): | |
def __init__(self, *args): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shamelessly stolen from the Twisted site | |
from twisted.internet import protocol, reactor, defer | |
from twisted.protocols.basic import LineReceiver | |
from twisted.internet.endpoints import TCP4ServerEndpoint | |
import json | |
class JsonEchoServer(LineReceiver): |
NewerOlder