Skip to content

Instantly share code, notes, and snippets.

@jesseshieh
jesseshieh / config.py
Created July 21, 2017 15:11 — forked from randyklein/config.py
Simple NiceHash Monitor
#config
minProf= .001 #min profit for alert in BTC/Day
slowAlertTimer = 300 #min time for slow alert in seconds
offTimer = 0 #min time of off alert in seconds
btcAddress = "address goes here" #niceHash BTC address to monitor
iftttKey = "key goes here" #key from IFTTT Maker applet
@jesseshieh
jesseshieh / bewitched-occasional-harpyeagle.yaml
Created June 15, 2018 22:10
Gigalixir Kubernetes Pod Definition
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
labels:
repo: bewitched-occasional-harpyeagle
name: bewitched-occasional-harpyeagle-REDACTED
namespace: bewitched-occasional-harpyeagle
spec:
containers: [92/124]
@jesseshieh
jesseshieh / bewitched-occasional-harpyeagle.yaml
Last active June 17, 2018 19:25
Gigalixir Kubernetes Deployment Spec
apiVersion: v1
kind: Namespace
metadata:
name: bewitched-occasional-harpyeagle
---
apiVersion: v1
kind: Service
metadata:
labels:
repo: bewitched-occasional-harpyeagle
on:
pull_request:
types: [closed]
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps: