Skip to content

Instantly share code, notes, and snippets.

import pandas as pd
import numpy as np
import scipy.stats as st
CT_CUTOFF = str(28)
# CSV from https://raw.githubusercontent.com/skissler/CtTrajectories_B117/main/data/ct_dat_refined.csv
f = pd.read_csv("ct_dat_refined.csv")
b117Lt30 = f.query("B117Status == 'Yes' and CtT1 < " + CT_CUTOFF)
noB117Lt30 = f.query("B117Status == 'No' and CtT1 < " + CT_CUTOFF)
import json
import sys
import pdb
import datetime
def parse_date(datestr):
trans = [
["Januar", "January"],
["Februar", "February"],
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test</title>
</head>
<body>
<form action="#anchor" method="post">
<input type="submit" name="" value="Abschicken" />
</form>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Test</title>
</head>
<body>
<form action="#anchor" method="post">
<input type="submit" name="" value="Abschicken" />
</form>
.letterpress {
/* experiment with different font families and color schemes */
background-color: #ddd;
color: #505050;
font-family: Georgia, Times, serif;
font-style: italic;
text-shadow: -1px -1px 0px #202020, 1px 1px 0px #FFF;
}
@leuchtetgruen
leuchtetgruen / gist:6129536
Created August 1, 2013 08:30
Centering elements with known heights and widths
#centered {
position: fixed;
top: 50%;
height: 100px;
margin-top: -50px;
left: 50%;
width: 400px;
margin-left: -200px;
@keyframes rotate {
0% { transform: rotateY(0deg) }
100% { transform: rotateY(180deg) }
}
img {
border : 1px solid lightgray;
perspective: 1000;
-webkit-box-reflect:below 5px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.5, transparent), to(white));
}
video {
transition: all 1.5s ease-in-out;
-webkit-filter: blur(15px);
}
video:hover {
-webkit-filter: blur(0px);
}
@keyframes bounce {
0% { transform: translateY(0%); }
50% { transform: translateY(-50%); }
}
img:hover {
animation: bounce 1s infinite;
animation-timing-function: ease-in-out;
}
@keyframes bounce {
0% { transform: translateY(0%); }
50% { transform: translateY(-50%); }
}
img:hover {
animation: bounce 1s infinite;
animation-timing-function: ease-in-out;
}