freespeech 1.0.88 → 1.0.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/README +2 -0
  3. data/README.md +99 -65
  4. data/VERSION_NUMBER +1 -1
  5. data/bin/autocorrect +312 -0
  6. data/bin/black +0 -0
  7. data/bin/black_bold +0 -0
  8. data/bin/black_bold_underline +0 -0
  9. data/bin/black_underline +0 -0
  10. data/bin/blue +0 -0
  11. data/bin/blue_bold +0 -0
  12. data/bin/blue_bold_underline +0 -0
  13. data/bin/blue_underline +0 -0
  14. data/bin/bold +0 -0
  15. data/bin/ctit +44 -0
  16. data/bin/cyan +0 -0
  17. data/bin/cyan_bold +0 -0
  18. data/bin/cyan_bold_underline +0 -0
  19. data/bin/cyan_underline +0 -0
  20. data/bin/green +0 -0
  21. data/bin/green_bold +0 -0
  22. data/bin/green_bold_underline +0 -0
  23. data/bin/green_underline +0 -0
  24. data/bin/magenta +0 -0
  25. data/bin/magenta_bold +0 -0
  26. data/bin/magenta_bold_underline +0 -0
  27. data/bin/magenta_underline +0 -0
  28. data/bin/red +0 -0
  29. data/bin/red_bold +0 -0
  30. data/bin/red_bold_underline +0 -0
  31. data/bin/red_underline +0 -0
  32. data/bin/underline +0 -0
  33. data/bin/white +0 -0
  34. data/bin/white_bold +0 -0
  35. data/bin/white_bold_underline +0 -0
  36. data/bin/white_underline +0 -0
  37. data/bin/yellow +0 -0
  38. data/bin/yellow_bold +0 -0
  39. data/bin/yellow_bold_underline +0 -0
  40. data/bin/yellow_underline +0 -0
  41. data/documentation/autocorrect +3 -0
  42. data/documentation/ctit +18 -0
  43. data/documentation/email +2 -2
  44. data/documentation/left_right.exe +4 -3
  45. data/documentation/page +8 -1
  46. data/gem_data/README +2 -0
  47. data/gem_data/VERSION_NUMBER +1 -1
  48. data/gem_data/push_snap +30 -0
  49. data/images/STORE.png +0 -0
  50. data/images/STORE2.png +0 -0
  51. data/images/Store.png +0 -0
  52. data/index.html +108 -94
  53. data/non_compiled_programs/autocorrect +312 -0
  54. data/non_compiled_programs/ctit +44 -0
  55. data/other/beautify_html_in_heredocs +8 -0
  56. data/{cleanup → other/cleanup} +1 -0
  57. data/other/communicate +88 -0
  58. data/other/experimental_code/ABOUT_S +1 -10
  59. data/other/experimental_code/a/six +0 -0
  60. data/other/experimental_code/odi +4 -10
  61. data/other/experimental_code/orig +11 -20
  62. data/other/experimental_code/pr.rb +1 -1
  63. data/push_snap +30 -0
  64. data/src/color_tools/black +0 -0
  65. data/src/color_tools/black.c +9 -12
  66. data/src/color_tools/black_bold +0 -0
  67. data/src/color_tools/black_bold.c +9 -12
  68. data/src/color_tools/black_bold_underline +0 -0
  69. data/src/color_tools/black_bold_underline.c +9 -12
  70. data/src/color_tools/black_underline +0 -0
  71. data/src/color_tools/black_underline.c +9 -12
  72. data/src/color_tools/blue +0 -0
  73. data/src/color_tools/blue.c +9 -12
  74. data/src/color_tools/blue_bold +0 -0
  75. data/src/color_tools/blue_bold.c +9 -12
  76. data/src/color_tools/blue_bold_underline +0 -0
  77. data/src/color_tools/blue_bold_underline.c +9 -12
  78. data/src/color_tools/blue_underline +0 -0
  79. data/src/color_tools/blue_underline.c +9 -12
  80. data/src/color_tools/bold +0 -0
  81. data/src/color_tools/bold.c +9 -12
  82. data/src/color_tools/colors.rb +9 -12
  83. data/src/color_tools/cyan +0 -0
  84. data/src/color_tools/cyan.c +9 -12
  85. data/src/color_tools/cyan_bold +0 -0
  86. data/src/color_tools/cyan_bold.c +9 -12
  87. data/src/color_tools/cyan_bold_underline +0 -0
  88. data/src/color_tools/cyan_bold_underline.c +9 -12
  89. data/src/color_tools/cyan_underline +0 -0
  90. data/src/color_tools/cyan_underline.c +9 -12
  91. data/src/color_tools/green +0 -0
  92. data/src/color_tools/green.c +9 -12
  93. data/src/color_tools/green_bold +0 -0
  94. data/src/color_tools/green_bold.c +9 -12
  95. data/src/color_tools/green_bold_underline +0 -0
  96. data/src/color_tools/green_bold_underline.c +9 -12
  97. data/src/color_tools/green_underline +0 -0
  98. data/src/color_tools/green_underline.c +9 -12
  99. data/src/color_tools/magenta +0 -0
  100. data/src/color_tools/magenta.c +9 -12
  101. data/src/color_tools/magenta_bold +0 -0
  102. data/src/color_tools/magenta_bold.c +9 -12
  103. data/src/color_tools/magenta_bold_underline +0 -0
  104. data/src/color_tools/magenta_bold_underline.c +9 -12
  105. data/src/color_tools/magenta_underline +0 -0
  106. data/src/color_tools/magenta_underline.c +9 -12
  107. data/src/color_tools/red +0 -0
  108. data/src/color_tools/red.c +9 -12
  109. data/src/color_tools/red_bold +0 -0
  110. data/src/color_tools/red_bold.c +9 -12
  111. data/src/color_tools/red_bold_underline +0 -0
  112. data/src/color_tools/red_bold_underline.c +9 -12
  113. data/src/color_tools/red_underline +0 -0
  114. data/src/color_tools/red_underline.c +9 -12
  115. data/src/color_tools/underline +0 -0
  116. data/src/color_tools/underline.c +9 -12
  117. data/src/color_tools/white +0 -0
  118. data/src/color_tools/white.c +9 -12
  119. data/src/color_tools/white_bold +0 -0
  120. data/src/color_tools/white_bold.c +9 -12
  121. data/src/color_tools/white_bold_underline +0 -0
  122. data/src/color_tools/white_bold_underline.c +9 -12
  123. data/src/color_tools/white_underline +0 -0
  124. data/src/color_tools/white_underline.c +9 -12
  125. data/src/color_tools/yellow +0 -0
  126. data/src/color_tools/yellow.c +9 -12
  127. data/src/color_tools/yellow_bold +0 -0
  128. data/src/color_tools/yellow_bold.c +9 -12
  129. data/src/color_tools/yellow_bold_underline +0 -0
  130. data/src/color_tools/yellow_bold_underline.c +9 -12
  131. data/src/color_tools/yellow_underline +0 -0
  132. data/src/color_tools/yellow_underline.c +9 -12
  133. metadata +19 -8
  134. data/other/experimental_code/a/a.out +0 -0
  135. data/other/experimental_code/a/hello_world +0 -0
  136. data/other/experimental_code/c_program_faster +0 -0
  137. /data/other/experimental_code/{Resume.pdf → description_of_what_ive_done_old.pdf} +0 -0
  138. /data/other/experimental_code/{merge → merge.rb} +0 -0
@@ -42,11 +42,11 @@
42
42
  #define FIRST_COLOR "\e[33m"
43
43
  #define SECOND_COLOR "\e[0m"
44
44
 
45
- int main(int argc, char** argv) {
46
- fputs(FIRST_COLOR, stdout);
47
45
 
48
-
46
+ int main(int argc, char** argv) {
49
47
  if (argc != 1) {
48
+ fputs(FIRST_COLOR, stdout);
49
+
50
50
  for (int i = 1; i < argc; ++i) {
51
51
  if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) {
52
52
  fputs(HELP_STR, stdout);
@@ -57,22 +57,19 @@ int main(int argc, char** argv) {
57
57
  }
58
58
 
59
59
  putchar('\n');
60
-
61
- goto end;
60
+
61
+ fputs(SECOND_COLOR, stdout);
62
+ return 0;
62
63
  }
64
+
65
+ fputs(FIRST_COLOR, stdout);
63
66
 
64
67
  for (;;) {
65
68
  const int c = getchar();
66
69
 
67
- if (c == EOF) goto end;
68
-
70
+ if (c == EOF) { fputs(SECOND_COLOR, stdout); return 0; }
69
71
  putchar(c);
70
72
  }
71
-
72
-
73
- end:
74
- fputs(SECOND_COLOR, stdout);
75
- return 0;
76
73
  }
77
74
 
78
75
 
Binary file
@@ -42,11 +42,11 @@
42
42
  #define FIRST_COLOR "\e[1m\e[33m"
43
43
  #define SECOND_COLOR "\e[0m\e[0m"
44
44
 
45
- int main(int argc, char** argv) {
46
- fputs(FIRST_COLOR, stdout);
47
45
 
48
-
46
+ int main(int argc, char** argv) {
49
47
  if (argc != 1) {
48
+ fputs(FIRST_COLOR, stdout);
49
+
50
50
  for (int i = 1; i < argc; ++i) {
51
51
  if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) {
52
52
  fputs(HELP_STR, stdout);
@@ -57,22 +57,19 @@ int main(int argc, char** argv) {
57
57
  }
58
58
 
59
59
  putchar('\n');
60
-
61
- goto end;
60
+
61
+ fputs(SECOND_COLOR, stdout);
62
+ return 0;
62
63
  }
64
+
65
+ fputs(FIRST_COLOR, stdout);
63
66
 
64
67
  for (;;) {
65
68
  const int c = getchar();
66
69
 
67
- if (c == EOF) goto end;
68
-
70
+ if (c == EOF) { fputs(SECOND_COLOR, stdout); return 0; }
69
71
  putchar(c);
70
72
  }
71
-
72
-
73
- end:
74
- fputs(SECOND_COLOR, stdout);
75
- return 0;
76
73
  }
77
74
 
78
75
 
Binary file
@@ -42,11 +42,11 @@
42
42
  #define FIRST_COLOR "\e[4m\e[1m\e[33m"
43
43
  #define SECOND_COLOR "\e[0m\e[0m\e[0m"
44
44
 
45
- int main(int argc, char** argv) {
46
- fputs(FIRST_COLOR, stdout);
47
45
 
48
-
46
+ int main(int argc, char** argv) {
49
47
  if (argc != 1) {
48
+ fputs(FIRST_COLOR, stdout);
49
+
50
50
  for (int i = 1; i < argc; ++i) {
51
51
  if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) {
52
52
  fputs(HELP_STR, stdout);
@@ -57,22 +57,19 @@ int main(int argc, char** argv) {
57
57
  }
58
58
 
59
59
  putchar('\n');
60
-
61
- goto end;
60
+
61
+ fputs(SECOND_COLOR, stdout);
62
+ return 0;
62
63
  }
64
+
65
+ fputs(FIRST_COLOR, stdout);
63
66
 
64
67
  for (;;) {
65
68
  const int c = getchar();
66
69
 
67
- if (c == EOF) goto end;
68
-
70
+ if (c == EOF) { fputs(SECOND_COLOR, stdout); return 0; }
69
71
  putchar(c);
70
72
  }
71
-
72
-
73
- end:
74
- fputs(SECOND_COLOR, stdout);
75
- return 0;
76
73
  }
77
74
 
78
75
 
Binary file
@@ -42,11 +42,11 @@
42
42
  #define FIRST_COLOR "\e[4m\e[33m"
43
43
  #define SECOND_COLOR "\e[0m\e[0m"
44
44
 
45
- int main(int argc, char** argv) {
46
- fputs(FIRST_COLOR, stdout);
47
45
 
48
-
46
+ int main(int argc, char** argv) {
49
47
  if (argc != 1) {
48
+ fputs(FIRST_COLOR, stdout);
49
+
50
50
  for (int i = 1; i < argc; ++i) {
51
51
  if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help")) {
52
52
  fputs(HELP_STR, stdout);
@@ -57,22 +57,19 @@ int main(int argc, char** argv) {
57
57
  }
58
58
 
59
59
  putchar('\n');
60
-
61
- goto end;
60
+
61
+ fputs(SECOND_COLOR, stdout);
62
+ return 0;
62
63
  }
64
+
65
+ fputs(FIRST_COLOR, stdout);
63
66
 
64
67
  for (;;) {
65
68
  const int c = getchar();
66
69
 
67
- if (c == EOF) goto end;
68
-
70
+ if (c == EOF) { fputs(SECOND_COLOR, stdout); return 0; }
69
71
  putchar(c);
70
72
  }
71
-
72
-
73
- end:
74
- fputs(SECOND_COLOR, stdout);
75
- return 0;
76
73
  }
77
74
 
78
75
 
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freespeech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.88
4
+ version: 1.0.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Cohen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |+
14
14
  Trying to help with democracy.
15
15
 
16
+ https://snapcraft.io/democracy
17
+
16
18
  This is a collection of software that could truly change the world.
17
19
 
18
20
  All of these programs are mostly self-contained. This is a really good thing.
@@ -55,6 +57,7 @@ files:
55
57
  - "./bin/append"
56
58
  - "./bin/append_each"
57
59
  - "./bin/args"
60
+ - "./bin/autocorrect"
58
61
  - "./bin/big_num"
59
62
  - "./bin/black"
60
63
  - "./bin/black_bold"
@@ -69,6 +72,7 @@ files:
69
72
  - "./bin/clock"
70
73
  - "./bin/close"
71
74
  - "./bin/copy"
75
+ - "./bin/ctit"
72
76
  - "./bin/cyan"
73
77
  - "./bin/cyan_bold"
74
78
  - "./bin/cyan_bold_underline"
@@ -132,7 +136,6 @@ files:
132
136
  - "./bin/yellow_bold"
133
137
  - "./bin/yellow_bold_underline"
134
138
  - "./bin/yellow_underline"
135
- - "./cleanup"
136
139
  - "./democracy.gemspec"
137
140
  - "./discourse generator 1/PROGRAM.rb"
138
141
  - "./discourse generator 1/RANDOM_INPUT_TEST_OUT"
@@ -163,6 +166,7 @@ files:
163
166
  - "./documentation/append"
164
167
  - "./documentation/append_each"
165
168
  - "./documentation/args"
169
+ - "./documentation/autocorrect"
166
170
  - "./documentation/big_num"
167
171
  - "./documentation/black"
168
172
  - "./documentation/black_bold"
@@ -177,6 +181,7 @@ files:
177
181
  - "./documentation/clock"
178
182
  - "./documentation/close"
179
183
  - "./documentation/copy"
184
+ - "./documentation/ctit"
180
185
  - "./documentation/cyan"
181
186
  - "./documentation/cyan_bold"
182
187
  - "./documentation/cyan_bold_underline"
@@ -23253,6 +23258,7 @@ files:
23253
23258
  - "./gem_data/VERSION_NUMBER"
23254
23259
  - "./gem_data/democracy.gemspec"
23255
23260
  - "./gem_data/push"
23261
+ - "./gem_data/push_snap"
23256
23262
  - "./gem_data/version_decrement"
23257
23263
  - "./gem_data/version_increment"
23258
23264
  - "./images/1.png"
@@ -23266,12 +23272,17 @@ files:
23266
23272
  - "./images/7.png"
23267
23273
  - "./images/8.png"
23268
23274
  - "./images/9.png"
23275
+ - "./images/STORE.png"
23276
+ - "./images/STORE2.png"
23277
+ - "./images/Store.png"
23269
23278
  - "./index.html"
23270
23279
  - "./install.sh"
23280
+ - "./non_compiled_programs/autocorrect"
23271
23281
  - "./non_compiled_programs/big_num"
23272
23282
  - "./non_compiled_programs/chat_rb"
23273
23283
  - "./non_compiled_programs/close"
23274
23284
  - "./non_compiled_programs/copy"
23285
+ - "./non_compiled_programs/ctit"
23275
23286
  - "./non_compiled_programs/dictate"
23276
23287
  - "./non_compiled_programs/email"
23277
23288
  - "./non_compiled_programs/emoji"
@@ -23291,6 +23302,8 @@ files:
23291
23302
  - "./other/best_programming_language/emeraldc.cr"
23292
23303
  - "./other/best_programming_language/example.c"
23293
23304
  - "./other/best_programming_language/out_0.c"
23305
+ - "./other/cleanup"
23306
+ - "./other/communicate"
23294
23307
  - "./other/democracy.gemspec"
23295
23308
  - "./other/discourse_generator_desktop_widget/.qmake.stash"
23296
23309
  - "./other/discourse_generator_desktop_widget/a.cpp"
@@ -23310,10 +23323,7 @@ files:
23310
23323
  - "./other/emerald-browser/src/ss.h"
23311
23324
  - "./other/emerald-browser/test/a.cpp"
23312
23325
  - "./other/experimental_code/ABOUT_S"
23313
- - "./other/experimental_code/Resume.pdf"
23314
23326
  - "./other/experimental_code/a/a (1).tar.gz"
23315
- - "./other/experimental_code/a/a.out"
23316
- - "./other/experimental_code/a/hello_world"
23317
23327
  - "./other/experimental_code/a/help"
23318
23328
  - "./other/experimental_code/a/main_v1.cpp"
23319
23329
  - "./other/experimental_code/a/my_libs_gregory/.libs/mod_my_libs_gregory.lai"
@@ -23325,8 +23335,8 @@ files:
23325
23335
  - "./other/experimental_code/a/nginx.conf"
23326
23336
  - "./other/experimental_code/a/six"
23327
23337
  - "./other/experimental_code/c_prog"
23328
- - "./other/experimental_code/c_program_faster"
23329
23338
  - "./other/experimental_code/crypto"
23339
+ - "./other/experimental_code/description_of_what_ive_done_old.pdf"
23330
23340
  - "./other/experimental_code/find_abs_best"
23331
23341
  - "./other/experimental_code/get_data"
23332
23342
  - "./other/experimental_code/github"
@@ -23335,7 +23345,7 @@ files:
23335
23345
  - "./other/experimental_code/loop.js"
23336
23346
  - "./other/experimental_code/m.c"
23337
23347
  - "./other/experimental_code/man/foo.rb"
23338
- - "./other/experimental_code/merge"
23348
+ - "./other/experimental_code/merge.rb"
23339
23349
  - "./other/experimental_code/odi"
23340
23350
  - "./other/experimental_code/orig"
23341
23351
  - "./other/experimental_code/pr.rb"
@@ -24647,6 +24657,7 @@ files:
24647
24657
  - "./output_data"
24648
24658
  - "./physics"
24649
24659
  - "./push"
24660
+ - "./push_snap"
24650
24661
  - "./src/_compilation/abs"
24651
24662
  - "./src/_compilation/add"
24652
24663
  - "./src/_compilation/append"
Binary file
Binary file
File without changes