This file contains hidden or 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
/* | |
* App Script for sending emails directly from a spreadsheet. | |
* This is designed to be contained in the App Script extension for the spreadsheet itself. | |
*/ | |
/* I usually have several sheets in this spreadsheet */ | |
const SheetName = '<Sheet name of data>'; | |
/* | |
* Each row consists of data, one column of which is the email addresses. | |
* The column indexing is 0-based, so this is column A |
This file contains hidden or 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
def AC(a,b): | |
return [ 2*a/(a+2*b+4), (2*b+4)/(a+2*b+4)] | |
def AD(a,b): | |
return [ (2*a+2*b-2)/(a+2*b-1), b/(a+2*b-1)] | |
def BD(a,b): | |
return [ (a+2)*(2*a+b-2)/(4*a+3*b-4), b*(2*a+b)/(4*a+3*b-4)] | |
def BC(a,b): | |
return [ a*(a+2)/(3*a+b+2), (a+2)*(b+2)/(3*a+b+2) ] | |
def Area(a,b): | |
ac = AC(a,b) |
This file contains hidden or 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{tikz} | |
\usetikzlibrary{patterns} | |
\makeatletter | |
\tikzset{ | |
sub pic actions/.code=\expandafter\tikz@addmode\expandafter{\tikz@picmode} | |
} | |
\makeatother |
This file contains hidden or 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{tikz} | |
% These libraries handle the path manipulations | |
\usetikzlibrary{ | |
intersections, | |
spath3 | |
} |
This file contains hidden or 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
\PassOptionsToPackage{svgnames}{xcolor} | |
\documentclass[border=1cm]{standalone} | |
\usepackage{tikz} | |
\colorlet{base}{Moccasin} | |
\colorlet{background canvas}{base} | |
\colorlet{block body}{base!75} | |
\colorlet{block title bg}{base!75!Red} | |
\colorlet{block title fg}{Green} |
This file contains hidden or 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
-- Beermats | |
function setup() | |
displayMode(OVERLAY) | |
-- load the socket library to get accurate time readings | |
local socket=require("socket") | |
-- measue the time at the start | |
local st=socket:gettime() |
This file contains hidden or 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
radius = 20; | |
hexradius = radius * cos(15); | |
intersection() | |
{ | |
translate([0,0,-radius]) | |
{ | |
linear_extrude(height=2*radius) | |
{ | |
rotate([0,0,15]) | |
{ |
This file contains hidden or 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
--[[ | |
Track definitions. | |
--]] | |
function TrackPoints(a) | |
a = a or {} | |
local pts = a.points or {} | |
local t = a.start or 0 | |
local r = a.step or .1 |
This file contains hidden or 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{tikz} | |
\tikzset{ | |
star graph/.pic={ | |
\node[ | |
fill, | |
inner sep=0pt, | |
outer sep=0pt, | |
circle, |
This file contains hidden or 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
// | |
// ImageTools.h | |
// FaceDetection | |
// | |
// Created by Tobias Teleman on fredag 12 april 2013 | |
// Copyright (c) Tobias Teleman. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
NewerOlder