- Finder > Preferences > Advanced > Show All Filename Extensions
- Source Code Pro (must be installed from google fonts or else vs code breaks) : https://fonts.google.com/specimen/Source+Code+Pro
d = float(raw_input("daily cases per 100k: ")) | |
u = float(raw_input("percentage unreported: ")) | |
i = int(raw_input("days of infectious period: ")) | |
c = int(raw_input("amount of people in room: ")) | |
p = 1 (((d + (d * (u / 100))) * i) / 100000) | |
chance = (p ** c) * 100 | |
print("percent chance a room of " + str(c) + " is covid free: " + str(chance)) |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS | |
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO | |
U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzRjAgMCAwABABgALSFBUWF1okY2xhc3NuYW1l | |
WCRjbGFzc2VzV05TQ29sb3KiFhhYTlNPYmplY3QIERokKTI3SUxRU1ddZGp3foWHiY6Z |
<?xml version="1.0" encoding="utf-8"?><UserProfile><achievementsList>KillEliteMonster CompleteTeleporter CompleteThreeStages FailShrineChance LoopOnce StayAlive1 Discover10UniqueTier1 CompleteUnknownEnding RepeatedlyDuplicateItems Discover5Equipment TotalMoneyCollected Die5Times RepeatFirstTeleporter KillBossQuick Complete30StagesCareer AttackSpeed MaxHealingShrine FindTimedChest TotalDronesRepaired KillTotalEnemies MoveSpeed HardHitter CompleteTeleporterWithoutInjury MajorMultikill KillElementalLemurians CompleteMultiBossShrine LogCollector ChargeTeleporterWhileNearDeath FreeMage CompletePrismaticTrial FindDevilAltar CompleteThreeStagesWithoutHealing CarryLunarItems Complete20Stages FindUniqueNewtStatues SuicideHermitCrabs HardEliteBossKill UseThreePortals KillElitesMilestone RescueTreebot KillGoldTitanInOneCycle</achievementsList><coins>496</coins><discoveredPickups>ItemIndex.Syringe ItemIndex.Bear ItemIndex.Behemoth ItemIndex.Missile ItemIndex.ExplodeOnDeath ItemIndex.Dagger ItemIndex.Tooth ItemIndex.CritG |
# aliases | |
alias ll='ls -al' | |
alias g='./gradlew' | |
alias check8080='lsof -i -n -P | grep TCP | grep 8080' | |
# lol osx | |
export BASH_SILENCE_DEPRECATION_WARNING=1 | |
# colors plz | |
set TERM xterm-256color; export TERM |
/script P=(math.floor(GetPVPRankProgress(target)*10000))/100 W=UnitPVPRank("player") N=(W-6)*5000+5000*P/100 Q=(W-5)*5000-N*0.8 SendChatMessage("Rank Progress: "..P.."% ".."Current RP: "..N.." RP to next rank "..Q.."","emote") |
boolean isValid = true; | |
if (isValid && expensiveCheck1()) { ... } | |
if (isValid && expensiveCheck2()) { ... } | |
// expensiveCheck1() and expensiveCheck2() should set isValid = false if needed to short circuit rest of validations |
[Ll]ibrary/ | |
[Tt]emp/ | |
[Oo]bj/ | |
[Bb]uild/ | |
# Autogenerated VS/MD solution and project files | |
/*.csproj | |
/*.unityproj | |
/*.sln | |
/*.suo |
/* | |
a 2D array can easily be represented by a standard array. given an array that has a size equal to a square number, | |
reverse the order of the "rows" into a new array without changing the order of the elementes in each row. | |
example: | |
oldArray newArray | |
row 1 [0,1,2 row 3 [6,7,8 | |
row 2 3,4,5 --> row 2 3,4,5 | |
row 3 6,7,8] row 1 0,1,2] | |
*/ |