Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import subprocess
import re
import time
import logging
FAN_CURVE = {
25: 0,
28: 3,
[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
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
@Allesanddro
Allesanddro / xd
Last active August 20, 2019 17:47
#### 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