RHEL Linux Admin /
Python Programmer /
Bash Scripting /
Wannabe Data Scientist
Pinned Loading
-
Python script to get temperature rea...
Python script to get temperature reading from DS18B20 sensor 1#!/usr/bin/python
23import os
4import time
5 -
Python_list_specific_filetypes_with_...
Python_list_specific_filetypes_with_mod-date_in_directory 1import os
2#import glob
3#import time
45path = "C:/path/to?files/*.csv"
-
Python_graph_csv_files_in_directory_...
Python_graph_csv_files_in_directory_with_total_and_count 1%matplotlib inline
2import time
3import os
4import glob
5import seaborn as sns
-
Python: Create a live-update 4-squar...
Python: Create a live-update 4-square_heatmap.py 1import plotly.graph_objects as go
2import dash
3from dash import dcc, html
4import requests
5from dash.dependencies import Input, Output
-
Bash One-line-lovelies
Bash One-line-lovelies 1# Remove blank lines from a text file
2sed -i '/^$/d' file.txt
34# Delete line 7000 with sed
5sed -i '7000d' file.txt
-
Python2.7 script to pull your favori...
Python2.7 script to pull your favorite stock and graph it (currently - 5 day trend) 1#!/usr/bin/env python2
23#Squelch matplotlib / seaborne error
4import warnings
5warnings.filterwarnings("ignore")
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.