Spaces:
Sleeping
Sleeping
Mega Honey Codes commited on
Commit Β·
1133212
0
Parent(s):
Initial commit
Browse files- RealStatsKickAss.zip +0 -0
- app.py +7 -0
- deploy.sh +4 -0
- index.html +67 -0
- requirements.txt +1 -0
- sdxc_failure_rates.json +16 -0
RealStatsKickAss.zip
ADDED
|
Binary file (1.66 kB). View file
|
|
|
app.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def greet(name):
|
| 4 |
+
return "Hello " + name + "!!"
|
| 5 |
+
|
| 6 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 7 |
+
demo.launch()
|
deploy.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
echo "π Deploying RealStatsKickAss.com..."
|
| 3 |
+
scp index.html user@shed-server:/var/www/html/
|
| 4 |
+
echo "β
Deployed. The truth is now live."
|
index.html
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>RealStatsKickAss.com</title>
|
| 7 |
+
<style>
|
| 8 |
+
body {
|
| 9 |
+
font-family: 'Courier New', monospace;
|
| 10 |
+
background: #000;
|
| 11 |
+
color: #0f0;
|
| 12 |
+
margin: 0;
|
| 13 |
+
padding: 2rem;
|
| 14 |
+
}
|
| 15 |
+
.container {
|
| 16 |
+
max-width: 800px;
|
| 17 |
+
margin: 0 auto;
|
| 18 |
+
}
|
| 19 |
+
h1 {
|
| 20 |
+
color: #ff00ff;
|
| 21 |
+
text-shadow: 0 0 10px #ff00ff;
|
| 22 |
+
}
|
| 23 |
+
.terminal {
|
| 24 |
+
background: #111;
|
| 25 |
+
border: 1px solid #0f0;
|
| 26 |
+
padding: 1rem;
|
| 27 |
+
margin: 1rem 0;
|
| 28 |
+
}
|
| 29 |
+
.prompt { color: #0f0; }
|
| 30 |
+
.command { color: #ff0; }
|
| 31 |
+
</style>
|
| 32 |
+
</head>
|
| 33 |
+
<body>
|
| 34 |
+
<div class="container">
|
| 35 |
+
<h1>RealStatsKickAss.com</h1>
|
| 36 |
+
<p><em>Because your data science professor never pushed to prod.</em></p>
|
| 37 |
+
|
| 38 |
+
<div class="terminal">
|
| 39 |
+
<span class="prompt">$</span> <span class="command">cat /philosophy.txt</span><br>
|
| 40 |
+
> Facts over feelings<br>
|
| 41 |
+
> Production over papers<br>
|
| 42 |
+
> Sheds over AWS<br>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<div class="terminal">
|
| 46 |
+
<span class="prompt">$</span> <span class="command">ls /datasets/</span><br>
|
| 47 |
+
> <a href="#" style="color: #0ff;">docker_rm_regrets.csv</a><br>
|
| 48 |
+
> <a href="#" style="color: #0ff;">sdxc_failure_rates.json</a><br>
|
| 49 |
+
> <a href="#" style="color: #0ff;">unity_vs_html5_rage_quit_analysis.md</a><br>
|
| 50 |
+
> <a href="#" style="color: #0ff;">vc_funding_vs_actual_value.sql</a><br>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<div class="terminal">
|
| 54 |
+
<span class="prompt">$</span> <span class="command">./deploy.sh</span><br>
|
| 55 |
+
> π₯ Building truth...<br>
|
| 56 |
+
> π Generating real stats...<br>
|
| 57 |
+
> π Deploying from shed...<br>
|
| 58 |
+
> β
REALSTATS KICKING ASS<br>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div class="terminal">
|
| 62 |
+
<span class="prompt">$</span> <span class="command">wget /RealStatsKickAss.zip</span><br>
|
| 63 |
+
> <a href="/RealStatsKickAss.zip" download style="color: #0ff;">RealStatsKickAss.zip</a><br>
|
| 64 |
+
</div>
|
| 65 |
+
</div>
|
| 66 |
+
</body>
|
| 67 |
+
</html>
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
gradio
|
sdxc_failure_rates.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"study_metadata": {
|
| 3 |
+
"sample_size": "whatever cards we had lying around",
|
| 4 |
+
"methodology": "tried to rsync, prayed",
|
| 5 |
+
"funding": "$0 (we used temu coupons)"
|
| 6 |
+
},
|
| 7 |
+
"findings": {
|
| 8 |
+
"avg_failure_rate": "42%",
|
| 9 |
+
"common_causes": [
|
| 10 |
+
"mystery_partitions",
|
| 11 |
+
"pre_loaded_malware",
|
| 12 |
+
"actually_just_8gb_cards"
|
| 13 |
+
],
|
| 14 |
+
"recommendation": "buy_two_just_in_case"
|
| 15 |
+
}
|
| 16 |
+
}
|