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
\documentclass{article}
\usepackage{lettrine}
\usepackage{xparse}
% Starts an environment like this:
%
% \begin{prayer}<<stop token>>%
% [extra options for lettrine]%
% {'sidebar' text}%
% [width of sidebar]
(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))
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'.

aquaponics

/*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 )-----*/
\documentclass{article}
\usepackage{units}
\usepackage{xcookybooky}
\begin{document}
\begin{recipe}
[
preparationtime = 30 min,
bakingtime = 1 hour,
bakingtemperature = {\unit[225]{C}},
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{xparse,expl3,environ}
\ExplSyntaxOn
\NewEnviron{save}[1]{
\tl_new:c { saved_text__#1 }
\tl_set:cv { saved_text__#1 } {
\BODY
}
}