Skip to content

Instantly share code, notes, and snippets.

View mrkatey's full-sized avatar
🏠
Working from home

mrkatey

🏠
Working from home
View GitHub Profile
Certainly! Here are equivalent books for each of the major STEM fields:
1. Mathematics: "Principia Mathematica" by Alfred North Whitehead and Bertrand Russell. This monumental three-volume work provides a foundation for mathematics through formal logic and set theory. It explores mathematical concepts and develops the principles of mathematical logic.
2. Physics: "The Feynman Lectures on Physics" by Richard P. Feynman, Robert B. Leighton, and Matthew Sands. This book covers a wide range of physics topics and presents them in a highly accessible and engaging manner. It offers a comprehensive understanding of classical mechanics, electromagnetism, quantum mechanics, and statistical mechanics.
3. Chemistry: "Physical Chemistry" by Peter Atkins and Julio de Paula. This textbook delves into the principles and applications of physical chemistry. It covers topics such as thermodynamics, quantum mechanics, spectroscopy, and kinetics, providing a thorough understanding of the physical basis of chemical phenomena.
@mrkatey
mrkatey / a_series_of_GPT_prompts.md
Last active March 30, 2023 13:54
Useful prompts

3-Part Info on any Topic

for a given <keyword> create:

1. a short definition
2. a real-world use case 
3. a code snippet
@mrkatey
mrkatey / learning_guide.md
Last active March 28, 2023 09:11
Learning Guide

Master Maths in a few months

Algebra

Week 1: Day 1: Review the basics of arithmetic, including operations with integers, fractions, and decimals. Day 2: Study the properties of real numbers, including commutative, associative, and distributive properties. Day 3: Study the order of operations and how to evaluate expressions. Day 4: Practice simplifying expressions using the order of operations. Day 5: Study equations and inequalities, including how to solve them and their properties.

Afghanistan - "The Kite Runner" by Khaled Hosseini
Albania - "The General of the Dead Army" by Ismail Kadare
Algeria - "The Stranger" by Albert Camus
Argentina - "One Hundred Years of Solitude" by Gabriel Garcia Marquez
Australia - "Cloudstreet" by Tim Winton
Austria - "The Man Without Qualities" by Robert Musil
Bangladesh - "A Golden Age" by Tahmima Anam
Belgium - "The Sorrow of Belgium" by Hugo Claus
Brazil - "The Alchemist" by Paulo Coelho
Canada - "The Handmaid's Tale" by Margaret Atwood
@mrkatey
mrkatey / pdf
Created January 16, 2023 14:39
This file has been truncated, but you can view the full file.
b'%PDF-1.5\r\n%\xb5\xb5\xb5\xb5\r\n1 0 obj\r\n<</Type/Catalog/Pages 2 0 R/Lang(ru-RU) /StructTreeRoot 61 0 R/MarkInfo<</Marked true>>>>\r\nendobj\r\n2 0 obj\r\n<</Type/Pages/Count 14/Kids[ 3 0 R 22 0 R 29 0 R 31 0 R 35 0 R 37 0 R 39 0 R 41 0 R 43 0 R 50 0 R 52 0 R 54 0 R 56 0 R 58 0 R] >>\r\nendobj\r\n3 0 obj\r\n<</Type/Page/Parent 2 0 R/Resources<</ExtGState<</GS5 5 0 R/GS8 8 0 R>>/Font<</F1 6 0 R/F2 9 0 R/F3 11 0 R/F4 13 0 R/F5 18 0 R/F6 20 0 R>>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/MediaBox[ 0 0 595.32 841.92] /Contents 4 0 R/Group<</Type/Group/S/Transparency/CS/DeviceRGB>>/Tabs/S/StructParents 0>>\r\nendobj\r\n4 0 obj\r\n<</Filter/FlateDecode/Length 5516>>\r\nstream\r\nx\x9c\x95<\xdbr\xdb8\xb2\xef\xa9\xca?\xf0\xedP\xa7,\x86\xb8\x10$\xb7R\xae\x93\x8b\'\xeb\x9dd2\x1b;Imy\xce\x83"\xd36\'\xb2\xe4\x11)g\x92\xaf\xdf\xee\x06@\x02\x14\t)\x95\xb2"\xe2\xd2h\xf4\xbd\x1b\xa0\xa2g\xbfG\xcf\x9f?{\xf7\xea\xfcu\x94\x9e\x9eF/_\xbf\x8a\x9e\xbd\xb9\xc8\xa2\xdb\xe6\xe9\x13\x16\xdd>}R\x88D)\x19\xe5\x99LX\x11\xc9\x8c\'\x
@mrkatey
mrkatey / ping_pong.py
Created January 13, 2023 09:31
ping_pong_tournament
def tournament(players=None, total_matches=25):
...: import datetime
...: from random import shuffle
...: assert players is not None, 'Must add list of 2 or more players!'
...: matches = []
...: while len(matches) < total_matches:
...: shuffle(players)
...: for p in players:
...: for p2 in players:
...: if p != p2:
@mrkatey
mrkatey / statistics.md
Last active December 15, 2022 13:56
Learn Statistical Learning

Statistical Learning: Just-the-facts

What does a p-value for linear regression represent?

p-value

The p-value is a measure of how likely it is to observe a result as extreme as the one you got, given that the null hypothesis is true. In other words, the p-value tells you how confident you can be that the result you obtained is not due to chance. A low p-value indicates that the result is more significant, and therefore, it is less likely to be due to chance. Typically, a p-value of 0.05 or less is considered to be statistically significant, which means that there is a less than 5% chance that the result is due to chance.

A p-value for linear regression represents the probability that the observed relationship between the dependent and independent variables is due to chance.

˙Ř˙ŕ JFIF    ˙Ű C   !"$"$˙Ű C˙Ŕ   " ˙Ä   
˙Ä µ  } !1AQa"q2‘ˇ#B±ÁRŃđ$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š˘Ł¤Ą¦§¨©Ş˛ł´µ¶·¸ąşÂĂÄĹĆÇČÉĘŇÓÔŐÖ×ŘŮÚáâăäĺćçčéęńňóôőö÷řůú˙Ä   
˙Ä µ  w !1AQaq"2B‘ˇ±Á #3RđbrŃ
$4á%ń&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š˘Ł¤Ą¦§¨©Ş˛ł´µ¶·¸ąşÂĂÄĹĆÇČÉĘŇÓÔŐÖ×ŘŮÚâăäĺćçčéęňóôőö÷řůú˙Ú   ? Č\ČÇ·\҃ÇĘA9äSP`s€:ç­z1žp8 žľ€zs‘Lf  ăÓÚ“##*v¦’ $OROJ ql´ ĄÉíŕ™íMÝóg’1†¤r2x^ J– ýŢ9Ą‘ľPXä3Hr;FzJ H s»Ö€ąÁ,N ‚”q’~\®h88Ü>ƒÖ…Âđ8+ĐPp ŕcó§©ĺ°@Ę“o-óuëKőŰňúzP—A<ý:š0 Çb2 ˇAĎdň=¨‡<äőÉé@ -Ë lŇĆ[¨â•˝sśđŻ˝7®ŇŹz 3śňh$ŚŽ¸ţ´6ěäíůOZ^¶ăŻÖ€ŕHîjRx sÇąÜN>ťč9Áĺhěśň2;{Š SŚ·ô4Â9ÚwÝ˝=č';GnÔ ěňJŤĂ=3ŹĆĘŤą ţ”Ň=äńĎéN$‚6†ć‡`
G4Ö‚s´
S»Ópăü§€ üÍŘâ‚v¨ärxöĄaČ%łÇ
Set
Run
Take
Get
Go
Put
Turn
Make
Give
Look
@mrkatey
mrkatey / convert.py
Last active October 11, 2022 14:22
Convert SSDI to CSV
import csv
from dataclasses import field
key = {
"0":[[0],'(A)dd/(C)hange/(D)elete'],
"1":[[2,11], 'SS Number'],
"2":[[10,31], 'Last name'],
"3":[[30,35], 'Name Suffix'],
"4":[[34,50], 'First Name'],