Skip to content

Instantly share code, notes, and snippets.

View perry-mitchell's full-sized avatar

Perry Mitchell perry-mitchell

View GitHub Profile
@perry-mitchell
perry-mitchell / dell-r720-fan-control.sh
Last active October 23, 2023 08:37
Dell R720 quiet fan control
#!/bin/bash
IDRAC_IP="192.168.0.101"
IDRAC_USER="root"
IDRAC_PASS=$1
if [ -z $IDRAC_PASS ]; then
IDRAC_PASS=$IDRAC_PASSWORD
fi
FANS_1="0x0A" # 10%
@perry-mitchell
perry-mitchell / ads.txt
Last active August 8, 2019 06:37
RFC: Ads.txt chaining
# Sample publisher ads.txt
somenetwork.com, 1234, DIRECT
another.org, 4455abc, RESELLER
# !include https://managednetwork.com/managed.ads.txt.php?id=123
@perry-mitchell
perry-mitchell / miner.js
Last active January 9, 2018 10:35
ZEC/Flypool Mining monitor
const fetch = require("node-fetch");
const chalk = require("chalk");
const prettyMs = require("pretty-ms");
const VError = require("verror");
const pruddy = require("pruddy-error");
const API = "https://api-zcash.flypool.org";
const DELAY = 60;
const MINER = "t1R21Uq3HQRiyj6ff1kFQcPusqPXiBaAc2U";
//const PAYOUT_MIN = 0.03;