Refactor the honk (again)

This commit is contained in:
newt 2024-10-09 18:02:32 +01:00
parent 4ac823cbe2
commit d3cd6faf8c
20 changed files with 15 additions and 46 deletions

View file

@ -1,26 +0,0 @@
:*:a::https://tenor.com/view/a-dancing-dancing-a-pesing-gif-18704788
:*:b::https://tenor.com/view/letter-b-dancing-gif-9063746
:*:c::https://tenor.com/view/letter-c-dancing-gif-9063747
:*:d::https://tenor.com/view/letter-d-dancing-gif-9063748
:*:e::https://tenor.com/view/letter-e-gif-9063749
:*:f::https://tenor.com/view/letter-f-gif-9063750
:*:g::https://tenor.com/view/g-letter-dance-cartoon-gif-13894794
:*:h::https://tenor.com/view/letter-h-gif-9063752
:*:i::https://tenor.com/view/letter-i-gif-9063753
:*:j::https://tenor.com/view/letter-j-dance-gif-9063754
:*:k::https://tenor.com/view/letter-k-gif-9063755
:*:l::https://tenor.com/view/red-alphabet-letter-dancing-letter-l-cartoons-gif-12084376
:*:m::https://tenor.com/view/letter-m-dance-happy-gif-9063757
:*:n::https://tenor.com/view/letter-n-gif-9063758
:*:o::https://tenor.com/view/letter-o-gif-9063759
:*:p::https://tenor.com/view/letter-p-gif-9063760
:*:q::https://tenor.com/view/letter-q-gif-9063761
:*:r::https://tenor.com/view/letter-r-gif-9063762
:*:s::https://tenor.com/view/letter-s-gif-9063763
:*:t::https://tenor.com/view/letter-t-gif-9063764
:*:u::https://tenor.com/view/letter-u-gif-9063765
:*:v::https://tenor.com/view/letter-v-gif-9063766
:*:w::https://tenor.com/view/letter-w-gif-9063767
:*:x::https://tenor.com/view/letter-x-gif-9063768
:*:y::https://tenor.com/view/letter-y-gif-9063769
:*:z::https://tenor.com/view/letter-z-gif-9063770

View file

@ -9,7 +9,6 @@ def nCr(n, r):
def binomial(x, n, p):
q = 1 - p
return nCr(n, x) * (p**x) * (q**(n-x))
print(binomial(5, 100, 0.1))
print(binomial(5, 100, 0.1))

View file

@ -31,4 +31,4 @@ for td1, td2 in zip(tds[::2], tds[1::2]):
# Save the data
df = pd.DataFrame(data)
df.to_csv(os.path.dirname(os.path.realpath(__file__)) + '/fbPercentActive_res.csv')
df.to_csv(os.path.dirname(os.path.realpath(__file__)) + '/facebook.csv')

View file

@ -27,4 +27,4 @@ for job in jobs:
# Save the data
df = pandas.DataFrame(data)
df.to_csv(os.path.dirname(os.path.realpath(__file__)) + '/fakejobs_res.csv')
df.to_csv(os.path.dirname(os.path.realpath(__file__)) + '/fakejobs.csv')

View file

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View file

@ -19,7 +19,7 @@ number = 0
page = getPage(number)
lines = []
file = open(os.path.dirname(os.path.realpath(__file__)) + '/2stars_res.csv', 'r+')
file = open(os.path.dirname(os.path.realpath(__file__)) + '/2stars.csv', 'r+')
file.truncate(0)
while page != -1:

View file

@ -11,20 +11,20 @@
- [Data Science](python/data%20science)
- [Fake Jobs Scraper](python/data%20science/fakejobs.py)
- [Country Population vs Active Facebook Users in the Country](python/data%20science/fbPercentActive.py)
- [ngrams Word Popularity](python/data%20science/wordPopularity.py)
- [Country Population vs Active Facebook Users in the Country](python/data%20science/facebook.py)
- [ngrams Word Popularity](python/data%20science/ngrams/word%20popularity.py)
- [Calculators](python/calculators)
- [Binomial Distribution](python/calculators/Binomial%20Distribution.py)
- [Pearson's Product-Moment Correlation Coefficient](python/calculators/PMCC.py)
- [Quadratic nth Term](python/calculators/Quadratic%20nth%20Term.py)
- [Square Root](python/calculators/Square%20Root.py)
- [Spearman's Rank Correlation Coefficient](python/calculators/SRCC.py)
- [Standard Deviation](python/calculators/Standard%20Deviation.py)
- [Binomial Distribution](python/calculators/binomial%20distribution.py)
- [Pearson's Product-Moment Correlation Coefficient](python/calculators/pmcc.py)
- [Quadratic nth Term](python/calculators/quadratic%20nth%20term.py)
- [Square Root](python/calculators/sqrt.py)
- [Spearman's Rank Correlation Coefficient](python/calculators/srcc.py)
- [Standard Deviation](python/calculators/stdev.py)
- [osu!](python/osu!)
- [PP from Beatmap ID](python/osu!/ppFromID.py)
- [PP from Beatmap ID](python/osu!/pp.py)
- [Geometry Dash](python/gd)
- [2 Stars List](python/gd/2stars.py)
- [Pygame Pong](python/pygame%20pong)
- [Pong (made with Pygame)](python/pong)
- [pythonchallenge.com](python/pythonchallenge.com)
- [r/dailyprogrammer](python/dailyprogrammmer)
@ -49,7 +49,7 @@
- [Eco Fest](coursework/gcse%20computer%20science/year%209/web/eco%20fest)
- [Pet Planet](coursework/gcse%20computer%20science/year%209/python/web/pet%20planet)
- [Year 10 (All Python)](coursework/gcse%20computer%20science/year%2010)
- [Year 10](coursework/gcse%20computer%20science/year%2010)
- [Calculator](coursework/gcse%20computer%20science/year%2010/calculator)
- [Cat or Dog](coursework/gcse%20computer%20science/year%2010/cat%20or%20dog)
- [Mark Analyser](coursework/gcse%20computer%20science/year%2010/mark%20analyser)
@ -59,7 +59,3 @@
- [Raspberry Pie Game](coursework/gcse%20computer%20science/year%2010/raspberry%20pie%20game)
- [API Hangman](coursework/gcse%20computer%20science/year%2010/API%20Hangman.py)
- [Temperature Bar Chart](coursework/gcse%20computer%20science/year%2010/Temperature%20Bar%20Chart.py)
### AHK (Auto Hot Key)
- [GIF Keyboard](ahk/gif%20keyboard.ahk)