Skip to content

Instantly share code, notes, and snippets.

View vermiculus's full-sized avatar
🙃
I may be slow to respond.

Sean Allred vermiculus

🙃
I may be slow to respond.
View GitHub Profile
DROP DATABASE project_one;
CREATE DATABASE project_one;
CONNECT project_one;
CREATE TABLE people (
id int NOT NULL
AUTO_INCREMENT,
first_name varchar(80) NOT NULL,
last_name varchar(80) NOT NULL,
\documentclass{article}
\usepackage{units}
\usepackage{xcookybooky}
\begin{document}
\begin{recipe}
[
preparationtime = 30 min,
bakingtime = 1 hour,
bakingtemperature = {\unit[225]{C}},
/*James Sappington; Mini Automatic Aquaponic Code for 24 hour use*/
/*-----( Import needed libraries )-----*/
#include <LiquidCrystal.h> // http://arduino.cc/en/Tutorial/LiquidCrystalDisplay
#include <Stepper.h>
#include <OneWire.h>
#include <SoftwareSerial.h> // we have to include the SoftwareSerial library, for pH.
// code for pH sensor adapted from seller: https://www.atlas-scientific.com/_files/code/Arduino_pH_sample_code.pdf
/*-----( Declare Constants, Pin Numbers )-----*/

aquaponics

This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) (format=xelatex 2013.9.7) 24 DEC 2013 17:29
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**\input mwe.tex
(./mwe.tex
LaTeX Warning: Writing file `./cs-smp.cls'.
\openout15 = `cs-smp.cls'.
(defun *magit-delete-trailing-whitespace-from-file ()
"Removes whitespace from the current item."
(interactive)
(save-excursion
(magit-visit-item)
(delete-trailing-whitespace)
(save-buffer)
(kill-buffer))
(magit-refresh))
\documentclass{article}
\usepackage{lettrine}
\usepackage{xparse}
% Starts an environment like this:
%
% \begin{prayer}<<stop token>>%
% [extra options for lettrine]%
% {'sidebar' text}%
% [width of sidebar]
(require 'cl) ; place your cursor after this paren and pres C-x C-e
(defun **strip-stuff (file &optional environments)
"Takes the current file and strips every environment from
`ENVIRONMENTS` into `FILE`."
(interactive "FFile name: \nxList of Environments (\"one\" \"two\" \"etc\"): ")
(if (every 'stringp environments)
(progn
(beginning-of-buffer)
(let ((search-regex (concat "\\\\begin{"