Skip to content

Instantly share code, notes, and snippets.

@brendandawes
brendandawes / fibonacci.sublime-snippet
Created June 1, 2016 09:28
Processing:Dawesome:fibonacciSphereLayout
<snippet>
<content><![CDATA[
fibonacciSphereLayout(${1:amount}, ${2:radius});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>fibonacci</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / spectrum.sublime-snippet
Created June 1, 2016 09:19
Processing:Dawesome:colorSpectrum
<snippet>
<content><![CDATA[
colorSpectrum(${1:amount}, ${2:saturation}, ${3:brightness});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>spectrum</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / vogel.sublime-snippet
Created June 1, 2016 09:19
Processing:Dawesome:vogelLayout
<snippet>
<content><![CDATA[
vogelLayout(${1:amount}, ${2:sizeOfNode});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>vogel</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / spiral.sublime-snippet
Created June 1, 2016 09:18
Processing:Dawesome:spiralLayout
<snippet>
<content><![CDATA[
spiralLayout(${1:amount}, ${2:radius}, ${3:resolution}, ${4:spacing}, ${5:increment});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>spiral</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / circular.sublime-snippet
Created June 1, 2016 09:18
Processing:Dawesome:circularLayout
<snippet>
<content><![CDATA[
circularLayout(${1:amount}, ${2:radius});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>circular</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / enable.sublime-snippet
Created June 1, 2016 09:15
Processing:Dawesome:enableLazySave
<snippet>
<content><![CDATA[
enableLazySave(${1:saveKey}, ${2:fileExtension});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>enable</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
@brendandawes
brendandawes / grid.sublime-snippet
Last active May 31, 2016 18:15
Processing:Dawesome:gridLayout
<snippet>
<content><![CDATA[
gridLayout(${1:amount},${2:xStep},${3:yStep},${4:columns});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>grid</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.pde</scope>
</snippet>
FIRST=
for FILE in *.csv
do
exec 5<"$FILE" # Open file
read LINE <&5 # Read first line
[ -z "$FIRST" ] && echo "$LINE" # Print it only from first file
FIRST="no"
cat <&5 # Print the rest directly to standard output
@brendandawes
brendandawes / tools.md
Last active April 25, 2024 14:44
[Work in Progress] Tools — a constantly expanding list of some of the tools and services I use to make things, both hardware and software. Things can only appear on this list if it's something I've personally used to make things.
@brendandawes
brendandawes / Dawesome Design Contract.md
Last active December 22, 2022 10:13
A contract for general design services.

This contract for general design sevices is a hybrid of this one on Docracy and the AIGA one also found on Docracy. I wanted something that was simple yet covered the important bits such as payment schedule, kill fee, liability, rights etc. Change the parts in square brackets to suit. I've had this checked by a lawyer but I recommend if you decide to use it you also get it looked at by a lawyer too. Never do work without a contract in place. The majority of clients are good, decent and want to create great work with you — having a solid contract in place will strengthen that relationship and provide you with protection should things go awry.

Agreement for commission of work between [Designer Name] (Designer)

and [Client Name] (Client)

on [Date]