Skip to content

Instantly share code, notes, and snippets.

Avatar

Chris Dodds chrisdodds

View GitHub Profile
View vpc_ip_monitor.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Subnet IP Monitor
Parameters:
Name:
Type: String
Default: "Subnet-IP-Monitor"
Tag:
Type: String
Description: Subnet Tag to filter
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View timer.py
from tkinter import *
import tkinter.font as font
import threading
window=Tk()
window.title("Remind Chris to get up.")
helv36 = font.Font(family='Helvetica', size=36, weight=font.BOLD)
def beep():
for i in range(1,5):
@chrisdodds
chrisdodds / disableCoreDumps.sh
Created Aug 13, 2017
Disable AWS Linux/RHEL core dumps
View disableCoreDumps.sh
#!/bin/bash
# Only tested with AWS Linux, but should work on RHEL, CentOS, Fedora, etc.
echo '* hard core 0' >> /etc/security/limits.conf
echo 'fs.suid_dumpable = 0' >> /etc/sysctl.conf
sysctl -p
View index.html
<div class='container shadow' id="main">
<div class="row text-center" id="header">
<h1 >El Pomodoro</h1>
</div>
<div class="row">
<div id="pomodoro-box" class="shadow">
<div id="timer"><span id='min'>25</span>:<span id='sec'>00</span></div>
</div>
</div>
<div class='row'>
View index.html
<div class="container-fluid">
<div id="hero">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<img class="icon img-responsive"/>
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-4">
<h1 class="text-center">It is <span id="temp"></span>&deg;<a href="#" id="unitType">F</a>.</h1>
View calculator.markdown