elonmusk 1.0.72 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +54 -45
- data/VERSION_NUMBER +1 -1
- data/bin/left_right +0 -0
- data/bin/left_right.exe +0 -0
- data/documentation/doc.rb +2 -0
- data/documentation/left_right.exe +14 -0
- data/documentation/page +1 -1
- data/gem_data/VERSION_NUMBER +1 -1
- data/gem_data/version_increment +1 -0
- data/images/12.png +0 -0
- data/index.html +56 -53
- data/other/upload.rb +8 -2
- data/src/compile_all +5 -2
- data/src/left_right +0 -0
- data/src/left_right.cc +87 -0
- data/src/left_right.exe +0 -0
- data/version_increment +1 -0
- metadata +11 -5
- data/non_compiled_programs/make_server +0 -784
- data/src/- +0 -1
- data/src/--file +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d363a549b0c56ecc02df035a4af2e4014998200d5ab55679315270fc640cf20a
|
4
|
+
data.tar.gz: 6efad99dcb370877b86ef662594966151723b8884a740dbd72c487679d3bbfc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdd63dad2de22c982a2fbc21574b4a8a11ae5a08239e5894bc8472c3f38c9b5c4c3687b148bf6eb005c0953b0787e62ca6b10c64473ec11275e75a170906560
|
7
|
+
data.tar.gz: e30063bbc0a89679f6895aea4a29d75be2701c5a6128ffce6788c2de88638b068d9986a091fa08f45220397b200d1c244f921f6ed2a7b6d7af2048665a7ce8d5
|
data/README.md
CHANGED
@@ -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 83 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 83 documented programs. (The obvious usage
|
101
101
|
ones are omitted.)
|
102
102
|
|
103
103
|
### 1. Ultimate Chat Application.exe
|
@@ -168,14 +168,22 @@ ones are omitted.)
|
|
168
168
|
See README
|
169
169
|
It works based on panes.
|
170
170
|
Read the documentation for “open”, “close” and also the README file.
|
171
|
-
### 4.
|
171
|
+
### 4. Left Right.exe
|
172
|
+
|
173
|
+
This is a tool to bring sanity to politics.
|
174
|
+

|
175
|
+
It gets viewpoints from the person that see the good in each political
|
176
|
+
side, left, right, left, right, etc.
|
177
|
+
It then presents all of that.
|
178
|
+
Hopefully this can make people more sane and less hyper-partisan.
|
179
|
+
### 5. Find Housing
|
172
180
|
|
173
181
|
This is a nice tool to find housing with.
|
174
182
|
It is a nice, simple command line tool. You enter the minimum and
|
175
183
|
maximum prices, and Kijiji opens with your options.
|
176
184
|
This tool kind of actually helped me to find housing in real life.
|
177
185
|
The default city is "Ottawa". You can easily change this.
|
178
|
-
###
|
186
|
+
### 6. Google Speak
|
179
187
|
|
180
188
|
Google speak is really useful. It speaks a statement using the Google
|
181
189
|
Translate voice, which is probably the most authoritative and
|
@@ -183,7 +191,7 @@ ones are omitted.)
|
|
183
191
|
It's kind of like “espeak” or similar tools, but it is much better.
|
184
192
|
You need an internet connection for it to work.
|
185
193
|
It is probably limited at 100 characters.
|
186
|
-
###
|
194
|
+
### 7. Selectlines
|
187
195
|
|
188
196
|
selectlines shows all nonblank lines from the input
|
189
197
|
Example
|
@@ -191,7 +199,7 @@ ones are omitted.)
|
|
191
199
|
(echo 2; echo; echo; echo) | selectlines
|
192
200
|
=> 2
|
193
201
|
The result would be 2, with no blank lines after that
|
194
|
-
###
|
202
|
+
### 8. Processes
|
195
203
|
|
196
204
|
Processes lists all processes with a certain name
|
197
205
|
For example
|
@@ -199,7 +207,7 @@ ones are omitted.)
|
|
199
207
|
processes bash
|
200
208
|
processes ruby
|
201
209
|
processes gsub
|
202
|
-
###
|
210
|
+
### 9. Emeraldc
|
203
211
|
|
204
212
|
The Ultimate C Preprocessor
|
205
213
|
I'm naming this preprocessor “Emerald C.”
|
@@ -331,23 +339,23 @@ ones are omitted.)
|
|
331
339
|
sys 0m0.160s
|
332
340
|
Rust takes 0.637 seconds to compile an empty file!
|
333
341
|
That is not ideal.
|
334
|
-
###
|
342
|
+
### 10. Last Nth
|
335
343
|
|
336
344
|
Last nth gets the last n lines from the standard input
|
337
|
-
###
|
345
|
+
### 11. Speakcat
|
338
346
|
|
339
347
|
Speak cat is a tool like “cat”, which shows the content of files
|
340
348
|
(technically, it combines the content of files).
|
341
349
|
But speak cat also speaks the text.
|
342
350
|
Which could be useful in some circumstances.
|
343
351
|
It's kind of like “tee” to your ear.
|
344
|
-
###
|
352
|
+
### 12. UCA CLI
|
345
353
|
|
346
354
|
CLI for uca app
|
347
|
-
###
|
355
|
+
### 13. Big Num
|
348
356
|
|
349
357
|

|
350
|
-
###
|
358
|
+
### 14. Squeeze
|
351
359
|
|
352
360
|
Squeeze reads all input from stdin, then it prints it back omitting
|
353
361
|
argument 1 line from the front, and argument 2 lines from the back
|
@@ -357,20 +365,20 @@ ones are omitted.)
|
|
357
365
|
squeeze 5 3
|
358
366
|
This would omit the first 5 lines and the last 3 lines
|
359
367
|
squeeze 2 2 [file] also works, it outputs text to file
|
360
|
-
###
|
368
|
+
### 15. Dictate
|
361
369
|
|
362
370
|
Dictate opens web pages in emerald browser, or in any browser
|
363
371
|
(depending on the environment variable set), by you speaking, instead
|
364
372
|
of typing.
|
365
373
|
There is a mode called c_mode, that allows you to make code from
|
366
374
|
speaking.
|
367
|
-
###
|
375
|
+
### 16. Prepend
|
368
376
|
|
369
377
|
prepend prepends input taken from the standard input to a file
|
370
378
|
Usage
|
371
379
|
prepend [file]
|
372
380
|
This is text to be prepended
|
373
|
-
###
|
381
|
+
### 17. Chat Rb
|
374
382
|
|
375
383
|
This program is excellent.
|
376
384
|
It's essentially a mix of ChatGPT and a shell, such as bash or ZSH.
|
@@ -379,7 +387,7 @@ ones are omitted.)
|
|
379
387
|
It outputs chatgpt data to an output folder in home folder and copies
|
380
388
|
it to clipboard
|
381
389
|
To run a shell command, prefix things with “c”, such as c gcc.....
|
382
|
-
###
|
390
|
+
### 18. Undump
|
383
391
|
|
384
392
|
undump is the opposite of dump
|
385
393
|
Example
|
@@ -389,13 +397,13 @@ ones are omitted.)
|
|
389
397
|
=> “cat”
|
390
398
|
echo '“cat”' | undump
|
391
399
|
=> cat
|
392
|
-
###
|
400
|
+
### 19. Append
|
393
401
|
|
394
402
|
Appends text to file
|
395
403
|
Example
|
396
404
|
append file
|
397
405
|
This is more text to be appended
|
398
|
-
###
|
406
|
+
### 20. Gsubip
|
399
407
|
|
400
408
|
Global Substitute (Gsub) In Place
|
401
409
|
gsubip is like gsub, which replaces all instances of a regular
|
@@ -412,7 +420,7 @@ ones are omitted.)
|
|
412
420
|
It takes exactly 3 arguments, no more, no fewer.
|
413
421
|
See also
|
414
422
|
gsub
|
415
|
-
###
|
423
|
+
### 21. Rhyme
|
416
424
|
|
417
425
|
A very powerful music generator program that doesn't use AI.
|
418
426
|
See this channel as an example of potential usage of this public
|
@@ -593,7 +601,7 @@ ones are omitted.)
|
|
593
601
|
Disingenuous to the extreme, the society they subvert
|
594
602
|
The society is the ones who hurt
|
595
603
|
---
|
596
|
-
###
|
604
|
+
### 22. Email
|
597
605
|
|
598
606
|
This currently doesn't work for gmail since 2022 due to policy changes.
|
599
607
|
A simple and practical tool to email people using Himalaya
|
@@ -608,10 +616,10 @@ ones are omitted.)
|
|
608
616
|
Example
|
609
617
|
email 'Gregory, I love your software!' gregorycohenvideos@gmail.com
|
610
618
|
my_friend@outlook.com person@example.com
|
611
|
-
###
|
619
|
+
### 23. Floor
|
612
620
|
|
613
621
|
Gets the floor of numbers e.g. 21.3 -> 21
|
614
|
-
###
|
622
|
+
### 24. Rgsub
|
615
623
|
|
616
624
|
Recursively replaces text.
|
617
625
|
Verbosely tells you everything that happens.
|
@@ -630,11 +638,11 @@ ch]
|
|
630
638
|
-v, verbose mode
|
631
639
|
-- Indicate end of options.
|
632
640
|
|
633
|
-
###
|
641
|
+
### 25. Lines
|
634
642
|
|
635
643
|
Lines gets the number of files in the current folder that you are in.
|
636
644
|
It can also act like “wc -l” if you pipe data into it.
|
637
|
-
###
|
645
|
+
### 26. Clock
|
638
646
|
|
639
647
|
clock is useful
|
640
648
|
clock is a command line alarm clock
|
@@ -651,14 +659,14 @@ ch]
|
|
651
659
|
To stop it
|
652
660
|
Run this command
|
653
661
|
clock stop
|
654
|
-
###
|
662
|
+
### 27. Emoji
|
655
663
|
|
656
664
|
Emoji converts words to emojis from the standard input
|
657
665
|
It can also speak the output
|
658
666
|
It can also copy the output to your clipboard
|
659
667
|
It is very useful
|
660
668
|

|
661
|
-
###
|
669
|
+
### 28. Close
|
662
670
|
|
663
671
|
“Close” is a simple program that closes “Emerald Browser,” a new web
|
664
672
|
browser based on the same engine as Chrome. Currently, Emerald Browser
|
@@ -692,12 +700,12 @@ ch]
|
|
692
700
|
some people.
|
693
701
|
Currently, content, like YouTube videos, can't be made fullscreen.
|
694
702
|
If anyone wants to contribute, feel free to!
|
695
|
-
###
|
703
|
+
### 29. Copy
|
696
704
|
|
697
705
|
copy copies the standard input
|
698
706
|
Example
|
699
707
|
ls | copy
|
700
|
-
###
|
708
|
+
### 30. Gsub
|
701
709
|
|
702
710
|
Gsub is very powerful.
|
703
711
|
Usage
|
@@ -706,7 +714,7 @@ ch]
|
|
706
714
|
cat text | gsub man dog
|
707
715
|
cat text | gsub 'man|boy|cat|dog' food
|
708
716
|
ls | gsub Desktop cat
|
709
|
-
###
|
717
|
+
### 31. News
|
710
718
|
|
711
719
|
Gets the news from bbc
|
712
720
|
Usage
|
@@ -714,7 +722,7 @@ ch]
|
|
714
722
|
news speak
|
715
723
|
uses google_speak to SPEAK the news, one story at a time.
|
716
724
|

|
717
|
-
###
|
725
|
+
### 32. Dump
|
718
726
|
|
719
727
|
Dump surrounds its input with quotes
|
720
728
|
ls | dump
|
@@ -722,14 +730,14 @@ ch]
|
|
722
730
|
Use undump to get the reverse
|
723
731
|
See also
|
724
732
|
undump
|
725
|
-
###
|
733
|
+
### 33. Args
|
726
734
|
|
727
735
|
args is like a better xargs
|
728
736
|
args works properly with spaces in the name of commands
|
729
737
|
It takes exactly one argument
|
730
738
|
Example
|
731
739
|
ls | args “mv -t ../f”
|
732
|
-
###
|
740
|
+
### 34. Rnip
|
733
741
|
|
734
742
|
Replace Not In Place
|
735
743
|
This is like gsub, but for strings, not for regular expressions
|
@@ -737,7 +745,7 @@ ch]
|
|
737
745
|
echo .......... | rnip foo bar
|
738
746
|
See also
|
739
747
|
gsub
|
740
|
-
###
|
748
|
+
### 35. Quot
|
741
749
|
|
742
750
|
Turns quotes in text into good text and makes text presentable.
|
743
751
|
Example
|
@@ -748,7 +756,7 @@ ch]
|
|
748
756
|
Example 3
|
749
757
|
(Quote the file and output it)
|
750
758
|
quot text_file
|
751
|
-
###
|
759
|
+
### 36. Open
|
752
760
|
|
753
761
|
“open” is a very efficient program that searches a query from google,
|
754
762
|
and then opens it in Emerald Browser.
|
@@ -769,25 +777,25 @@ ch]
|
|
769
777
|
See also
|
770
778
|
emerald-browser
|
771
779
|
close
|
772
|
-
###
|
780
|
+
### 37. Swap
|
773
781
|
|
774
782
|
Swaps two files
|
775
783
|
Example
|
776
784
|
swap text1 text2
|
777
|
-
###
|
785
|
+
### 38. Exp
|
778
786
|
|
779
787
|
exp is an exponentiation tool
|
780
788
|
(echo 5; echo 3) | exp
|
781
789
|
=> 125
|
782
790
|
(echo 2; echo 10) | exp
|
783
791
|
=> 1024
|
784
|
-
###
|
792
|
+
### 39. Div
|
785
793
|
|
786
794
|
Divides numbers
|
787
795
|
Example
|
788
796
|
(echo 5000; echo 100) | div
|
789
797
|
=> 50
|
790
|
-
###
|
798
|
+
### 40. Mul
|
791
799
|
|
792
800
|
Multiply numbers
|
793
801
|
echo 1 > file
|
@@ -797,10 +805,10 @@ ch]
|
|
797
805
|
echo 5 >> file
|
798
806
|
cat file | mul
|
799
807
|
=> 120
|
800
|
-
###
|
808
|
+
### 41. Nth
|
801
809
|
|
802
810
|
Nth gets the nth line from the input
|
803
|
-
###
|
811
|
+
### 42. Abs
|
804
812
|
|
805
813
|
Abs gets the absolute value of an integer
|
806
814
|
The absolute value of a number is the value of that number without its
|
@@ -813,13 +821,13 @@ ch]
|
|
813
821
|
=> 12
|
814
822
|
The last one would do -2 - -10, the result would be -12, and then the
|
815
823
|
absolute value would be computed, and so the result would be 12.
|
816
|
-
###
|
824
|
+
### 43. Add
|
817
825
|
|
818
826
|
See the sub example
|
819
827
|
add adds integers from the standard input
|
820
828
|
(echo 1; echo 2; echo 3) | add
|
821
829
|
The result would be 6
|
822
|
-
###
|
830
|
+
### 44. Sub
|
823
831
|
|
824
832
|
Sub is a simple command line program that subtracts integers.
|
825
833
|
For some reason, no simple program did this.
|
@@ -836,14 +844,14 @@ ch]
|
|
836
844
|
(echo 5; echo 2) | sub
|
837
845
|
Result =>
|
838
846
|
3
|
839
|
-
###
|
847
|
+
### 45. Rip
|
840
848
|
|
841
849
|
Replace In Place
|
842
850
|
rip tool replaces a string, not a regular expression, with another
|
843
851
|
string
|
844
852
|
Example
|
845
853
|
rip cat dog file
|
846
|
-
###
|
854
|
+
### 46. G+
|
847
855
|
|
848
856
|
A compiler for C += 2. If you want to use C++ with Python syntax, you
|
849
857
|
can use this.
|
@@ -851,7 +859,7 @@ ch]
|
|
851
859
|
Example
|
852
860
|
g+ a.cpp -o out
|
853
861
|
See also README file & emerald-browser and its source
|
854
|
-
###
|
862
|
+
### 47. T
|
855
863
|
|
856
864
|
“t” is incredibly useful.
|
857
865
|
It can be used many, many times every day by computer power users.
|
@@ -892,6 +900,7 @@ Navigation
|
|
892
900
|
Ultimate Chat Application.exe
|
893
901
|
Discourse Generator.exe
|
894
902
|
Emerald Browser
|
903
|
+
Left Right.exe
|
895
904
|
Find Housing
|
896
905
|
Google Speak
|
897
906
|
Selectlines
|
data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
77.0
|
data/bin/left_right
ADDED
Binary file
|
data/bin/left_right.exe
ADDED
Binary file
|
data/documentation/doc.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
This is a tool to bring sanity to politics.
|
4
|
+
|
5
|
+

|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
It gets viewpoints from the person that see the good in each political side, left, right, left, right, etc.
|
10
|
+
|
11
|
+
It then presents all of that.
|
12
|
+
|
13
|
+
Hopefully this can make people more sane and less hyper-partisan.
|
14
|
+
|
data/documentation/page
CHANGED
@@ -91,7 +91,7 @@ def main
|
|
91
91
|
nav_text = "<a href='javascript:window.scrollTo(0,0);'>Top</a><br><br>" #=0
|
92
92
|
index_ = 0
|
93
93
|
LST.each_with_index do |i, index|
|
94
|
-
next if i =~ /black|blue|cyan|green|magenta|red|white|yellow|linux|bold|underline|.txt|(?:GENERATOR$)/i
|
94
|
+
next if i =~ /black|blue|cyan|green|magenta|red|white|yellow|linux|bold|underline|.txt|(?:(?:GENERATOR|left_right)$)/i
|
95
95
|
|
96
96
|
|
97
97
|
orig = i
|
data/gem_data/VERSION_NUMBER
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
76.0
|
@@ -0,0 +1 @@
|
|
1
|
+
(cat VERSION_NUMBER; echo 1) | add | squeeze 0 0 VERSION_NUMBER
|
data/images/12.png
ADDED
Binary file
|