View pyscreen.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import subprocess | |
from time import sleep | |
class Screen: | |
def __init__(self): | |
self.prog = re.compile(r'\s+([-_\w\.]+)') | |
self.sessions = dict() | |
self.checkForScreenInstallation() |
View media_filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run in Media folder, and removes special features. | |
find . | grep -E '(\.(mkv)|(avi)|(mp4))$' | grep -vE ' - t0[1-9]' | grep -vE ' - t[1-9][0-9]' | grep -vE ' - t00[0-9][1-9]' | grep -vE ' - t01[0-9][1-9]' | grep -vE '\/Ripped\/' | grep -vE '\/TV\/' | sed 's/\.\//\.\.\//g' > tvPlaylist/allMovies.m3u |
View rebuild-postgres.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
podman stop $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rm $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rmi $(podman images | grep 'postgres' | awk '{print $3}') && podman build -t postgres . |
View reload-kafka-pod.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
podman pod stop $(podman pod list | grep 'kafka' | awk '{print $1}') && podman pod rm -f $(podman pod list | grep 'kafka' | awk '{print $1}') && podman-compose up -d |
View audstanley-start-server.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this is basically just a helper script for systemd | |
# This file should be locaed in: /home/audstanley/Zomboid [match to your user's directory] | |
cd /home/audstanley/.steam/steamapps/common/Project\ Zomboid\ Dedicated\ Server; | |
./start-server.sh |
View breast-cancer-wisconsin.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code | ClumpThickness | CellSize | CellShape | Adhesion | Epithelial | Nuclei | Chromatin | Nucleoli | Mitoses | Class | |
---|---|---|---|---|---|---|---|---|---|---|---|
1000025 | 5 | 1 | 1 | 1 | 2 | 1 | 3 | 1 | 1 | B | |
1002945 | 5 | 4 | 4 | 5 | 7 | 10 | 3 | 2 | 1 | B | |
1015425 | 3 | 1 | 1 | 1 | 2 | 2 | 3 | 1 | 1 | B | |
1016277 | 6 | 8 | 8 | 1 | 3 | 4 | 3 | 7 | 1 | B | |
1017023 | 4 | 1 | 1 | 3 | 2 | 1 | 3 | 1 | 1 | B | |
1017122 | 8 | 10 | 10 | 8 | 7 | 10 | 9 | 7 | 1 | M | |
1018099 | 1 | 1 | 1 | 1 | 2 | 10 | 3 | 1 | 1 | B | |
1018561 | 2 | 1 | 2 | 1 | 2 | 1 | 3 | 1 | 1 | B | |
1033078 | 2 | 1 | 1 | 1 | 2 | 1 | 1 | 1 | 5 | B |
View pima.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Preg | Glucose | BP | Skin | Insulin | BMI | Pedigree | Age | HasDiabetes | |
---|---|---|---|---|---|---|---|---|---|
2 | 157 | 74 | 35 | 440 | 39.4 | 0.134 | 30 | 0 | |
7 | 159 | 64 | 0 | 0 | 27.4 | 0.294 | 40 | 0 | |
7 | 83 | 78 | 26 | 71 | 29.3 | 0.767 | 36 | 0 | |
0 | 124 | 56 | 13 | 105 | 21.8 | 0.452 | 21 | 0 | |
5 | 99 | 54 | 28 | 83 | 34 | 0.499 | 30 | 0 | |
0 | 117 | 80 | 31 | 53 | 45.2 | 0.089 | 24 | 0 | |
4 | 83 | 86 | 19 | 0 | 29.3 | 0.317 | 34 | 0 | |
3 | 174 | 58 | 22 | 194 | 32.9 | 0.593 | 36 | 1 | |
7 | 179 | 95 | 31 | 0 | 34.2 | 0.164 | 60 | 0 |
View char1_O.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X1 | X2 | |
---|---|---|
197 | 298 | |
197 | 298 | |
187 | 303 | |
178 | 299 | |
163 | 289 | |
148 | 280 | |
124 | 257 | |
102 | 236 | |
71 | 202 |
View char1_M.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X1 | X2 | |
---|---|---|
184 | 409 | |
168 | 409 | |
154 | 406 | |
138 | 397 | |
119 | 376 | |
104 | 352 | |
83 | 316 | |
65 | 277 | |
46 | 227 |
View char1_E.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X1 | X2 | |
---|---|---|
96 | 150 | |
96 | 150 | |
96 | 150 | |
87 | 149 | |
96 | 154 | |
105 | 154 | |
124 | 166 | |
147 | 169 | |
176 | 182 |
NewerOlder