This file contains hidden or 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
#### Start of Manual Blacklist #### | |
#sa-blacklist: 201507231330 | |
#This list provided by William Stearns <[email protected]>, please send | |
#additions and corrections. | |
#The master copy is kept at: | |
#http://www.stearns.org/sa-blacklist/sa-blacklist.current.cf | |
#Some of the following may be trademarks, owned by their respective owners. | |
# | |
blacklist_from *@001web.net | |
blacklist_from *@005mall.com |
This file contains hidden or 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
from __future__ import absolute_import, division,print_function,unicode_literals | |
from tensorflow.keras.models import Sequential | |
from tensorflow.keras.layers import Dense, Conv2D, Flatten, Dropout, MaxPooling2D | |
from tensorflow.keras.preprocessing.image import ImageDataGenerator | |
import os | |
import tensorflow as tf | |
import numpy as np | |
import matplotlib.pyplot as plt | |
This file contains hidden or 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
[Unit] | |
Description=Dell Fan Control Service based on CPU Temperature | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
ExecStart=/usr/local/bin/controlspeed.py | |
Restart=on-failure | |
RestartSec=10 |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import subprocess | |
import re | |
import time | |
import logging | |
FAN_CURVE = { | |
25: 0, | |
28: 3, |