Skip to content

Instantly share code, notes, and snippets.

View fielding's full-sized avatar
🙊

Fielding Johnston fielding

🙊
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
type,public,payload,repo_id,repo_name,repo_url,actor_id,actor_login,actor_gravatar_id,actor_avatar_url,actor_url,org_id,org_login,org_gravatar_id,org_avatar_url,org_url,created_at,id,other
PushEvent,true,"{""push_id"":1959742051,""size"":7,""distinct_size"":7,""ref"":""refs/heads/master"",""head"":""9c6867bc63b01cffb27caef0c87e43e17be608d8"",""before"":""9bf78d9a757b18d81538d149632ee021da267e02"",""commits"":[{""sha"":""865aed2ac2ef9dfb183bef31ae4512a1b0a875eb"",""author"":{""name"":""Fielding Johnston"",""email"":""[email protected]""},""message"":""Adjust spacing in .vimrc"",""distinct"":true,""url"":""https://api.github.com/repos/justfielding/dotfiles/commits/865aed2ac2ef9dfb183bef31ae4512a1b0a875eb""},{""sha"":""b3d1026b4cecf055b976a59f25abceaedf8e7c13"",""author"":{""name"":""Fielding Johnston"",""email"":""[email protected]""},""message"":""Set wildignore in .vimrc"",""distinct"":true,""url"":""https://api.github.com/repos/j
{"type":"PushEvent","public":"true","payload":"{\"push_id\":1959742051,\"size\":7,\"distinct_size\":7,\"ref\":\"refs/heads/master\",\"head\":\"9c6867bc63b01cffb27caef0c87e43e17be608d8\",\"before\":\"9bf78d9a757b18d81538d149632ee021da267e02\",\"commits\":[{\"sha\":\"865aed2ac2ef9dfb183bef31ae4512a1b0a875eb\",\"author\":{\"name\":\"Fielding Johnston\",\"email\":\"[email protected]\"},\"message\":\"Adjust spacing in .vimrc\",\"distinct\":true,\"url\":\"https://api.github.com/repos/justfielding/dotfiles/commits/865aed2ac2ef9dfb183bef31ae4512a1b0a875eb\"},{\"sha\":\"b3d1026b4cecf055b976a59f25abceaedf8e7c13\",\"author\":{\"name\":\"Fielding Johnston\",\"email\":\"[email protected]\"},\"message\":\"Set wildignore in .vimrc\",\"distinct\":true,\"url\":\"https://api.github.com/repos/justfielding/dotfiles/commits/b3d1026b4cecf055b976a59f25abceaedf8e7c13\"},{\"sha\":\"ab2116dfd2c7eec14cd5f404ab076ded2058a422\",\"author\":{\"name\":\"Fielding

Keybase proof

I hereby claim:

  • I am fielding on github.
  • I am fielding (https://keybase.io/fielding) on keybase.
  • I have a public key ASAvhP2HvOy0WA1vv5vxQdE4NJ0DdbsSXcP0-NEMDPby3wo

To claim this, I am signing this object:

@fielding
fielding / amps.rb
Created December 6, 2017 02:22 — forked from i8degrees/amps.rb
the effects of sleep deprivation on the logical mind
#!/usr/bin/env ruby
class NomNom
def initialize(io)
# ...I'm not writing this class over again, hoe!
end
end
class SuperYumNom < NomNom
const range = Array.from(Array(101).keys());
var buzzler = n => console.log(
`${n}: ${ n % 3 === 0 ? 'Fizz' : '' }${ n % 5 === 0 ? 'Buzz' : '' }`
);
range.map(buzzler);
//
// Disclamer:
// ----------
//
// This code will work only if you selected window, graphics and audio.
//
// Note that the "Run Script" build phase will copy the required frameworks
// or dylibs to your application bundle so you can execute it on any OS X
// computer.

ffmpeg fun

ffmpeg movie create based on images in directory

  ffmpeg -r 10 -i %d.jpg -b 15000k timelapse.mov

ffmpeg trim avi file down to the ms

{
"metadata": {
"version": 4.5,
"type": "Object",
"generator": "Object3D.toJSON"
},
"geometries": [
{
"uuid": "B29B4384-D845-41C8-8C34-7DABDD7061F1",
"type": "Geometry",
// Streams
/*
const ticker$ = Rx.Observable
.interval(tickerInterval, Rx.Scheduler.requestAnimationFrame)
.map(() => ({ time: Date.now(), delta: null }))
.scan((previous, current) => ({
time: current.time,
delta: (current.time - previous.time) / 1000,
}));
@fielding
fielding / hosts
Last active June 15, 2018 19:39 — forked from i8degrees/hosts.latest
Ye'old pirates host config - hopefully early of a few revisions
# hosts
#
# Ye' Old Pirates Host config
# by fielding and i8degrees
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost