Skip to content

Instantly share code, notes, and snippets.

Janne Mareike Koschinski justjanne

Block or report user

Report or block justjanne

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 Aufgabe 1.md

Aufgabe 1

Vorüberlegungen:

Die Datenstruktur "Array" bietet für Blackboxtests immer sinnvollerweise schon mal die Äquivalenzklassen "leer", "ein Element", "ein paar Elemente" und "sehr langes Array". Die Pre-Condition ist nicht zu testen, sie muss nur zur

@justjanne
justjanne / XGH - en.md
Last active Jan 24, 2016 — forked from banaslee/XGH - en.txt
eXtreme Go-Horse Process
View XGH - en.md

eXtreme Go Horse (XGH) Process

Source: http://gohorseprocess.wordpress.com

  1. I think therefore it's not XGH.
    In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster.

  2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the first one but faster.

View quassel-debug.patch
diff --git a/src/common/protocol.h b/src/common/protocol.h
index ba70530..afdb598 100644
--- a/src/common/protocol.h
+++ b/src/common/protocol.h
@@ -37,8 +37,10 @@ enum Type {
enum Feature {
- Encryption = 0x01,
- Compression = 0x02
View coresetup-protocol.md

CoreSetup

Protocol Flow

When the client receives a CoreInitAck message, with "Configured" set to "False", it will display to the user a list, allowing them to choose a StorageBackend from the ones present in CoreInitAck’s "StorageBackends" attribute.

If the user chooses one such backend, and the backend has a SetupKeys attribute which

View data.json
[
4,
"Network",
"1",
"IrcUsersAndChannels",
{
"Channels":{
"ChanModes":[
{
"A":{
View INITDATA:Network.json
[
"INITDATA",
"Network",
"1",
"IrcUsersAndChannels",
{
"Channels":{
"ChanModes":{
"A":{
View gist:bf80153f317f9b30204f
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferSyncer") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferViewManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "AliasManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "NetworkConfig") , QVariant(QByteArray, "GlobalNetworkConfig") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "IgnoreListManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "TransferManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:23 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferViewConfig") , QVariant(QByteArray, "0") )
2015-11-22 20:09:03 Warning: (QVariant(int, 3) , QVariant(QByteArray, "Network") , QVariant(QByteArray, "1") )
2015-11-22 20:09:09 Warning:
View eventbus.md

EVENT
ConnectionChangeEvent(status=HANDSHAKE, reason=)

DISPATCH
HandshakeFunction(data=ClientInit(ClientDate=Nov 22 2015 18:16:19, UseSsl=false, ClientVersion=v0.12.2 (dist-<a href="http://git.quassel-irc.org/?p=quassel.git;a=commit;h=9c5e6c666d5faa976eec2e0ac8bf8e1dd6c0332c">9c5e6c6</a>), UseCompression=false, ProtocolVersion=10))

HANDLE
ClientInitAck(CoreInfo=<b>Quassel Core Version v0.13-pre (0.12.0+51 git-<a href="http://git.quassel-irc.org/?p=quassel.git;a=commit;h=b49c64970b6237fc95f8ca88c8bb6bcf04c251d7">b49c649</a>)</b><br>Built: Nov 22 2015 00:17:46<br>Up 0d03h43m (since So. Nov 22 13:32:53 2015), SupportSsl=false, Configured=true, LoginEnabled=true, ProtocolVersion=10, SupportsCompression=false, CoreFeatures=31, StorageBackends=[])

EVENT

View ClientInitAck.json
{
"CoreInfo": "<b>Quassel Core Version v0.12.2 (dist-<a href=\"http://git.quassel-irc.org/?p=quassel.git;a=commit;h\": 9c5e6c666d5faa976eec2e0ac8bf8e1dd6c0332c\">9c5e6c6</a>)</b><br>Built: Apr 29 2015 22:06:33<br>Up 0d01h21m (since Sa. Nov. 21 15:06:31 2015 GMT)",
"SupportsCompression": false,
"StorageBackends": [
{
"DisplayName": "PostgreSQL",
"SetupDefaults": {
"Hostname": "localhost",
"Database": "quassel",
"Username": "quassel",
View quassel-debug.patch
diff --git a/src/common/protocols/datastream/datastreampeer.cpp b/src/common/protocols/datastream/datastreampeer.cpp
index d3bd110..59a566c 100644
--- a/src/common/protocols/datastream/datastreampeer.cpp
+++ b/src/common/protocols/datastream/datastreampeer.cpp
@@ -63,6 +63,8 @@ void DataStreamPeer::processMessage(const QByteArray &msg)
close("Peer sent corrupt data, closing down!");
return;
}
+
+ qWarning() << list;
You can’t perform that action at this time.