Skip to content

Instantly share code, notes, and snippets.

View tannercrook's full-sized avatar
🖖
Living long and prospering

Tanner Crook tannercrook

🖖
Living long and prospering
View GitHub Profile
@tannercrook
tannercrook / SPEDSnapshotCounts.sql
Last active January 29, 2020 18:59
Get a count of SPED Students by year, school, and snapshot date.
/*
(c)2020 Tanner Crook
===============================================================================
This script will query a result set containing the year, school, a snapshot
date (currently the 15th of a given month), and the count of SPED status = 'Y'
students on the given date.
===============================================================================
*/
@tannercrook
tannercrook / base-bootstrap4.html
Created December 28, 2019 17:51
A base template for a bootstrap 4 webpage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap 4 Resources -->
<!-- Latest compiled and minified CSS -->
@tannercrook
tannercrook / base.html
Created December 20, 2019 20:55
A great Jinja2 starting template
{% block html %}
<!DOCTYPE html>
<html lang="en">
{% block head %}
<head>
{% block meta %}
{% endblock meta %}
{% block title %}
<title>CrookTec</title>
@tannercrook
tannercrook / com.py
Created May 1, 2015 04:55
Raspberry Pi Laser Communications
import RPi.GPIO as GPIO
import time
import binascii
import sys
GPIO.setmode(GPIO.BCM)
GPIO.setup(4,GPIO.IN)
GPIO.setup(17,GPIO.IN)
GPIO.setup(22,GPIO.IN)
GPIO.setup(24,GPIO.OUT)