This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Blinkier | |
Based on `Blink' | |
Toggles the state for two LEDs. Also practice for the Garduino as | |
a fully-realized state machine. | |
This code is in the public domain. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*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 )-----*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{units} | |
\usepackage{xcookybooky} | |
\begin{document} | |
\begin{recipe} | |
[ | |
preparationtime = 30 min, | |
bakingtime = 1 hour, | |
bakingtemperature = {\unit[225]{C}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{xparse,expl3,environ} | |
\ExplSyntaxOn | |
\NewEnviron{save}[1]{ | |
\tl_new:c { saved_text__#1 } | |
\tl_set:cv { saved_text__#1 } { | |
\BODY | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Run as sudo | |
if [ "$EUID" -ne 0 ] ; then | |
>&2 echo "Please run as sudo." | |
exit 1 | |
fi | |
if [ -z "$1" ] ; then | |
read -p "Package name: " PKG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[convert={density=3000, | |
size=1080x800, | |
outext=.png}, | |
border=1cm]{standalone} | |
\usepackage{fontspec} | |
\setmainfont{Zapfino} | |
\pagestyle{empty} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{memoir} | |
\usepackage[english]{babel} | |
\usepackage{graphicx} | |
%\usepackage{chancery} | |
%\usepackage[T1]{fontenc} | |
\usepackage{oesch} | |
\usepackage[paperwidth=6in,paperheight=4in,margin={1cm,1cm}]{geometry} |