Skip to content

Instantly share code, notes, and snippets.

View danhett's full-sized avatar
💭
NO

Dan Hett danhett

💭
NO
View GitHub Profile
let scene, camera, renderer, animationId, controls
let geometry, material, mesh
let loader
let currentModel
function init() {
scene = new THREE.Scene()
camera = new THREE.PerspectiveCamera(
75,

Keybase proof

I hereby claim:

  • I am danhett on github.
  • I am danhett (https://keybase.io/danhett) on keybase.
  • I have a public key whose fingerprint is 37AB 38F6 66B3 C6C8 155B A981 486F F93C 0E58 D2AF

To claim this, I am signing this object:

ffmepg -i input.mp4 -codec:v libvpx -cpu-used 0 -b:v 700k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1000k -threads 4 -vf scale=iw*.5:ih*.5 -codec:a libvorbis -b:a 128k output.webm
@danhett
danhett / contract.md
Last active July 6, 2020 17:57 — forked from brendandawes/Dawesome Design Contract.md
A contract for creative technologist/development services.

This is simple, clear and concise contract that I use for general creative and technical projects. It's based largely upon Brendan Dawe's excellent open-source design contract, but has been modified to contain more appropriate terminology for my field, and now contains sections pertaining to source code, ongoing support, NDA's etc.

Please feel free to fork, modify, distribute and use this document as you wish - and please please do use it. Do not start work without a contract, ever. Additionally: DO NOT START WORK WITHOUT A CONTRACT, EVER.

Agreement for commission of work between:

Dan Hett ("Developer", "me", "I")

and:

[CLIENT NAME] ("Client", "you")

@danhett
danhett / gist:6586514b5cce72db5a8d
Created January 20, 2016 11:55
Convert single image to video
ffmpeg -y -loop 1 -t 3.03 -i image.png -r 1 -vcodec libx264 -b:v 200k -bt 350k -f mp4 video.mp4
more info: http://stackoverflow.com/questions/23424688/ffmpeg-convert-single-image-into-video-android
(labelled as android but should work on none android linux flavours)
{
"latest-version":"2.0",
"cache-time":"60",
"resources":
[
{
"resource-key":"rateThisAppIOS",
"resource-url":"https://itunes.apple.com/gb/app/bbc-cbeebies-playtime/id891730883?mt=8"
},
{
class HelloWorld {
static public function main():Void {
trace("Hello World");
}
}
<?xml version="1.0" encoding="UTF-8"?>
<swabdata>
<team number="1">
<sample letter="A" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="B" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="C" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="D" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="E" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="F" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>
<sample letter="G" name="" longlat="" dir="" loc="" colonies="" types="" img=""/>