elonmusk 1.0.87 → 1.0.91

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f173d14a810070dd97c741ab6fc313afd40cf635a781f0d91b21e381a791ebfe
4
- data.tar.gz: 8687f058e35718c3e0a16ba843b9f0e8cfb9759c839ec69cbac81a1d1bb2028f
3
+ metadata.gz: 2a2f60eb33a7b0f56faccca9687acd503c4bf07057bccd4ffd5644a354eddc32
4
+ data.tar.gz: cb4b3f5db5045c334924fecdfbecdee2e4f5ec8717076ad2481a29742e0a4182
5
5
  SHA512:
6
- metadata.gz: 26a8a69b3beeb30ba4683b38a75ba22a9f99b2b2a1a3f73455c7b612cbfbdf9afb82f65e156f7f611a5b26290a8ca4024cf8162568b1bf3bff9ad6fd14d59a68
7
- data.tar.gz: 1bb270e71e333cc3908844debb6c91fac812af5372ae3b80ee7304f729db0bd87945f76318e1259b7762983c901a13ff5cbffe4357507f8a26c85156f28e22d1
6
+ metadata.gz: 58c4479179c5716e7127752e3ba3ac3559e1a89850cc18f9cbe1f581db378e8afd5cdb6e614d8d4c31a8acc5e767045650cb5de7eacd9f1d4e48f460a06f90f2
7
+ data.tar.gz: 5d319d03a674c791c4644795c9d58b30b841338694c22cd1ac80ae1b936475551224df9d81cb0b559ed2632e0a0eaa67cfb7e873ca553de12b624db6730496bd
data/README CHANGED
@@ -1,5 +1,7 @@
1
1
  Trying to help with democracy. (No affiliation with elonmusk.)
2
2
 
3
+ https://snapcraft.io/democracy
4
+
3
5
  This is a collection of software that could truly change the world.
4
6
 
5
7
  All of these programs are mostly self-contained. This is a really good thing.
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 86 programs.
34
+ Those aside, there are these 87 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
 
@@ -44,6 +44,17 @@ You can use them anywhere without dependencies.
44
44
 
45
45
  HOW TO DOWNLOAD/INSTALL
46
46
 
47
+ IFRAME: https://snapcraft.io/democracy/embedded?button=black
48
+
49
+ With snap ( https://snapcraft.io/democracy)
50
+
51
+ sudo snap install democracy or snap install democracy
52
+
53
+ Binaries then would be in /snap/democracy/current/bin, source code is
54
+ in /snap/democracy
55
+
56
+ With gem command (RubyGems) (preinstalled on Mac)
57
+
47
58
  gem unpack democracy
48
59
 
49
60
  gem install democracy
@@ -98,7 +109,7 @@ You can use them anywhere without dependencies.
98
109
 
99
110
  Democracy Github Ruby Gem Python PIP Package
100
111
 
101
- Without further ado, here are the 86 documented programs. (The obvious usage
112
+ Without further ado, here are the 87 documented programs. (The obvious usage
102
113
  ones are omitted.)
103
114
 
104
115
  ### 1. Ultimate Chat Application.exe
@@ -713,7 +724,12 @@ ones are omitted.)
713
724
  copy copies the standard input
714
725
  Example
715
726
  ls | copy
716
- ### 33. Gsub
727
+ ### 33. Ctit
728
+
729
+ Capitalize Title
730
+ A work in progress.
731
+ Capitalizes the input and treats it like a title.
732
+ ### 34. Gsub
717
733
 
718
734
  Gsub is very powerful.
719
735
  Usage
@@ -722,7 +738,7 @@ ones are omitted.)
722
738
  cat text | gsub man dog
723
739
  cat text | gsub 'man|boy|cat|dog' food
724
740
  ls | gsub Desktop cat
725
- ### 34. News
741
+ ### 35. News
726
742
 
727
743
  Gets the news from bbc
728
744
  Usage
@@ -730,14 +746,14 @@ ones are omitted.)
730
746
  news speak
731
747
  uses google_speak to SPEAK the news, one story at a time.
732
748
  ![UCA](./images/5.png)
733
- ### 35. Args
749
+ ### 36. Args
734
750
 
735
751
  args is like a better xargs
736
752
  args works properly with spaces in the name of commands
737
753
  It takes exactly one argument
738
754
  Example
739
755
  ls | args “mv -t ../f”
740
- ### 36. Rnip
756
+ ### 37. Rnip
741
757
 
742
758
  Replace Not In Place
743
759
  This is like gsub, but for strings, not for regular expressions
@@ -745,10 +761,10 @@ ones are omitted.)
745
761
  echo .......... | rnip foo bar
746
762
  See also
747
763
  gsub
748
- ### 37. Trim
764
+ ### 38. Trim
749
765
 
750
766
  Trims spaces of each line
751
- ### 38. Quot
767
+ ### 39. Quot
752
768
 
753
769
  Turns quotes in text into good text and makes text presentable.
754
770
  Example
@@ -759,7 +775,7 @@ ones are omitted.)
759
775
  Example 3
760
776
  (Quote the file and output it)
761
777
  quot text_file
762
- ### 39. Open
778
+ ### 40. Open
763
779
 
764
780
  “open” is a very efficient program that searches a query from google,
765
781
  and then opens it in Emerald Browser.
@@ -780,25 +796,25 @@ ones are omitted.)
780
796
  See also
781
797
  emerald-browser
782
798
  close
783
- ### 40. Swap
799
+ ### 41. Swap
784
800
 
785
801
  Swaps two files
786
802
  Example
787
803
  swap text1 text2
788
- ### 41. Exp
804
+ ### 42. Exp
789
805
 
790
806
  exp is an exponentiation tool
791
807
  (echo 5; echo 3) | exp
792
808
  => 125
793
809
  (echo 2; echo 10) | exp
794
810
  => 1024
795
- ### 42. Div
811
+ ### 43. Div
796
812
 
797
813
  Divides numbers
798
814
  Example
799
815
  (echo 5000; echo 100) | div
800
816
  => 50
801
- ### 43. Mul
817
+ ### 44. Mul
802
818
 
803
819
  Multiply numbers
804
820
  echo 1 > file
@@ -808,10 +824,10 @@ ones are omitted.)
808
824
  echo 5 >> file
809
825
  cat file | mul
810
826
  => 120
811
- ### 44. Nth
827
+ ### 45. Nth
812
828
 
813
829
  Nth gets the nth line from the input
814
- ### 45. Abs
830
+ ### 46. Abs
815
831
 
816
832
  Abs gets the absolute value of an integer
817
833
  The absolute value of a number is the value of that number without its
@@ -824,13 +840,13 @@ ones are omitted.)
824
840
  => 12
825
841
  The last one would do -2 - -10, the result would be -12, and then the
826
842
  absolute value would be computed, and so the result would be 12.
827
- ### 46. Add
843
+ ### 47. Add
828
844
 
829
845
  See the sub example
830
846
  add adds integers from the standard input
831
847
  (echo 1; echo 2; echo 3) | add
832
848
  The result would be 6
833
- ### 47. Sub
849
+ ### 48. Sub
834
850
 
835
851
  Sub is a simple command line program that subtracts integers.
836
852
  For some reason, no simple program did this.
@@ -847,14 +863,14 @@ ones are omitted.)
847
863
  (echo 5; echo 2) | sub
848
864
  Result =>
849
865
  3
850
- ### 48. Rip
866
+ ### 49. Rip
851
867
 
852
868
  Replace In Place
853
869
  rip tool replaces a string, not a regular expression, with another
854
870
  string
855
871
  Example
856
872
  rip cat dog file
857
- ### 49. G+
873
+ ### 50. G+
858
874
 
859
875
  A compiler for C += 2. If you want to use C++ with Python syntax, you
860
876
  can use this.
@@ -862,7 +878,7 @@ ones are omitted.)
862
878
  Example
863
879
  g+ a.cpp -o out
864
880
  See also README file & emerald-browser and its source
865
- ### 50. T
881
+ ### 51. T
866
882
 
867
883
  “t” is incredibly useful.
868
884
  It can be used many, many times every day by computer power users.
@@ -932,6 +948,7 @@ Navigation
932
948
  Emoji
933
949
  Close
934
950
  Copy
951
+ Ctit
935
952
  Gsub
936
953
  News
937
954
  Args
@@ -955,19 +972,21 @@ References
955
972
 
956
973
  1. https://www.youtube.com/embed/Fx9x8cArK30
957
974
  2. mailto:gregorycohenvideos@gmail.com
958
- 3. https://pypi.org/project/democracy
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
975
+ 3. https://snapcraft.io/democracy/embedded?button=black
976
+ 4. https://snapcraft.io/democracy
977
+ 5. https://pypi.org/project/democracy
978
+ 6. https://www.rubygems.org/gem/democracy
979
+ 7. https://twitter.com/democracygem
980
+ 8. https://www.linkedin.com/in/gregory-cohen-274333261/
981
+ 9. https://www.rubygems.org/gems/democracy
982
+ 10. https://www.rubygems.org/gems/computers
983
+ 11. https://www.rubygems.org/gems/freespeech
984
+ 12. https://www.rubygems.org/gems/linux
985
+ 13. https://www.rubygems.org/gems/string
986
+ 14. https://www.rubygems.org/gems/unix
987
+ 15. http://www.github.com/gregoryc/democracy
988
+ 16. http://www.rubygems.org/gems/democracy
989
+ 17. https://pypi.org/project/democracy
990
+ 18. https://cboard.cprogramming.com/c-programming/181160-hi-i-have-created-some-work-i-think-will-really-valuable-community.html?s=589b5504cd0e3c2dc90e9abd8b66906f
991
+ 19. https://www.youtube.com/@LawrenceStevensMusic
992
+ 20. https://www.github.com/gregoryc/democracy
data/VERSION_NUMBER CHANGED
@@ -1 +1 @@
1
- 87.0
1
+ 91.0
data/bin/ctit ADDED
@@ -0,0 +1,44 @@
1
+ #!/usr/bin/ruby
2
+ # This is a work in progress.
3
+
4
+ ROMAN = /^([limcdvx]|[[:punct:]])+$/i
5
+
6
+ def capitalize(a)
7
+ a = a.gsub(/\s*(-|–|—|:)(-|–|—|:)*\s*/, "\\1 ")
8
+ w = a.split
9
+ not_major = /^(?:to|a|an|the|on|in|of|at|and|or|but|nor|for|yet|so)$/i
10
+ w = w.map do |i|
11
+ case i
12
+ when ROMAN
13
+ i.upcase
14
+ when /^(?:not|no|be|is|are|was|were|have|has|had|do|does|did|that|it|my|me|we|our|you|he|his|she|her|they|them|who)$/i
15
+ i.capitalize
16
+ when /(-|–|—|:)/
17
+ i.capitalize
18
+ when not_major
19
+ i.downcase
20
+ else
21
+ i.capitalize
22
+ end
23
+ end
24
+ w = w.to_a
25
+ if w.size == 0
26
+ w = [" "]
27
+ end
28
+ if w[0].match(ROMAN)
29
+ w[0] = w[0].upcase
30
+ else
31
+ w[0] = w[0].capitalize
32
+ end
33
+ if (w[-1].match(ROMAN))
34
+ w[-1] = w[-1].upcase
35
+ else
36
+ w[-1] = w[-1].capitalize
37
+ end
38
+ w = w.join(" ")
39
+ w = w.gsub "- ", "-"
40
+ w
41
+ end
42
+
43
+
44
+ print (capitalize ARGV.join(" "))
@@ -0,0 +1,7 @@
1
+
2
+
3
+ Capitalize Title
4
+
5
+ A work in progress.
6
+
7
+ Capitalizes the input and treats it like a title.
data/documentation/page CHANGED
@@ -276,6 +276,12 @@ def main
276
276
  <h2>All of these programs are mostly self-contained. This is a really good thing. You can use them anywhere without dependencies.</h2>
277
277
  <p>My email is <a href=mailto:#{EMAIL}>#{EMAIL}</a> and I really would like to make free and open source software. Everything I have is BSD licensed (free for commerical and non-commerical use).</p>
278
278
  <p>HOW TO DOWNLOAD/INSTALL</p>
279
+ <p><iframe src="https://snapcraft.io/democracy/embedded?button=black" frameborder="0" width="100%" height="300px" style="border: 1px solid #CCC; border-radius: 2px;"></iframe></p>
280
+
281
+ <p>With snap (<a href=https://snapcraft.io/democracy>https://snapcraft.io/democracy</a>)</p>
282
+ <p>sudo snap install democracy or snap install democracy</p>
283
+ <p>Binaries then would be in /snap/democracy/current/bin, source code is in /snap/democracy</p>
284
+ <p>With gem command (RubyGems) (preinstalled on Mac)</p>
279
285
  <p>gem unpack democracy</p>
280
286
  <p>gem install democracy</p>
281
287
  <p>work to download or install (gem)</p>
data/gem_data/README CHANGED
@@ -1,5 +1,7 @@
1
1
  Trying to help with democracy.
2
2
 
3
+ https://snapcraft.io/democracy
4
+
3
5
  This is a collection of software that could truly change the world.
4
6
 
5
7
  All of these programs are mostly self-contained. This is a really good thing.
@@ -1 +1 @@
1
- 86.0
1
+ 90.0
data/images/STORE.png ADDED
Binary file
data/images/STORE2.png ADDED
Binary file