politics 1.0.82 → 1.0.87
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CYCLE_OF_HEALTH +9 -15
- data/Makefile +1 -1
- data/README.md +73 -61
- data/VERSION_NUMBER +1 -1
- data/bin/append_each +0 -0
- data/bin/google_speak +4 -3
- data/bin/lines +0 -0
- data/bin/nth_word +0 -0
- data/bin/prepend_each +0 -0
- data/bin/rgsub +0 -0
- data/documentation/append_each +3 -0
- data/documentation/left_right.exe +1 -1
- data/documentation/page +43 -42
- data/documentation/prepend_each +3 -0
- data/gem_data/VERSION_NUMBER +1 -1
- data/index.html +98 -90
- data/install.sh +5 -1
- data/non_compiled_programs/google_speak +4 -3
- data/{cleanup → other/cleanup} +1 -0
- data/other/experimental_code/ABOUT_S +1 -10
- data/other/experimental_code/a/six +0 -0
- data/other/experimental_code/odi +4 -10
- data/other/experimental_code/orig +11 -20
- data/other/experimental_code/pr.rb +1 -1
- data/src/_compilation/abs +38 -19
- data/src/_compilation/add +38 -19
- data/src/_compilation/append +38 -19
- data/src/_compilation/append_each +290 -0
- data/src/_compilation/args +38 -19
- data/src/_compilation/delete +38 -19
- data/src/_compilation/div +38 -19
- data/src/_compilation/exp +38 -19
- data/src/_compilation/floor +38 -19
- data/src/_compilation/gsub +38 -19
- data/src/_compilation/gsubip +38 -19
- data/src/_compilation/last_nth +38 -19
- data/src/_compilation/lines +38 -19
- data/src/_compilation/mul +38 -19
- data/src/_compilation/nth +38 -19
- data/src/_compilation/nth_word +38 -19
- data/src/_compilation/prepend +38 -19
- data/src/_compilation/prepend_each +290 -0
- data/src/_compilation/rip +38 -19
- data/src/_compilation/rnip +38 -19
- data/src/_compilation/selectlines +38 -19
- data/src/_compilation/sub +38 -19
- data/src/_compilation/swap +38 -19
- data/src/_compilation/trim +38 -19
- data/src/programs/append_each +0 -0
- data/src/programs/lines +0 -0
- data/src/programs/prepend_each +0 -0
- data/src/rgsub +0 -0
- data/src/rgsub.c +24 -25
- data/src/src/Makefile +1 -1
- data/src/src/cd +3 -0
- data/src/src/code +30 -9
- data/src/src/functions.cr +29 -16
- data/src/src/mk +6 -8
- data/src/src/rm +1 -0
- metadata +16 -10
- data/other/experimental_code/a/a.out +0 -0
- data/other/experimental_code/a/hello_world +0 -0
- data/other/experimental_code/c_program_faster +0 -0
- data/src/src/q.cr +0 -9
- /data/images/{12.png → 8.png} +0 -0
- /data/other/experimental_code/{Resume.pdf → description_of_what_ive_done_old.pdf} +0 -0
- /data/other/experimental_code/{merge → merge.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 963e1589b01e79ea290c8d342993acc099ca812dec990846c9ed71b22c93e4f9
|
4
|
+
data.tar.gz: 11a96f8150512e8ebd071643d466e4c8685995025a2570c69d08467007f87605
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 413068ab493aa85fc9ec877e7b0ea3da0249a5813c17e02f84674d81b79278646fc0251ef64b784ab0aa4c7fbbb0b327877bff65333127b7f0f55716da42435d
|
7
|
+
data.tar.gz: 0e33192447c7b71c4d0fd15d36be1ceab2939720595169e4615826cf94ece2a66d1d55f0e7caa1ccd9cdd1ebe6c3c254bee2d07c321c917e7e6481f7fcf457c2
|
data/CYCLE_OF_HEALTH
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
The following shall be regarded as a methodological
|
1
|
+
The following shall be regarded as a methodological “Cycle of Health,” a cycle of behavior that humans happen to fall into, or can knowingly cause, that is very likely to, result in optimal health.
|
2
2
|
|
3
3
|
Statistics should be found or determined that prove this, this is simple and loop
|
4
4
|
|
5
5
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
6
6
|
|
7
|
-
1.1. De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific
|
7
|
+
1.1. De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific “group” would qualify as such)
|
8
8
|
1.2. Positive interaction with 1 or more others in PISPG
|
9
9
|
for each of Cycle 1, after the point is completed:
|
10
10
|
2.1. Recognition of having likely improved survival potential (on whichever aspects(s) of life)
|
@@ -13,7 +13,7 @@ Statistics should be found or determined that prove this, this is simple and loo
|
|
13
13
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
14
14
|
|
15
15
|
So the full cycle would be:
|
16
|
-
1) De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific
|
16
|
+
1) De facto joining of Potentially-Increasing-Survival-Potential-Group (on whichever aspects(s) of life, you can identify or another, whether or not a specific “group” would qualify as such)
|
17
17
|
2) Recognition of having likely improved survival potential (on whichever aspects(s) of life)
|
18
18
|
3) [(Mental/spiritual/physical/emotional/general/uncategorized) health]/[pleasure]/[happiness], just here, and nowhere else
|
19
19
|
4) Positive interaction with 1 or more others in Potentially-Increasing-Survival-Potential-Group
|
@@ -25,8 +25,6 @@ Statistics should be found or determined that prove this, this is simple and loo
|
|
25
25
|
|
26
26
|
A short form would be
|
27
27
|
|
28
|
-
|
29
|
-
|
30
28
|
As a loop
|
31
29
|
Join, recognize good, happiness
|
32
30
|
|
@@ -34,24 +32,20 @@ As a loop
|
|
34
32
|
|
35
33
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
36
34
|
|
37
|
-
(A
|
38
|
-
|
39
|
-
"De facto joining" would be very liberal in classification
|
35
|
+
(A “group” could be any kind of group, it could only be 2 people, it could be 1 million people.)
|
40
36
|
|
37
|
+
“De facto joining” would be very liberal in classification
|
41
38
|
|
42
39
|
Obviously, people and robots should operate on the basis of this.
|
43
40
|
|
44
|
-
|
45
|
-
It is currently very not-known, the relative importances of these points. So there is no statement to "do one point more than another".
|
41
|
+
It is currently very not-known, the relative importances of these points. So there is no statement to “do one point more than another.”
|
46
42
|
|
47
43
|
Everyone should try to maximize, to the best of their ability, all 7 points.
|
48
44
|
|
49
|
-
|
50
45
|
Point 2.2 is completely incompatible with psychiatry. The upsides of such an approach could, and should, be tested. Surely, there would
|
51
|
-
be a tremendous amount of bias and vested interest in this methodology not seeming to
|
52
|
-
|
53
|
-
The answer is <b><span color="blue" size="large">YES, DEFINITELY.</span></b>
|
46
|
+
be a tremendous amount of bias and vested interest in this methodology not seeming to “work in practice,” but would this work in practice?
|
54
47
|
|
48
|
+
The answer is <b><span color="blue" size="large">YES, DEFINITELY.</span></b>
|
55
49
|
|
56
50
|
See also
|
57
|
-
Ask this software about
|
51
|
+
Ask this software about “ai”
|
data/Makefile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<h1 style='color: green'>Practical Self-Empowerment Utilities Covering Every Facet of Life </h1>
|
2
2
|
|
3
|
-
|
3
|
+
[![Video](https://img.youtube.com/vi/Fx9x8cArK30/maxresdefault.jpg)](https://www.youtube.com/watch?v=Fx9x8cArK30)
|
4
4
|
|
5
5
|
|
6
6
|
|
@@ -31,7 +31,7 @@ I intend to make people more able.
|
|
31
31
|
I was working on a “to buy” program regarding stocks, but it only
|
32
32
|
partly works right now and it's not as useful as the other software.
|
33
33
|
The find housing tool actually helped me to find housing in real life.
|
34
|
-
Those aside, there are these
|
34
|
+
Those aside, there are these 86 programs.
|
35
35
|
Some ones that convert text are skipped in this documentation because
|
36
36
|
their name and usage is obvious (e.g., color tools).
|
37
37
|
|
@@ -78,8 +78,9 @@ You can use them anywhere without dependencies.
|
|
78
78
|
On rubygems, there are even fewer results. MY CODE WILL BE FOUND.
|
79
79
|
|
80
80
|
I shared my gem online.
|
81
|
-
|
82
|
-
|
81
|
+
* https://www.rubygems.org/gem/democracy
|
82
|
+
* https://twitter.com/democracygem
|
83
|
+
* https://www.linkedin.com/in/gregory-cohen-274333261/
|
83
84
|
|
84
85
|
Gems that link to this gem on RubyGems
|
85
86
|
* https://www.rubygems.org/gems/democracy
|
@@ -97,7 +98,7 @@ You can use them anywhere without dependencies.
|
|
97
98
|
|
98
99
|
Democracy Github Ruby Gem Python PIP Package
|
99
100
|
|
100
|
-
Without further ado, here are the
|
101
|
+
Without further ado, here are the 86 documented programs. (The obvious usage
|
101
102
|
ones are omitted.)
|
102
103
|
|
103
104
|
### 1. Ultimate Chat Application.exe
|
@@ -171,7 +172,7 @@ ones are omitted.)
|
|
171
172
|
### 4. Left Right.exe
|
172
173
|
|
173
174
|
This is a tool to bring sanity to politics.
|
174
|
-
![UCA](./images/
|
175
|
+
![UCA](./images/8.png)
|
175
176
|
It gets viewpoints from the person that see the good in each political
|
176
177
|
side, left, right, left, right, etc.
|
177
178
|
It then presents all of that.
|
@@ -183,7 +184,10 @@ ones are omitted.)
|
|
183
184
|
maximum prices, and Kijiji opens with your options.
|
184
185
|
This tool kind of actually helped me to find housing in real life.
|
185
186
|
The default city is “Ottawa.” You can easily change this.
|
186
|
-
### 6.
|
187
|
+
### 6. Prepend Each
|
188
|
+
|
189
|
+
Prepends a string to each line
|
190
|
+
### 7. Google Speak
|
187
191
|
|
188
192
|
Google speak is really useful. It speaks a statement using the Google
|
189
193
|
Translate voice, which is probably the most authoritative and
|
@@ -191,7 +195,10 @@ ones are omitted.)
|
|
191
195
|
It's kind of like “espeak” or similar tools, but it is much better.
|
192
196
|
You need an internet connection for it to work.
|
193
197
|
It is probably limited at 100 characters.
|
194
|
-
###
|
198
|
+
### 8. Append Each
|
199
|
+
|
200
|
+
Appends a string to each line
|
201
|
+
### 9. Selectlines
|
195
202
|
|
196
203
|
selectlines shows all nonblank lines from the input
|
197
204
|
Example
|
@@ -199,7 +206,7 @@ ones are omitted.)
|
|
199
206
|
(echo 2; echo; echo; echo) | selectlines
|
200
207
|
=> 2
|
201
208
|
The result would be 2, with no blank lines after that
|
202
|
-
###
|
209
|
+
### 10. Processes
|
203
210
|
|
204
211
|
Processes lists all processes with a certain name
|
205
212
|
For example
|
@@ -207,7 +214,7 @@ ones are omitted.)
|
|
207
214
|
processes bash
|
208
215
|
processes ruby
|
209
216
|
processes gsub
|
210
|
-
###
|
217
|
+
### 11. Emeraldc
|
211
218
|
|
212
219
|
The Ultimate C Preprocessor
|
213
220
|
I'm naming this preprocessor “Emerald C.”
|
@@ -339,32 +346,32 @@ ones are omitted.)
|
|
339
346
|
sys 0m0.160s
|
340
347
|
Rust takes 0.637 seconds to compile an empty file!
|
341
348
|
That is not ideal.
|
342
|
-
###
|
349
|
+
### 12. Nth Word
|
343
350
|
|
344
351
|
nth_word gets the nth word of each line
|
345
352
|
For example
|
346
353
|
nth_word 3
|
347
354
|
gets the 3rd word of each line
|
348
|
-
###
|
355
|
+
### 13. Last Nth
|
349
356
|
|
350
357
|
Last nth gets the last n lines from input
|
351
358
|
For example
|
352
359
|
last_nth 3
|
353
360
|
Would get the 3rd from the last line
|
354
|
-
###
|
361
|
+
### 14. Speakcat
|
355
362
|
|
356
363
|
Speak cat is a tool like “cat,” which shows the content of files
|
357
364
|
(technically, it combines the content of files).
|
358
365
|
But speak cat also speaks the text.
|
359
366
|
Which could be useful in some circumstances.
|
360
367
|
It's kind of like “tee” to your ear.
|
361
|
-
###
|
368
|
+
### 15. UCA CLI
|
362
369
|
|
363
370
|
CLI for uca app
|
364
|
-
###
|
371
|
+
### 16. Big Num
|
365
372
|
|
366
373
|
![UCA](./images/10.png)
|
367
|
-
###
|
374
|
+
### 17. Squeeze
|
368
375
|
|
369
376
|
Squeeze reads all input from stdin, then it prints it back omitting
|
370
377
|
argument 1 line from the front, and argument 2 lines from the back
|
@@ -374,20 +381,20 @@ ones are omitted.)
|
|
374
381
|
squeeze 5 3
|
375
382
|
This would omit the first 5 lines and the last 3 lines
|
376
383
|
squeeze 2 2 [file] also works, it outputs text to file
|
377
|
-
###
|
384
|
+
### 18. Dictate
|
378
385
|
|
379
386
|
Dictate opens web pages in emerald browser, or in any browser
|
380
387
|
(depending on the environment variable set), by you speaking, instead
|
381
388
|
of typing.
|
382
389
|
There is a mode called c_mode, that allows you to make code from
|
383
390
|
speaking.
|
384
|
-
###
|
391
|
+
### 19. Prepend
|
385
392
|
|
386
393
|
prepend prepends input taken from the standard input to a file
|
387
394
|
Usage
|
388
395
|
prepend [file]
|
389
396
|
This is text to be prepended
|
390
|
-
###
|
397
|
+
### 20. Chat Rb
|
391
398
|
|
392
399
|
This program is excellent.
|
393
400
|
It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
|
@@ -396,16 +403,16 @@ ones are omitted.)
|
|
396
403
|
It outputs chatgpt data to an output folder in home folder and copies
|
397
404
|
it to clipboard
|
398
405
|
To run a shell command, prefix things with “c,” such as c gcc.....
|
399
|
-
###
|
406
|
+
### 21. Append
|
400
407
|
|
401
408
|
Appends text to file
|
402
409
|
Example
|
403
410
|
append file
|
404
411
|
This is more text to be appended
|
405
|
-
###
|
412
|
+
### 22. Delete
|
406
413
|
|
407
414
|
Recursively delete all files named a certain name.
|
408
|
-
###
|
415
|
+
### 23. Gsubip
|
409
416
|
|
410
417
|
Global Substitute (Gsub) In Place
|
411
418
|
gsubip is like gsub, which replaces all instances of a regular
|
@@ -422,7 +429,7 @@ ones are omitted.)
|
|
422
429
|
It takes exactly 3 arguments, no more, no fewer.
|
423
430
|
See also
|
424
431
|
gsub
|
425
|
-
###
|
432
|
+
### 24. Rhyme
|
426
433
|
|
427
434
|
A very powerful music generator program that doesn't use AI.
|
428
435
|
See this channel as an example of potential usage of this public
|
@@ -603,7 +610,7 @@ ones are omitted.)
|
|
603
610
|
Disingenuous to the extreme, the society they subvert
|
604
611
|
The society is the ones who hurt
|
605
612
|
---
|
606
|
-
###
|
613
|
+
### 25. Email
|
607
614
|
|
608
615
|
This currently doesn't work for gmail since 2022 due to policy changes.
|
609
616
|
A simple and practical tool to email people using Himalaya
|
@@ -618,10 +625,10 @@ ones are omitted.)
|
|
618
625
|
Example
|
619
626
|
email 'Gregory, I love your software!' gregorycohenvideos@gmail.com
|
620
627
|
my_friend@outlook.com person@example.com
|
621
|
-
###
|
628
|
+
### 26. Floor
|
622
629
|
|
623
630
|
Gets the floor of numbers e.g. 21.3 -> 21
|
624
|
-
###
|
631
|
+
### 27. Rgsub
|
625
632
|
|
626
633
|
Recursively replaces text.
|
627
634
|
Verbosely tells you everything that happens.
|
@@ -639,11 +646,11 @@ ones are omitted.)
|
|
639
646
|
-v, verbose mode
|
640
647
|
-- Indicate end of options.
|
641
648
|
|
642
|
-
###
|
649
|
+
### 28. Lines
|
643
650
|
|
644
651
|
Lines gets the number of files in the current folder that you are in.
|
645
652
|
It can also act like “wc -l” if you pipe data into it.
|
646
|
-
###
|
653
|
+
### 29. Clock
|
647
654
|
|
648
655
|
clock is useful
|
649
656
|
clock is a command line alarm clock
|
@@ -660,14 +667,14 @@ ones are omitted.)
|
|
660
667
|
To stop it
|
661
668
|
Run this command
|
662
669
|
clock stop
|
663
|
-
###
|
670
|
+
### 30. Emoji
|
664
671
|
|
665
672
|
Emoji converts words to emojis from the standard input
|
666
673
|
It can also speak the output
|
667
674
|
It can also copy the output to your clipboard
|
668
675
|
It is very useful
|
669
676
|
![UCA](./images/6.png)
|
670
|
-
###
|
677
|
+
### 31. Close
|
671
678
|
|
672
679
|
“Close” is a simple program that closes “Emerald Browser,” a new web
|
673
680
|
browser based on the same engine as Chrome. Currently, Emerald Browser
|
@@ -701,12 +708,12 @@ ones are omitted.)
|
|
701
708
|
some people.
|
702
709
|
Currently, content, like YouTube videos, can't be made fullscreen.
|
703
710
|
If anyone wants to contribute, feel free to!
|
704
|
-
###
|
711
|
+
### 32. Copy
|
705
712
|
|
706
713
|
copy copies the standard input
|
707
714
|
Example
|
708
715
|
ls | copy
|
709
|
-
###
|
716
|
+
### 33. Gsub
|
710
717
|
|
711
718
|
Gsub is very powerful.
|
712
719
|
Usage
|
@@ -715,7 +722,7 @@ ones are omitted.)
|
|
715
722
|
cat text | gsub man dog
|
716
723
|
cat text | gsub 'man|boy|cat|dog' food
|
717
724
|
ls | gsub Desktop cat
|
718
|
-
###
|
725
|
+
### 34. News
|
719
726
|
|
720
727
|
Gets the news from bbc
|
721
728
|
Usage
|
@@ -723,14 +730,14 @@ ones are omitted.)
|
|
723
730
|
news speak
|
724
731
|
uses google_speak to SPEAK the news, one story at a time.
|
725
732
|
![UCA](./images/5.png)
|
726
|
-
###
|
733
|
+
### 35. Args
|
727
734
|
|
728
735
|
args is like a better xargs
|
729
736
|
args works properly with spaces in the name of commands
|
730
737
|
It takes exactly one argument
|
731
738
|
Example
|
732
739
|
ls | args “mv -t ../f”
|
733
|
-
###
|
740
|
+
### 36. Rnip
|
734
741
|
|
735
742
|
Replace Not In Place
|
736
743
|
This is like gsub, but for strings, not for regular expressions
|
@@ -738,10 +745,10 @@ ones are omitted.)
|
|
738
745
|
echo .......... | rnip foo bar
|
739
746
|
See also
|
740
747
|
gsub
|
741
|
-
###
|
748
|
+
### 37. Trim
|
742
749
|
|
743
750
|
Trims spaces of each line
|
744
|
-
###
|
751
|
+
### 38. Quot
|
745
752
|
|
746
753
|
Turns quotes in text into good text and makes text presentable.
|
747
754
|
Example
|
@@ -752,7 +759,7 @@ ones are omitted.)
|
|
752
759
|
Example 3
|
753
760
|
(Quote the file and output it)
|
754
761
|
quot text_file
|
755
|
-
###
|
762
|
+
### 39. Open
|
756
763
|
|
757
764
|
“open” is a very efficient program that searches a query from google,
|
758
765
|
and then opens it in Emerald Browser.
|
@@ -773,25 +780,25 @@ ones are omitted.)
|
|
773
780
|
See also
|
774
781
|
emerald-browser
|
775
782
|
close
|
776
|
-
###
|
783
|
+
### 40. Swap
|
777
784
|
|
778
785
|
Swaps two files
|
779
786
|
Example
|
780
787
|
swap text1 text2
|
781
|
-
###
|
788
|
+
### 41. Exp
|
782
789
|
|
783
790
|
exp is an exponentiation tool
|
784
791
|
(echo 5; echo 3) | exp
|
785
792
|
=> 125
|
786
793
|
(echo 2; echo 10) | exp
|
787
794
|
=> 1024
|
788
|
-
###
|
795
|
+
### 42. Div
|
789
796
|
|
790
797
|
Divides numbers
|
791
798
|
Example
|
792
799
|
(echo 5000; echo 100) | div
|
793
800
|
=> 50
|
794
|
-
###
|
801
|
+
### 43. Mul
|
795
802
|
|
796
803
|
Multiply numbers
|
797
804
|
echo 1 > file
|
@@ -801,10 +808,10 @@ ones are omitted.)
|
|
801
808
|
echo 5 >> file
|
802
809
|
cat file | mul
|
803
810
|
=> 120
|
804
|
-
###
|
811
|
+
### 44. Nth
|
805
812
|
|
806
813
|
Nth gets the nth line from the input
|
807
|
-
###
|
814
|
+
### 45. Abs
|
808
815
|
|
809
816
|
Abs gets the absolute value of an integer
|
810
817
|
The absolute value of a number is the value of that number without its
|
@@ -817,13 +824,13 @@ ones are omitted.)
|
|
817
824
|
=> 12
|
818
825
|
The last one would do -2 - -10, the result would be -12, and then the
|
819
826
|
absolute value would be computed, and so the result would be 12.
|
820
|
-
###
|
827
|
+
### 46. Add
|
821
828
|
|
822
829
|
See the sub example
|
823
830
|
add adds integers from the standard input
|
824
831
|
(echo 1; echo 2; echo 3) | add
|
825
832
|
The result would be 6
|
826
|
-
###
|
833
|
+
### 47. Sub
|
827
834
|
|
828
835
|
Sub is a simple command line program that subtracts integers.
|
829
836
|
For some reason, no simple program did this.
|
@@ -840,14 +847,14 @@ ones are omitted.)
|
|
840
847
|
(echo 5; echo 2) | sub
|
841
848
|
Result =>
|
842
849
|
3
|
843
|
-
###
|
850
|
+
### 48. Rip
|
844
851
|
|
845
852
|
Replace In Place
|
846
853
|
rip tool replaces a string, not a regular expression, with another
|
847
854
|
string
|
848
855
|
Example
|
849
856
|
rip cat dog file
|
850
|
-
###
|
857
|
+
### 49. G+
|
851
858
|
|
852
859
|
A compiler for C += 2. If you want to use C++ with Python syntax, you
|
853
860
|
can use this.
|
@@ -855,7 +862,7 @@ ones are omitted.)
|
|
855
862
|
Example
|
856
863
|
g+ a.cpp -o out
|
857
864
|
See also README file & emerald-browser and its source
|
858
|
-
###
|
865
|
+
### 50. T
|
859
866
|
|
860
867
|
“t” is incredibly useful.
|
861
868
|
It can be used many, many times every day by computer power users.
|
@@ -898,7 +905,9 @@ Navigation
|
|
898
905
|
Emerald Browser
|
899
906
|
Left Right.exe
|
900
907
|
Find Housing
|
908
|
+
Prepend Each
|
901
909
|
Google Speak
|
910
|
+
Append Each
|
902
911
|
Selectlines
|
903
912
|
Processes
|
904
913
|
Emeraldc
|
@@ -947,15 +956,18 @@ References
|
|
947
956
|
1. https://www.youtube.com/embed/Fx9x8cArK30
|
948
957
|
2. mailto:gregorycohenvideos@gmail.com
|
949
958
|
3. https://pypi.org/project/democracy
|
950
|
-
4. https://www.rubygems.org/
|
951
|
-
5. https://
|
952
|
-
6. https://www.
|
953
|
-
7. https://www.rubygems.org/gems/
|
954
|
-
8. https://www.rubygems.org/gems/
|
955
|
-
9. https://www.rubygems.org/gems/
|
956
|
-
10.
|
957
|
-
11.
|
958
|
-
12. https://
|
959
|
-
13.
|
960
|
-
14.
|
961
|
-
15. https://
|
959
|
+
4. https://www.rubygems.org/gem/democracy
|
960
|
+
5. https://twitter.com/democracygem
|
961
|
+
6. https://www.linkedin.com/in/gregory-cohen-274333261/
|
962
|
+
7. https://www.rubygems.org/gems/democracy
|
963
|
+
8. https://www.rubygems.org/gems/computers
|
964
|
+
9. https://www.rubygems.org/gems/freespeech
|
965
|
+
10. https://www.rubygems.org/gems/linux
|
966
|
+
11. https://www.rubygems.org/gems/string
|
967
|
+
12. https://www.rubygems.org/gems/unix
|
968
|
+
13. http://www.github.com/gregoryc/democracy
|
969
|
+
14. http://www.rubygems.org/gems/democracy
|
970
|
+
15. https://pypi.org/project/democracy
|
971
|
+
16. https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f
|
972
|
+
17. https://www.youtube.com/@LawrenceStevensMusic
|
973
|
+
18. https://www.github.com/gregoryc/democracy
|
data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
87.0
|
data/bin/append_each
ADDED
Binary file
|
data/bin/google_speak
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
-
#!/bin/
|
2
|
-
|
3
|
-
|
1
|
+
#!/bin/sh
|
2
|
+
IFS=+
|
3
|
+
|
4
|
+
mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en" 2>/dev/null 1>/dev/null
|
data/bin/lines
CHANGED
Binary file
|
data/bin/nth_word
CHANGED
Binary file
|
data/bin/prepend_each
ADDED
Binary file
|
data/bin/rgsub
CHANGED
Binary file
|
data/documentation/page
CHANGED
@@ -139,43 +139,43 @@ def main
|
|
139
139
|
a = "<div class=inner>#{a}</div>"
|
140
140
|
|
141
141
|
a = <<~EOF
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
142
|
+
<!DOCTYPE html>
|
143
|
+
|
144
|
+
<html>
|
145
|
+
<head>
|
146
|
+
<meta charset="UTF-8">
|
147
|
+
<title>Democracy</title>
|
148
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
149
|
+
<style type=text/css>
|
150
|
+
b, a {
|
151
|
+
|
152
|
+
text-shadow:0px 0px 0px black;
|
153
|
+
color:#009900;
|
154
|
+
}
|
155
|
+
|
156
|
+
h1, h2 {
|
157
|
+
color: #009900;
|
158
|
+
}
|
159
|
+
|
160
|
+
.header {
|
161
|
+
box-shadow: none;
|
162
|
+
padding-top: 30px;
|
163
|
+
margin-top: 20px;
|
164
|
+
margin-bottom: 20px;
|
165
|
+
|
166
|
+
}
|
167
|
+
|
168
|
+
body {
|
169
|
+
z-index: 0;
|
170
|
+
}
|
171
|
+
|
172
|
+
.cd1 {
|
173
|
+
display:block;
|
174
|
+
z-index: 1;
|
175
|
+
}
|
176
|
+
|
177
|
+
.cd2 {
|
178
|
+
background-color:#{BACKGROUND_COLOR};
|
179
179
|
color:#{BG};
|
180
180
|
width:50%;
|
181
181
|
display:inline-block;
|
@@ -293,7 +293,8 @@ def main
|
|
293
293
|
<p>On rubygems, there are even fewer results. MY CODE WILL BE FOUND.</p>
|
294
294
|
<p>I shared my gem online.</p>
|
295
295
|
#{"https://www.rubygems.org/gem/democracy
|
296
|
-
https://
|
296
|
+
https://twitter.com/democracygem
|
297
|
+
https://www.linkedin.com/in/gregory-cohen-274333261/".strip.list}
|
297
298
|
<p>Gems that link to this gem on RubyGems</p>
|
298
299
|
#{"
|
299
300
|
https://www.rubygems.org/gems/democracy
|
@@ -431,9 +432,9 @@ if (not_first_time) {
|
|
431
432
|
str.gsub! '"', '\\"'
|
432
433
|
str2.gsub! '"', '\\"'
|
433
434
|
|
434
|
-
cmd = 'cd ..; cp index.html /home/a/foon/*/index.html; lynx -dump -stdin<README.md |
|
435
|
-
|
436
|
-
ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << str << "," << str2 << ')"|squeeze 0 0 README.md'
|
435
|
+
cmd = 'cd ..; cp index.html /home/a/foon/*/index.html; lynx -dump -stdin<README.md | squeeze 0 0 README.md
|
436
|
+
|
437
|
+
ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << str << "," << str2 << ')" | squeeze 0 0 README.md'
|
437
438
|
system cmd
|
438
439
|
|
439
440
|
a = File.open("../README.md")
|
@@ -448,7 +449,7 @@ ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << st
|
|
448
449
|
File.open "../README.md", "w" do |file|
|
449
450
|
file << ("<h1 style='color: green'>" << lines[0] << " " << lines[1] << "</h1>" << ("\n " * 2))
|
450
451
|
v = "Fx9x8cArK30"
|
451
|
-
|
452
|
+
file << "[![Video](https://img.youtube.com/vi/#{v}/maxresdefault.jpg)](https://www.youtube.com/watch?v=#{v}) "
|
452
453
|
file << ("\n " * 5)
|
453
454
|
file << rest.sub(/all\s*still/m, "all still").sub(/IFRAME.+?\n/, "").gsub(/\[\d+\]/,
|
454
455
|
"").each_line.reject do |line|
|
data/gem_data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
86.0
|