politics 1.0.82 → 1.0.88
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 +54 -46
- 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 +41 -41
- data/documentation/prepend_each +3 -0
- data/gem_data/VERSION_NUMBER +1 -1
- data/index.html +57 -51
- data/install.sh +5 -1
- data/non_compiled_programs/google_speak +4 -3
- 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 +12 -3
- data/src/src/q.cr +0 -9
- /data/images/{12.png → 8.png} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d267c898d20ae9d834e9ab0f5b295293d44ecef9c496e2d87fd17a6c4b9c51
|
4
|
+
data.tar.gz: 4f2552c8717ee33835d36ff1d90f6d40e83ee53024aca3f394890d3d163da800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10d446daa8b654a522d0506208f53b8840c11fa224d96d255fd314e4e84eec342a6bc6a37cfc365eec41301a643f43f6d975a721a16f2a5ddf4a339ccc39543a
|
7
|
+
data.tar.gz: 8637c106d9482f679179e1fd15606470ef92cc0720c0f9d03d02b328fde850a63902da651e4c649eb580f8bde474204f95629ffd08b16b214254a838236c50eb
|
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
|
|
@@ -97,7 +97,7 @@ You can use them anywhere without dependencies.
|
|
97
97
|
|
98
98
|
Democracy Github Ruby Gem Python PIP Package
|
99
99
|
|
100
|
-
Without further ado, here are the
|
100
|
+
Without further ado, here are the 86 documented programs. (The obvious usage
|
101
101
|
ones are omitted.)
|
102
102
|
|
103
103
|
### 1. Ultimate Chat Application.exe
|
@@ -183,7 +183,10 @@ ones are omitted.)
|
|
183
183
|
maximum prices, and Kijiji opens with your options.
|
184
184
|
This tool kind of actually helped me to find housing in real life.
|
185
185
|
The default city is “Ottawa.” You can easily change this.
|
186
|
-
### 6.
|
186
|
+
### 6. Prepend Each
|
187
|
+
|
188
|
+
Prepends a string to each line
|
189
|
+
### 7. Google Speak
|
187
190
|
|
188
191
|
Google speak is really useful. It speaks a statement using the Google
|
189
192
|
Translate voice, which is probably the most authoritative and
|
@@ -191,7 +194,10 @@ ones are omitted.)
|
|
191
194
|
It's kind of like “espeak” or similar tools, but it is much better.
|
192
195
|
You need an internet connection for it to work.
|
193
196
|
It is probably limited at 100 characters.
|
194
|
-
###
|
197
|
+
### 8. Append Each
|
198
|
+
|
199
|
+
Appends a string to each line
|
200
|
+
### 9. Selectlines
|
195
201
|
|
196
202
|
selectlines shows all nonblank lines from the input
|
197
203
|
Example
|
@@ -199,7 +205,7 @@ ones are omitted.)
|
|
199
205
|
(echo 2; echo; echo; echo) | selectlines
|
200
206
|
=> 2
|
201
207
|
The result would be 2, with no blank lines after that
|
202
|
-
###
|
208
|
+
### 10. Processes
|
203
209
|
|
204
210
|
Processes lists all processes with a certain name
|
205
211
|
For example
|
@@ -207,7 +213,7 @@ ones are omitted.)
|
|
207
213
|
processes bash
|
208
214
|
processes ruby
|
209
215
|
processes gsub
|
210
|
-
###
|
216
|
+
### 11. Emeraldc
|
211
217
|
|
212
218
|
The Ultimate C Preprocessor
|
213
219
|
I'm naming this preprocessor “Emerald C.”
|
@@ -339,32 +345,32 @@ ones are omitted.)
|
|
339
345
|
sys 0m0.160s
|
340
346
|
Rust takes 0.637 seconds to compile an empty file!
|
341
347
|
That is not ideal.
|
342
|
-
###
|
348
|
+
### 12. Nth Word
|
343
349
|
|
344
350
|
nth_word gets the nth word of each line
|
345
351
|
For example
|
346
352
|
nth_word 3
|
347
353
|
gets the 3rd word of each line
|
348
|
-
###
|
354
|
+
### 13. Last Nth
|
349
355
|
|
350
356
|
Last nth gets the last n lines from input
|
351
357
|
For example
|
352
358
|
last_nth 3
|
353
359
|
Would get the 3rd from the last line
|
354
|
-
###
|
360
|
+
### 14. Speakcat
|
355
361
|
|
356
362
|
Speak cat is a tool like “cat,” which shows the content of files
|
357
363
|
(technically, it combines the content of files).
|
358
364
|
But speak cat also speaks the text.
|
359
365
|
Which could be useful in some circumstances.
|
360
366
|
It's kind of like “tee” to your ear.
|
361
|
-
###
|
367
|
+
### 15. UCA CLI
|
362
368
|
|
363
369
|
CLI for uca app
|
364
|
-
###
|
370
|
+
### 16. Big Num
|
365
371
|
|
366
372
|
![UCA](./images/10.png)
|
367
|
-
###
|
373
|
+
### 17. Squeeze
|
368
374
|
|
369
375
|
Squeeze reads all input from stdin, then it prints it back omitting
|
370
376
|
argument 1 line from the front, and argument 2 lines from the back
|
@@ -374,20 +380,20 @@ ones are omitted.)
|
|
374
380
|
squeeze 5 3
|
375
381
|
This would omit the first 5 lines and the last 3 lines
|
376
382
|
squeeze 2 2 [file] also works, it outputs text to file
|
377
|
-
###
|
383
|
+
### 18. Dictate
|
378
384
|
|
379
385
|
Dictate opens web pages in emerald browser, or in any browser
|
380
386
|
(depending on the environment variable set), by you speaking, instead
|
381
387
|
of typing.
|
382
388
|
There is a mode called c_mode, that allows you to make code from
|
383
389
|
speaking.
|
384
|
-
###
|
390
|
+
### 19. Prepend
|
385
391
|
|
386
392
|
prepend prepends input taken from the standard input to a file
|
387
393
|
Usage
|
388
394
|
prepend [file]
|
389
395
|
This is text to be prepended
|
390
|
-
###
|
396
|
+
### 20. Chat Rb
|
391
397
|
|
392
398
|
This program is excellent.
|
393
399
|
It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
|
@@ -396,16 +402,16 @@ ones are omitted.)
|
|
396
402
|
It outputs chatgpt data to an output folder in home folder and copies
|
397
403
|
it to clipboard
|
398
404
|
To run a shell command, prefix things with “c,” such as c gcc.....
|
399
|
-
###
|
405
|
+
### 21. Append
|
400
406
|
|
401
407
|
Appends text to file
|
402
408
|
Example
|
403
409
|
append file
|
404
410
|
This is more text to be appended
|
405
|
-
###
|
411
|
+
### 22. Delete
|
406
412
|
|
407
413
|
Recursively delete all files named a certain name.
|
408
|
-
###
|
414
|
+
### 23. Gsubip
|
409
415
|
|
410
416
|
Global Substitute (Gsub) In Place
|
411
417
|
gsubip is like gsub, which replaces all instances of a regular
|
@@ -422,7 +428,7 @@ ones are omitted.)
|
|
422
428
|
It takes exactly 3 arguments, no more, no fewer.
|
423
429
|
See also
|
424
430
|
gsub
|
425
|
-
###
|
431
|
+
### 24. Rhyme
|
426
432
|
|
427
433
|
A very powerful music generator program that doesn't use AI.
|
428
434
|
See this channel as an example of potential usage of this public
|
@@ -603,7 +609,7 @@ ones are omitted.)
|
|
603
609
|
Disingenuous to the extreme, the society they subvert
|
604
610
|
The society is the ones who hurt
|
605
611
|
---
|
606
|
-
###
|
612
|
+
### 25. Email
|
607
613
|
|
608
614
|
This currently doesn't work for gmail since 2022 due to policy changes.
|
609
615
|
A simple and practical tool to email people using Himalaya
|
@@ -618,10 +624,10 @@ ones are omitted.)
|
|
618
624
|
Example
|
619
625
|
email 'Gregory, I love your software!' gregorycohenvideos@gmail.com
|
620
626
|
my_friend@outlook.com person@example.com
|
621
|
-
###
|
627
|
+
### 26. Floor
|
622
628
|
|
623
629
|
Gets the floor of numbers e.g. 21.3 -> 21
|
624
|
-
###
|
630
|
+
### 27. Rgsub
|
625
631
|
|
626
632
|
Recursively replaces text.
|
627
633
|
Verbosely tells you everything that happens.
|
@@ -639,11 +645,11 @@ ones are omitted.)
|
|
639
645
|
-v, verbose mode
|
640
646
|
-- Indicate end of options.
|
641
647
|
|
642
|
-
###
|
648
|
+
### 28. Lines
|
643
649
|
|
644
650
|
Lines gets the number of files in the current folder that you are in.
|
645
651
|
It can also act like “wc -l” if you pipe data into it.
|
646
|
-
###
|
652
|
+
### 29. Clock
|
647
653
|
|
648
654
|
clock is useful
|
649
655
|
clock is a command line alarm clock
|
@@ -660,14 +666,14 @@ ones are omitted.)
|
|
660
666
|
To stop it
|
661
667
|
Run this command
|
662
668
|
clock stop
|
663
|
-
###
|
669
|
+
### 30. Emoji
|
664
670
|
|
665
671
|
Emoji converts words to emojis from the standard input
|
666
672
|
It can also speak the output
|
667
673
|
It can also copy the output to your clipboard
|
668
674
|
It is very useful
|
669
675
|
![UCA](./images/6.png)
|
670
|
-
###
|
676
|
+
### 31. Close
|
671
677
|
|
672
678
|
“Close” is a simple program that closes “Emerald Browser,” a new web
|
673
679
|
browser based on the same engine as Chrome. Currently, Emerald Browser
|
@@ -701,12 +707,12 @@ ones are omitted.)
|
|
701
707
|
some people.
|
702
708
|
Currently, content, like YouTube videos, can't be made fullscreen.
|
703
709
|
If anyone wants to contribute, feel free to!
|
704
|
-
###
|
710
|
+
### 32. Copy
|
705
711
|
|
706
712
|
copy copies the standard input
|
707
713
|
Example
|
708
714
|
ls | copy
|
709
|
-
###
|
715
|
+
### 33. Gsub
|
710
716
|
|
711
717
|
Gsub is very powerful.
|
712
718
|
Usage
|
@@ -715,7 +721,7 @@ ones are omitted.)
|
|
715
721
|
cat text | gsub man dog
|
716
722
|
cat text | gsub 'man|boy|cat|dog' food
|
717
723
|
ls | gsub Desktop cat
|
718
|
-
###
|
724
|
+
### 34. News
|
719
725
|
|
720
726
|
Gets the news from bbc
|
721
727
|
Usage
|
@@ -723,14 +729,14 @@ ones are omitted.)
|
|
723
729
|
news speak
|
724
730
|
uses google_speak to SPEAK the news, one story at a time.
|
725
731
|
![UCA](./images/5.png)
|
726
|
-
###
|
732
|
+
### 35. Args
|
727
733
|
|
728
734
|
args is like a better xargs
|
729
735
|
args works properly with spaces in the name of commands
|
730
736
|
It takes exactly one argument
|
731
737
|
Example
|
732
738
|
ls | args “mv -t ../f”
|
733
|
-
###
|
739
|
+
### 36. Rnip
|
734
740
|
|
735
741
|
Replace Not In Place
|
736
742
|
This is like gsub, but for strings, not for regular expressions
|
@@ -738,10 +744,10 @@ ones are omitted.)
|
|
738
744
|
echo .......... | rnip foo bar
|
739
745
|
See also
|
740
746
|
gsub
|
741
|
-
###
|
747
|
+
### 37. Trim
|
742
748
|
|
743
749
|
Trims spaces of each line
|
744
|
-
###
|
750
|
+
### 38. Quot
|
745
751
|
|
746
752
|
Turns quotes in text into good text and makes text presentable.
|
747
753
|
Example
|
@@ -752,7 +758,7 @@ ones are omitted.)
|
|
752
758
|
Example 3
|
753
759
|
(Quote the file and output it)
|
754
760
|
quot text_file
|
755
|
-
###
|
761
|
+
### 39. Open
|
756
762
|
|
757
763
|
“open” is a very efficient program that searches a query from google,
|
758
764
|
and then opens it in Emerald Browser.
|
@@ -773,25 +779,25 @@ ones are omitted.)
|
|
773
779
|
See also
|
774
780
|
emerald-browser
|
775
781
|
close
|
776
|
-
###
|
782
|
+
### 40. Swap
|
777
783
|
|
778
784
|
Swaps two files
|
779
785
|
Example
|
780
786
|
swap text1 text2
|
781
|
-
###
|
787
|
+
### 41. Exp
|
782
788
|
|
783
789
|
exp is an exponentiation tool
|
784
790
|
(echo 5; echo 3) | exp
|
785
791
|
=> 125
|
786
792
|
(echo 2; echo 10) | exp
|
787
793
|
=> 1024
|
788
|
-
###
|
794
|
+
### 42. Div
|
789
795
|
|
790
796
|
Divides numbers
|
791
797
|
Example
|
792
798
|
(echo 5000; echo 100) | div
|
793
799
|
=> 50
|
794
|
-
###
|
800
|
+
### 43. Mul
|
795
801
|
|
796
802
|
Multiply numbers
|
797
803
|
echo 1 > file
|
@@ -801,10 +807,10 @@ ones are omitted.)
|
|
801
807
|
echo 5 >> file
|
802
808
|
cat file | mul
|
803
809
|
=> 120
|
804
|
-
###
|
810
|
+
### 44. Nth
|
805
811
|
|
806
812
|
Nth gets the nth line from the input
|
807
|
-
###
|
813
|
+
### 45. Abs
|
808
814
|
|
809
815
|
Abs gets the absolute value of an integer
|
810
816
|
The absolute value of a number is the value of that number without its
|
@@ -817,13 +823,13 @@ ones are omitted.)
|
|
817
823
|
=> 12
|
818
824
|
The last one would do -2 - -10, the result would be -12, and then the
|
819
825
|
absolute value would be computed, and so the result would be 12.
|
820
|
-
###
|
826
|
+
### 46. Add
|
821
827
|
|
822
828
|
See the sub example
|
823
829
|
add adds integers from the standard input
|
824
830
|
(echo 1; echo 2; echo 3) | add
|
825
831
|
The result would be 6
|
826
|
-
###
|
832
|
+
### 47. Sub
|
827
833
|
|
828
834
|
Sub is a simple command line program that subtracts integers.
|
829
835
|
For some reason, no simple program did this.
|
@@ -840,14 +846,14 @@ ones are omitted.)
|
|
840
846
|
(echo 5; echo 2) | sub
|
841
847
|
Result =>
|
842
848
|
3
|
843
|
-
###
|
849
|
+
### 48. Rip
|
844
850
|
|
845
851
|
Replace In Place
|
846
852
|
rip tool replaces a string, not a regular expression, with another
|
847
853
|
string
|
848
854
|
Example
|
849
855
|
rip cat dog file
|
850
|
-
###
|
856
|
+
### 49. G+
|
851
857
|
|
852
858
|
A compiler for C += 2. If you want to use C++ with Python syntax, you
|
853
859
|
can use this.
|
@@ -855,7 +861,7 @@ ones are omitted.)
|
|
855
861
|
Example
|
856
862
|
g+ a.cpp -o out
|
857
863
|
See also README file & emerald-browser and its source
|
858
|
-
###
|
864
|
+
### 50. T
|
859
865
|
|
860
866
|
“t” is incredibly useful.
|
861
867
|
It can be used many, many times every day by computer power users.
|
@@ -898,7 +904,9 @@ Navigation
|
|
898
904
|
Emerald Browser
|
899
905
|
Left Right.exe
|
900
906
|
Find Housing
|
907
|
+
Prepend Each
|
901
908
|
Google Speak
|
909
|
+
Append Each
|
902
910
|
Selectlines
|
903
911
|
Processes
|
904
912
|
Emeraldc
|
data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
88.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;
|
@@ -431,9 +431,9 @@ if (not_first_time) {
|
|
431
431
|
str.gsub! '"', '\\"'
|
432
432
|
str2.gsub! '"', '\\"'
|
433
433
|
|
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'
|
434
|
+
cmd = 'cd ..; cp index.html /home/a/foon/*/index.html; lynx -dump -stdin<README.md | squeeze 0 0 README.md
|
435
|
+
|
436
|
+
ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << str << "," << str2 << ')" | squeeze 0 0 README.md'
|
437
437
|
system cmd
|
438
438
|
|
439
439
|
a = File.open("../README.md")
|
@@ -448,7 +448,7 @@ ruby -e "print File.read(\"README.md\").gsub(10.chr, \' \'+10.chr).gsub(' << st
|
|
448
448
|
File.open "../README.md", "w" do |file|
|
449
449
|
file << ("<h1 style='color: green'>" << lines[0] << " " << lines[1] << "</h1>" << ("\n " * 2))
|
450
450
|
v = "Fx9x8cArK30"
|
451
|
-
|
451
|
+
file << "[![Video](https://img.youtube.com/vi/#{v}/maxresdefault.jpg)](https://www.youtube.com/watch?v=#{v}) "
|
452
452
|
file << ("\n " * 5)
|
453
453
|
file << rest.sub(/all\s*still/m, "all still").sub(/IFRAME.+?\n/, "").gsub(/\[\d+\]/,
|
454
454
|
"").each_line.reject do |line|
|
data/gem_data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
87.0
|