Skip to content

Instantly share code, notes, and snippets.

@soxfor
soxfor / asrock-h81m-vg4-r2.0
Last active April 21, 2017 11:24
lm_sensors config for ASRock H81M-VG4 R2.0
#
# ASRock H81M-VG4 R2.0
#
# Got the info needed from
# https://gist.github.com/michalzielanski/52356e6116b3fa94b0350c8956433a07
#
# From Nuvoton NCT6776D Data Sheet:
# - 8-bit Analog to Digital Converter (ADC). Voltage range 0 - 2.048V,
# 8mV LSB (256 steps x 8mV = 2.048V).
# - Scaling equation: (Value * 8mV * (R1 + R2)) / R2 [1]
@soxfor
soxfor / mysql_backup.sh
Created March 30, 2017 14:08 — forked from chill117/mysql_backup.sh
Bash script to perform backups on one or more MySQL databases.
#!/bin/bash
#
# Use this script to perform backups of one or more MySQL databases.
#
# Databases that you wish to be backed up by this script. You can have any number of databases specified; encapsilate each database name in single quotes and separate each database name by a space.
#
# Example:
# databases=( '__DATABASE_1__' '__DATABASE_2__' )