Skip to content

Instantly share code, notes, and snippets.

View chrisdodds's full-sized avatar

Chris Dodds chrisdodds

View GitHub Profile
@chrisdodds
chrisdodds / calculator.markdown
Last active September 13, 2016 18:42
Simple Calculator
@chrisdodds
chrisdodds / index.html
Last active September 13, 2016 18:46
Weather
<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>
@chrisdodds
chrisdodds / index.html
Created September 17, 2016 02:53
Pomodoro
<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'>
@chrisdodds
chrisdodds / disableCoreDumps.sh
Created August 13, 2017 18:54
Disable AWS Linux/RHEL core dumps
#!/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
@chrisdodds
chrisdodds / timer.py
Created March 3, 2018 22:06
Simple Timer
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):

Keybase proof

I hereby claim:

To claim this, I am signing this object:

AWSTemplateFormatVersion: "2010-09-09"
Description: Subnet IP Monitor
Parameters:
Name:
Type: String
Default: "Subnet-IP-Monitor"
Tag:
Type: String
Description: Subnet Tag to filter