digraph D {
A [shape=diamond]
B [shape=box]
C [shape=circle]
A -> B [style=dashed, color=grey]
A -> C [color="black:invis:black"]
A -> D [penwidth=5, arrowhead=none]
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
### Keybase proof | |
I hereby claim: | |
* I am dennis on github. | |
* I am dennismp (https://keybase.io/dennismp) on keybase. | |
* I have a public key ASCq1rgOx3tQRfLxR4-Td6HxZ7XtKu2JGLg5RrF18tXS-wo | |
To claim this, I am signing this object: |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
int decimal[] = { 1000, 900, 500, 400, 100, | |
50, 40, 10, 9, | |
5, 4, 1, | |
0 }; | |
char* roman[] = { "M", "CM", "D", "CD", "C", | |
"L", "XL", "X", "IX", |
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
// denne klasse skal vise progress.. | |
class monitor { | |
void progress(int) = 0; | |
}; | |
// | |
class libasciify { | |
public: |
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
diff --git a/tests/Makefile b/tests/Makefile | |
index 10d68e5..193c645 100644 | |
--- a/tests/Makefile | |
+++ b/tests/Makefile | |
@@ -1,5 +1,5 @@ | |
CC=g++ | |
-CFLAGS=-g -Wall | |
+CFLAGS=-g -Wall -I../src | |
all: main |
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
class PluginHandler | |
def initialize | |
@plugins = Array.new | |
end | |
def add(plugin) | |
@plugins << plugin.send(:new) | |
end | |
def delegate_method_to_plugins(method, *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
# Framework base-klasse for plugins | |
# Kan evt bare implementeres således at hvis onXXXYYZZ kaldes og den ikke findes, så bliver den blot ignoreret, så Plugin ikke behøver at have en masse tomme funktioner. | |
class Plugin | |
def onNick | |
# Default action, hvis nødvendigt | |
end | |
def onConnect | |
end |