Browse Source

DO WHAT THE FUCK YOU WANT

phyto 4 months ago
parent
commit
43a71bf468
5 changed files with 66 additions and 1 deletions
  1. 2
    0
      serial/serial.c
  2. 16
    0
      serial/t.c
  3. 16
    0
      viz/curses/7segments.c
  4. 15
    0
      viz/curses/t.c
  5. 17
    1
      viz/curses/vumetre.c

+ 2
- 0
serial/serial.c View File

@@ -133,6 +133,8 @@ if (1 != foo)
133 133
         {
134 134
 	fprintf(stderr, "%s : byte %d rd %d errno %d\n",
135 135
 				__func__, byte, foo, errno);
136
+	/* XXX */
137
+	exit(1);
136 138
         return -1;
137 139
         }
138 140
 return (int)byte;

+ 16
- 0
serial/t.c View File

@@ -3,6 +3,22 @@
3 3
  *	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 4
  */
5 5
 
6
+/**********************************************************************
7
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
8
+                    Version 2, December 2004
9
+
10
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
11
+
12
+ Everyone is permitted to copy and distribute verbatim or modified
13
+ copies of this license document, and changing it is allowed as long
14
+ as the name is changed.
15
+
16
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
17
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
18
+
19
+  0. You just DO WHAT THE FUCK YOU WANT TO.
20
+**********************************************************************/
21
+
6 22
 #include  <stdio.h>
7 23
 #include  <stdlib.h>
8 24
 #include  <strings.h>

+ 16
- 0
viz/curses/7segments.c View File

@@ -4,6 +4,22 @@
4 4
  *	ncurses seven segment display
5 5
  */
6 6
 
7
+/**********************************************************************
8
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
9
+                    Version 2, December 2004
10
+
11
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
12
+
13
+ Everyone is permitted to copy and distribute verbatim or modified
14
+ copies of this license document, and changing it is allowed as long
15
+ as the name is changed.
16
+
17
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
18
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
19
+
20
+  0. You just DO WHAT THE FUCK YOU WANT TO.
21
+**********************************************************************/
22
+
7 23
 #include  <stdio.h>
8 24
 #include  <stdlib.h>
9 25
 #include  <string.h>

+ 15
- 0
viz/curses/t.c View File

@@ -1,3 +1,18 @@
1
+/**********************************************************************
2
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
3
+                    Version 2, December 2004
4
+
5
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
6
+
7
+ Everyone is permitted to copy and distribute verbatim or modified
8
+ copies of this license document, and changing it is allowed as long
9
+ as the name is changed.
10
+
11
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
12
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
13
+
14
+  0. You just DO WHAT THE FUCK YOU WANT TO.
15
+**********************************************************************/
1 16
 #include  <stdio.h>
2 17
 #include  <unistd.h>
3 18
 #include  <stdlib.h>

+ 17
- 1
viz/curses/vumetre.c View File

@@ -1,9 +1,25 @@
1 1
 /*
2 2
  *		DD2 Monitoring
3 3
  *
4
- *	ncurses seven segment display
4
+ *	ncurses linear vumeter display
5 5
  */
6 6
 
7
+/**********************************************************************
8
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
9
+                    Version 2, December 2004
10
+
11
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
12
+
13
+ Everyone is permitted to copy and distribute verbatim or modified
14
+ copies of this license document, and changing it is allowed as long
15
+ as the name is changed.
16
+
17
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
18
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
19
+
20
+  0. You just DO WHAT THE FUCK YOU WANT TO.
21
+**********************************************************************/
22
+
7 23
 #include  <stdio.h>
8 24
 #include  <stdlib.h>
9 25
 #include  <strings.h>

Loading…
Cancel
Save