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
HWiNFO64 Version 4.50-2400 | |
STYX ---------------------------------------------------------------------- | |
[Current Computer] | |
Computer Name: STYX | |
Computer Description: STYX | |
Computer Brand Name: LENOVO Lenovo Z50-70 | |
[Operating System] | |
Operating System: Microsoft Windows 8.1 Professional with Media Center (x64) Build 9600 |
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 | |
from prometheus_client.core import GaugeMetricFamily, REGISTRY | |
from miio.airpurifier import AirPurifier | |
from prometheus_client.metrics_core import CounterMetricFamily | |
from prometheus_client.twisted import MetricsResource | |
from twisted.web.server import Site | |
from twisted.web.resource import Resource | |
from twisted.internet import reactor |
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 pandas as pd | |
import os | |
from sqlalchemy import * | |
engine = create_engine('mysql://root:test@127.0.0.1/test') #Change me to the phriction database | |
df=pd.read_sql('select * from phriction_content',engine) | |
def get(x): | |
x=x.iloc[0] |
OlderNewer