From 2a356441a809a68c5e663a974362eacf4b66344b Mon Sep 17 00:00:00 2001 From: uploadingdictionairy <61804565+uploadingdictionairy@users.noreply.github.com> Date: Fri, 6 Mar 2020 09:58:10 +0000 Subject: [PATCH 1/8] Update w/ js version --- __pycache__/solver.cpython-34.pyc | Bin 3675 -> 0 bytes __pycache__/solver.cpython-36.pyc | Bin 3315 -> 0 bytes .gitignore => deprecated/.gitignore | 0 deprecated/LICENSE | 21 ++ Procfile => deprecated/Procfile | 0 README.md => deprecated/README.md | 0 dictionary.txt => deprecated/dictionary.txt | 0 .../requirements.txt | 0 server.py => deprecated/server.py | 0 solver.py => deprecated/solver.py | 0 {static => deprecated/static}/index.css | 0 .../templates}/index.html | 0 index.html | 308 ++++++++++++++++++ jquery.fittext.js | 43 +++ 14 files changed, 372 insertions(+) delete mode 100644 __pycache__/solver.cpython-34.pyc delete mode 100644 __pycache__/solver.cpython-36.pyc rename .gitignore => deprecated/.gitignore (100%) create mode 100644 deprecated/LICENSE rename Procfile => deprecated/Procfile (100%) rename README.md => deprecated/README.md (100%) rename dictionary.txt => deprecated/dictionary.txt (100%) rename requirements.txt => deprecated/requirements.txt (100%) rename server.py => deprecated/server.py (100%) rename solver.py => deprecated/solver.py (100%) rename {static => deprecated/static}/index.css (100%) rename {templates => deprecated/templates}/index.html (100%) create mode 100644 index.html create mode 100644 jquery.fittext.js diff --git a/__pycache__/solver.cpython-34.pyc b/__pycache__/solver.cpython-34.pyc deleted file mode 100644 index 03f738a1c7df6e237e127c695a3585bfab680b06..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3675 zcmcIn&2J+~6@S(3k2vEbPMnz}vzgi6%+AhwmwXIjW+CxBeUg^RMFx%Yw+kSCB_k$HXAVq#s}|NMfEMCruw4^wT2M zO_C;^rs!i((^SKm@9a4la3_Al%D5EVt<;> z3{qbe@)k*uW?01O6zgC)(PDB{@fOmYGE7H&m05 zTwt%3u(NMa9k$Pt#5dVJGfCYOd}f|bZ?h_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xY(Dt{n^(p*!H>fKVEfCLY`>n_ehs!?L)rX{a`#D_a{>BSPE|op!3y)`_<{% z$$WD-)o#>qJ$=?)ebk##)C|PnZcC|de6YKFety0)=IuaB-5rTqC>B?jLGnW@5wmhC_^)WKVO-5yvD z{OMP0T-(~$ZPo9J11{=*#|t(q7kI|2Ovnp7=Wwx<@ddU5xq(xtT_TQC+K2D}p&Ona zF8&2~8o3EF7ym@+CN9C@;vduL#ov*-jUR4Jhf*eWqΠVi%_d6bI~VJvDBgR@@DI zxFFTNuCKfRf|=_2G0$|#NlmPgc$ErIQrbw(mg)r61!UH6W4a<$?PJl1q=38D3?$=f zhgC}VP5CBJ6?oz*3NhHd}sbe^KH5eoB~KJYibo} zoH;Nn!c$<{PU_TZ9nTMIwZV-eyxvUiA%NMlfV=(Z%nke#@vb{y?$-up$=!Ab1`MTD zc?X;uN5_od29cT#KM?7H6ds2VhI!a Q9SDO1|18w@0z8}SKO$@T-v9sr diff --git a/.gitignore b/deprecated/.gitignore similarity index 100% rename from .gitignore rename to deprecated/.gitignore diff --git a/deprecated/LICENSE b/deprecated/LICENSE new file mode 100644 index 0000000..040dc74 --- /dev/null +++ b/deprecated/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 CodeGuild + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Procfile b/deprecated/Procfile similarity index 100% rename from Procfile rename to deprecated/Procfile diff --git a/README.md b/deprecated/README.md similarity index 100% rename from README.md rename to deprecated/README.md diff --git a/dictionary.txt b/deprecated/dictionary.txt similarity index 100% rename from dictionary.txt rename to deprecated/dictionary.txt diff --git a/requirements.txt b/deprecated/requirements.txt similarity index 100% rename from requirements.txt rename to deprecated/requirements.txt diff --git a/server.py b/deprecated/server.py similarity index 100% rename from server.py rename to deprecated/server.py diff --git a/solver.py b/deprecated/solver.py similarity index 100% rename from solver.py rename to deprecated/solver.py diff --git a/static/index.css b/deprecated/static/index.css similarity index 100% rename from static/index.css rename to deprecated/static/index.css diff --git a/templates/index.html b/deprecated/templates/index.html similarity index 100% rename from templates/index.html rename to deprecated/templates/index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..7c4440f --- /dev/null +++ b/index.html @@ -0,0 +1,308 @@ + + + + + + + + + + + +Countdown Solver + + + + + + + + + + + + +
+

EARL DESCENT

+

COUNTDOWN CALCULATOR FOR RUDE WORDS

+ Go to game +
+ + +
+ + + + + + + + + + + + +
           
+
+ +
+
+
+
+
+

Countdown

+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
RudeRegular
__
__
__
__
__
+
+
+
+ +
+

A website that helps you get the most points in Countdown

+
+ + + + + + \ No newline at end of file diff --git a/jquery.fittext.js b/jquery.fittext.js new file mode 100644 index 0000000..0b3ddef --- /dev/null +++ b/jquery.fittext.js @@ -0,0 +1,43 @@ +/*global jQuery */ +/*! +* FitText.js 1.2 +* +* Copyright 2011, Dave Rupert http://daverupert.com +* Released under the WTFPL license +* http://sam.zoy.org/wtfpl/ +* +* Date: Thu May 05 14:23:00 2011 -0600 +*/ + +(function( $ ){ + + $.fn.fitText = function( kompressor, options ) { + + // Setup options + var compressor = kompressor || 1, + settings = $.extend({ + 'minFontSize' : Number.NEGATIVE_INFINITY, + 'maxFontSize' : Number.POSITIVE_INFINITY + }, options); + + return this.each(function(){ + + // Store the object + var $this = $(this); + + // Resizer() resizes items based on the object width divided by the compressor * 10 + var resizer = function () { + $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize))); + }; + + // Call once to set. + resizer(); + + // Call on resize. Opera debounces their resize by default. + $(window).on('resize.fittext orientationchange.fittext', resizer); + + }); + + }; + +})( jQuery ); From 5e7f71cbe3ed8ee5932175c51537e75695d3afb5 Mon Sep 17 00:00:00 2001 From: uploadingdictionairy <61804565+uploadingdictionairy@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:02:35 +0000 Subject: [PATCH 2/8] Create README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e5f3124 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# EarlDescent +A website that helps you get the most points in Countdown. + +## Installation + +Download contents of public folder. + +## Usage + +Accurate mode uses a 500k dictionary and is laborious to run; fast fetches a 10k dictionary. Both do not modify the rude word dictionary. +Just type in the input box for an output. + +## Contributing +Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. + +Please make sure to update tests as appropriate. + +## License +[MIT](https://choosealicense.com/licenses/mit/) From e40c3893254f53ae5ab8e3ddfef4f2695500d305 Mon Sep 17 00:00:00 2001 From: uploadingdictionairy <61804565+uploadingdictionairy@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:06:14 +0000 Subject: [PATCH 3/8] Beautify ugly code that is still ugly. --- index.html => public/index.html | 221 +++++++++--------- jquery.fittext.js => public/jquery.fittext.js | 0 2 files changed, 109 insertions(+), 112 deletions(-) rename index.html => public/index.html (60%) rename jquery.fittext.js => public/jquery.fittext.js (100%) diff --git a/index.html b/public/index.html similarity index 60% rename from index.html rename to public/index.html index 7c4440f..386f4fd 100644 --- a/index.html +++ b/public/index.html @@ -111,9 +111,9 @@

Countdown

Accurate -
+
-
+
@@ -154,97 +154,98 @@

Countdown

A website that helps you get the most points in Countdown

+ - - - - - \ No newline at end of file + return chars + } + \ No newline at end of file diff --git a/jquery.fittext.js b/public/jquery.fittext.js similarity index 100% rename from jquery.fittext.js rename to public/jquery.fittext.js From 0ca245ac02897a0f3a16d2263dbdc0abe75ce7e7 Mon Sep 17 00:00:00 2001 From: uploadingdictionairy <61804565+uploadingdictionairy@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:07:29 +0000 Subject: [PATCH 4/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5f3124..0010c7e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Download contents of public folder. ## Usage -Accurate mode uses a 500k dictionary and is laborious to run; fast fetches a 10k dictionary. Both do not modify the rude word dictionary. +Accurate mode uses a 500k dictionary that is laborious to run; fast fetches a 10k dictionary. Both do not modify the rude word dictionary. Just type in the input box for an output. ## Contributing From a65b10f6b8519efb307b3b94edbf38ac2c8938cb Mon Sep 17 00:00:00 2001 From: SimDoes Date: Fri, 6 Mar 2020 10:28:35 +0000 Subject: [PATCH 5/8] Update html optimisation --- public/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 386f4fd..36587d7 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,6 @@ - @@ -302,4 +301,4 @@

A website that helps you get the most points in } return chars } - \ No newline at end of file + From a0ed0296f4068bb704c4fb05f18c5b2fe02c3114 Mon Sep 17 00:00:00 2001 From: Macky-L <60049839+Vigilamus@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:30:29 +0000 Subject: [PATCH 6/8] Adding contribution to project :) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0010c7e..4299838 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,5 @@ Please make sure to update tests as appropriate. ## License [MIT](https://choosealicense.com/licenses/mit/) + +(Hehe) From d60768613523a95575ff72cec63518741ab18fab Mon Sep 17 00:00:00 2001 From: siyagowda <61869631+siyagowda@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:32:17 +0000 Subject: [PATCH 7/8] Contribution to project --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4299838..64fac01 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ Please make sure to update tests as appropriate. ## License [MIT](https://choosealicense.com/licenses/mit/) -(Hehe) + From f30ef0a02d939b4cecb3e0346ddd2d7452b7ba04 Mon Sep 17 00:00:00 2001 From: tomdjohnson <61869602+tomdjohnson@users.noreply.github.com> Date: Fri, 6 Mar 2020 10:33:39 +0000 Subject: [PATCH 8/8] Contributed to project --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 64fac01..0010c7e 100644 --- a/README.md +++ b/README.md @@ -17,5 +17,3 @@ Please make sure to update tests as appropriate. ## License [MIT](https://choosealicense.com/licenses/mit/) - -