freespeech 1.0.82 → 1.0.87

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CYCLE_OF_HEALTH +9 -15
  3. data/Makefile +1 -1
  4. data/README.md +73 -61
  5. data/VERSION_NUMBER +1 -1
  6. data/bin/append_each +0 -0
  7. data/bin/google_speak +4 -3
  8. data/bin/lines +0 -0
  9. data/bin/nth_word +0 -0
  10. data/bin/prepend_each +0 -0
  11. data/bin/rgsub +0 -0
  12. data/documentation/append_each +3 -0
  13. data/documentation/left_right.exe +1 -1
  14. data/documentation/page +43 -42
  15. data/documentation/prepend_each +3 -0
  16. data/gem_data/VERSION_NUMBER +1 -1
  17. data/index.html +98 -90
  18. data/install.sh +5 -1
  19. data/non_compiled_programs/google_speak +4 -3
  20. data/{cleanup → other/cleanup} +1 -0
  21. data/other/experimental_code/ABOUT_S +1 -10
  22. data/other/experimental_code/a/six +0 -0
  23. data/other/experimental_code/odi +4 -10
  24. data/other/experimental_code/orig +11 -20
  25. data/other/experimental_code/pr.rb +1 -1
  26. data/src/_compilation/abs +38 -19
  27. data/src/_compilation/add +38 -19
  28. data/src/_compilation/append +38 -19
  29. data/src/_compilation/append_each +290 -0
  30. data/src/_compilation/args +38 -19
  31. data/src/_compilation/delete +38 -19
  32. data/src/_compilation/div +38 -19
  33. data/src/_compilation/exp +38 -19
  34. data/src/_compilation/floor +38 -19
  35. data/src/_compilation/gsub +38 -19
  36. data/src/_compilation/gsubip +38 -19
  37. data/src/_compilation/last_nth +38 -19
  38. data/src/_compilation/lines +38 -19
  39. data/src/_compilation/mul +38 -19
  40. data/src/_compilation/nth +38 -19
  41. data/src/_compilation/nth_word +38 -19
  42. data/src/_compilation/prepend +38 -19
  43. data/src/_compilation/prepend_each +290 -0
  44. data/src/_compilation/rip +38 -19
  45. data/src/_compilation/rnip +38 -19
  46. data/src/_compilation/selectlines +38 -19
  47. data/src/_compilation/sub +38 -19
  48. data/src/_compilation/swap +38 -19
  49. data/src/_compilation/trim +38 -19
  50. data/src/programs/append_each +0 -0
  51. data/src/programs/lines +0 -0
  52. data/src/programs/prepend_each +0 -0
  53. data/src/rgsub +0 -0
  54. data/src/rgsub.c +24 -25
  55. data/src/src/Makefile +1 -1
  56. data/src/src/cd +3 -0
  57. data/src/src/code +30 -9
  58. data/src/src/functions.cr +29 -16
  59. data/src/src/mk +6 -8
  60. data/src/src/rm +1 -0
  61. metadata +16 -10
  62. data/other/experimental_code/a/a.out +0 -0
  63. data/other/experimental_code/a/hello_world +0 -0
  64. data/other/experimental_code/c_program_faster +0 -0
  65. data/src/src/q.cr +0 -9
  66. /data/images/{12.png → 8.png} +0 -0
  67. /data/other/experimental_code/{Resume.pdf → description_of_what_ive_done_old.pdf} +0 -0
  68. /data/other/experimental_code/{merge → merge.rb} +0 -0
data/src/src/mk CHANGED
@@ -15,7 +15,6 @@ cd src
15
15
  ruby code
16
16
  cd ../$COMPILATION
17
17
 
18
-
19
18
  lines=$(lines)
20
19
  echo "Checking the Syntax of $lines programs"
21
20
  for i in *; do
@@ -24,19 +23,18 @@ for i in *; do
24
23
  #crystal build --no-codegen $i -o ../utilities/$i &
25
24
  done
26
25
 
27
-
28
26
  #wait
29
27
 
30
- for i in *; do
28
+ for i in *; do
31
29
  echo -n "$i "
32
- # echo "Compiling $i with 30 threads ..."
30
+ # echo "Compiling $i with 30 threads ..."
33
31
  test -x ../$PROGRAMS/$i || (
32
+ echo
34
33
  find /usr/share/wallpapers/ -type f | grep -E 'jpg|png' | shuf | head -n 1 | args viu
35
34
  (crystal build --release $i --threads 30 -o ../$PROGRAMS/$i && strip ../$PROGRAMS/$i)
36
35
  )
37
- # rm -rf $i
36
+ # rm -rf $i
38
37
  # -rf
39
38
  done
40
- echo -e "\n\n\n\e[32mALL DONE FOR COREUTILS\e[0m"
41
-
42
-
39
+ clear
40
+ echo -e "\n\n\n\e[32mALL DONE\e[0m"
data/src/src/rm ADDED
@@ -0,0 +1 @@
1
+ rm ../programs/"$1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freespeech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.82
4
+ version: 1.0.87
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-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |+
14
14
  Trying to help with democracy.
@@ -53,6 +53,7 @@ files:
53
53
  - "./bin/abs"
54
54
  - "./bin/add"
55
55
  - "./bin/append"
56
+ - "./bin/append_each"
56
57
  - "./bin/args"
57
58
  - "./bin/big_num"
58
59
  - "./bin/black"
@@ -104,6 +105,7 @@ files:
104
105
  - "./bin/nth_word"
105
106
  - "./bin/open"
106
107
  - "./bin/prepend"
108
+ - "./bin/prepend_each"
107
109
  - "./bin/processes"
108
110
  - "./bin/quot"
109
111
  - "./bin/red"
@@ -130,7 +132,6 @@ files:
130
132
  - "./bin/yellow_bold"
131
133
  - "./bin/yellow_bold_underline"
132
134
  - "./bin/yellow_underline"
133
- - "./cleanup"
134
135
  - "./democracy.gemspec"
135
136
  - "./discourse generator 1/PROGRAM.rb"
136
137
  - "./discourse generator 1/RANDOM_INPUT_TEST_OUT"
@@ -159,6 +160,7 @@ files:
159
160
  - "./documentation/abs"
160
161
  - "./documentation/add"
161
162
  - "./documentation/append"
163
+ - "./documentation/append_each"
162
164
  - "./documentation/args"
163
165
  - "./documentation/big_num"
164
166
  - "./documentation/black"
@@ -211,6 +213,7 @@ files:
211
213
  - "./documentation/open"
212
214
  - "./documentation/page"
213
215
  - "./documentation/prepend"
216
+ - "./documentation/prepend_each"
214
217
  - "./documentation/processes"
215
218
  - "./documentation/quot"
216
219
  - "./documentation/red"
@@ -23254,13 +23257,13 @@ files:
23254
23257
  - "./images/1.png"
23255
23258
  - "./images/10.png"
23256
23259
  - "./images/11.png"
23257
- - "./images/12.png"
23258
23260
  - "./images/2.png"
23259
23261
  - "./images/3.png"
23260
23262
  - "./images/4.png"
23261
23263
  - "./images/5.png"
23262
23264
  - "./images/6.png"
23263
23265
  - "./images/7.png"
23266
+ - "./images/8.png"
23264
23267
  - "./images/9.png"
23265
23268
  - "./index.html"
23266
23269
  - "./install.sh"
@@ -23287,6 +23290,7 @@ files:
23287
23290
  - "./other/best_programming_language/emeraldc.cr"
23288
23291
  - "./other/best_programming_language/example.c"
23289
23292
  - "./other/best_programming_language/out_0.c"
23293
+ - "./other/cleanup"
23290
23294
  - "./other/democracy.gemspec"
23291
23295
  - "./other/discourse_generator_desktop_widget/.qmake.stash"
23292
23296
  - "./other/discourse_generator_desktop_widget/a.cpp"
@@ -23306,10 +23310,7 @@ files:
23306
23310
  - "./other/emerald-browser/src/ss.h"
23307
23311
  - "./other/emerald-browser/test/a.cpp"
23308
23312
  - "./other/experimental_code/ABOUT_S"
23309
- - "./other/experimental_code/Resume.pdf"
23310
23313
  - "./other/experimental_code/a/a (1).tar.gz"
23311
- - "./other/experimental_code/a/a.out"
23312
- - "./other/experimental_code/a/hello_world"
23313
23314
  - "./other/experimental_code/a/help"
23314
23315
  - "./other/experimental_code/a/main_v1.cpp"
23315
23316
  - "./other/experimental_code/a/my_libs_gregory/.libs/mod_my_libs_gregory.lai"
@@ -23321,8 +23322,8 @@ files:
23321
23322
  - "./other/experimental_code/a/nginx.conf"
23322
23323
  - "./other/experimental_code/a/six"
23323
23324
  - "./other/experimental_code/c_prog"
23324
- - "./other/experimental_code/c_program_faster"
23325
23325
  - "./other/experimental_code/crypto"
23326
+ - "./other/experimental_code/description_of_what_ive_done_old.pdf"
23326
23327
  - "./other/experimental_code/find_abs_best"
23327
23328
  - "./other/experimental_code/get_data"
23328
23329
  - "./other/experimental_code/github"
@@ -23331,7 +23332,7 @@ files:
23331
23332
  - "./other/experimental_code/loop.js"
23332
23333
  - "./other/experimental_code/m.c"
23333
23334
  - "./other/experimental_code/man/foo.rb"
23334
- - "./other/experimental_code/merge"
23335
+ - "./other/experimental_code/merge.rb"
23335
23336
  - "./other/experimental_code/odi"
23336
23337
  - "./other/experimental_code/orig"
23337
23338
  - "./other/experimental_code/pr.rb"
@@ -24646,6 +24647,7 @@ files:
24646
24647
  - "./src/_compilation/abs"
24647
24648
  - "./src/_compilation/add"
24648
24649
  - "./src/_compilation/append"
24650
+ - "./src/_compilation/append_each"
24649
24651
  - "./src/_compilation/args"
24650
24652
  - "./src/_compilation/delete"
24651
24653
  - "./src/_compilation/div"
@@ -24659,6 +24661,7 @@ files:
24659
24661
  - "./src/_compilation/nth"
24660
24662
  - "./src/_compilation/nth_word"
24661
24663
  - "./src/_compilation/prepend"
24664
+ - "./src/_compilation/prepend_each"
24662
24665
  - "./src/_compilation/rip"
24663
24666
  - "./src/_compilation/rnip"
24664
24667
  - "./src/_compilation/selectlines"
@@ -24744,6 +24747,7 @@ files:
24744
24747
  - "./src/programs/abs"
24745
24748
  - "./src/programs/add"
24746
24749
  - "./src/programs/append"
24750
+ - "./src/programs/append_each"
24747
24751
  - "./src/programs/args"
24748
24752
  - "./src/programs/delete"
24749
24753
  - "./src/programs/div"
@@ -24757,6 +24761,7 @@ files:
24757
24761
  - "./src/programs/nth"
24758
24762
  - "./src/programs/nth_word"
24759
24763
  - "./src/programs/prepend"
24764
+ - "./src/programs/prepend_each"
24760
24765
  - "./src/programs/rip"
24761
24766
  - "./src/programs/rnip"
24762
24767
  - "./src/programs/selectlines"
@@ -24766,11 +24771,12 @@ files:
24766
24771
  - "./src/rgsub"
24767
24772
  - "./src/rgsub.c"
24768
24773
  - "./src/src/Makefile"
24774
+ - "./src/src/cd"
24769
24775
  - "./src/src/code"
24770
24776
  - "./src/src/format_so_it_works"
24771
24777
  - "./src/src/functions.cr"
24772
24778
  - "./src/src/mk"
24773
- - "./src/src/q.cr"
24779
+ - "./src/src/rm"
24774
24780
  - "./thoughts_on_SIMULATIONS"
24775
24781
  - "./version_decrement"
24776
24782
  - "./version_increment"
Binary file
Binary file
data/src/src/q.cr DELETED
@@ -1,9 +0,0 @@
1
- def nth_word(arg)
2
- i = arg.to_u64 - 1
3
- STDIN.each_line do |line|
4
- puts line.split[i] rescue ""
5
- end
6
- end
7
-
8
-
9
- nth_word ARGV.first
File without changes
File without changes