-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
382 lines (315 loc) · 16.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Sam Dutton is a web developer working for Google in London.">
<meta name="author" content="//samdutton.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta itemprop="name" content="Sam Dutton is a web developer working for Google in London.">
<meta itemprop="image" content="images/icon192.png">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#fff">
<base target="_blank">
<title>Sam Dutton</title>
<link rel="canonical" href="https://samdutton.com">
<link rel="manifest" href="manifest.json">
<script>
window.ga = window.ga || function() {
(ga.q=ga.q||[]).push(arguments);
};
ga.l=+new Date;
ga('create', 'UA-2630780-1', 'auto');
ga('send', 'pageview');
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<style>
a {
color: #15c;
font-weight: 300;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a#twitter {
color: black;
display: block;
margin: 0 0 40px 0;
text-decoration: none;
}
body {
font-family: sans-serif;
margin: 40px;
}
div.border-bottom {
border-bottom: 1px solid #666;
margin: 0 0 20px 0;
padding: 0 0 20px 0;
}
div#blurb {
border-bottom: 1px solid #666;
margin-bottom: 25px;
padding-bottom: 0;
}
div#container {
margin: 0 auto 0 auto;
max-width: 800px;
}
div#highlight {
background-color: #eee;
font-size: 1.2em;
margin: 0 0 50px 0;
padding: 1.5em 2em 0.5em 2em;
}
a#twitter div {
display: inline-block;
font-weight: 500;
left: -5px;
position: relative;
top: -13px;
}
a#twitter div:hover {
color: #1da1f2;
}
h1 {
font-size: 28px;
font-weight: 300;
line-height: 1.3em;
margin: 0 0 25px 0;
padding: 0;
}
img#sam-dutton {
float: right;
height: 120px;
margin: 0 0 25px 25px;
position: relative;
top: 5px;
width: 120px;
}
label {
display: block;
float: left;
margin: 0 10px 0 0;
}
li {
margin: 0 0 0.5em 0;
}
p {
color: #444;
font-weight: 300;
line-height: 1.6em;
margin: 0 0 1em 0;
}
select#australianThingSelector {
display: block;
margin: 0 0 20px 0;
}
a#twitter svg {
height: 40px;
left: -5px;
position: relative;
width: 40px;
}
ul {
list-style: square;
margin: 15px 15px 15px -23px;
}
@media (min-width: 620px) {
a#twitter div {
font-size: 18px;
font-weight: 300;
left: -7px;
position: relative;
top: -23px;
}
h1 {
font-size: 36px;
}
img#sam-dutton {
height: 315px;
width: 315px;
}
a#twitter svg {
height: 60px;
width: 60px;
}
}
</style>
</head>
<body>
<div id="container">
<!-- <div id="highlight">
<p>I built a PWA to demonstrate fast, offline-enabled search:
<br><br>
<a href="https://shearch.me">shearch.me</a>
<br><br>
This searches all of Shakespeare's plays and poems, including locations and stage directions. Find out more <a href="https://samdutton.wordpress.com/2019/02/19/search-shakespeare/" title="Link to blog post about shearch.me">here</a>.
</p>
</div> -->
<div id="blurb">
<img id="sam-dutton" src="images/me.jpg" alt="Sam Dutton" />
<h1>Sam Dutton</h1>
<a id="twitter" href="https://twitter.com/intent/follow?original_referer=http%3A%2F%2Fsimpl.info%2F&ref_src=twsrc%5Etfw®ion=follow_link&screen_name=sw12&tw_p=followbutton" rel="noopener" target="_blank" title="Follow @sw12"><svg viewbox="0 0 400 400"><title>Follow @sw12</title><path d="M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23" fill="#1da1f2" /></svg><div>Follow on Twitter</div></a>
<p>I am a Developer Advocate for Google Chrome.</p>
<p>I grew up in South Australia, went to university in Sydney, and have lived since 1986 in London.</p>
<p>From 2008 to 2010 I was a Senior Engineer at <a href="https://www.bbc.co.uk/rd" title="Prototyping homepage">BBC R&D Prototyping</a> and WP5 Technical Lead for the <a href="https://torrentfreak.com/p2p-next-introduces-live-bittorrent-streaming-080718/" title="P2P-Next Wikipedia article">P2P-Next</a> project.</p>
<p>From 1999 to 2008 I worked for <a href="https://www.itn.co.uk" title="Independent Television News website">ITN</a>, where I built the <a href="images/shotlister_shotlisting.jpg" title="Photograph of a shotlister using Shotlister to catalogue ITV news">Shotlister</a> news video cataloguing application using the <a href="https://en.wikipedia.org/wiki/Qt_%28toolkit%29" title="Wikipedia article about Qt">Qt framework</a>, and became front-end lead for <a href="https://itn.co.uk">itn.co.uk</a>. From 1991 to 1998 I was a typesetter and Mac systems manager at Decca Records (and helped set up their first website). In the late 80s, I worked as a temp secretary while trying to get work as a writer. Before that, I'd been an editorial assistant, at a literary agency and book packager in Sydney, and then for 18 months at Picador Books in London.</p>
<div class="border-bottom"></div>
<p>I've designed and coded several web sites, including previous incarnations of <a href="https://www.itn.co.uk">itn.co.uk</a>, <a href="https://www.yellowdiva.com">yellowdiva.com</a>, <a href="https://www.deccaclassics.com">deccaclassics.com</a> and <a href="https://www.smithgil.co.uk">smithgil.co.uk</a>.</p>
<p class="border-bottom">I used to be a governor at <a href="https://www.ravenstoneschool.co.uk" title="Ravenstone School homepage">Ravenstone School</a> in Balham, south London, and co-ran two <a href="https://www.codeclub.org.uk" title="Code Club site">Code Clubs</a>.</p>
<p>I've presented and helped run lots of events, including <a href="https://www.youtube.com/results?search_query=%22Sam%20dutton%22%20-elsa%20-vlog&sp=EgIQAQ%253D%253D">Google I/O, Chrome Dev Summit, PWA Roadshows, and Google Developer Days and DevFests</a>.</p>
<p>I've also written lots of articles for <a href="https://web.dev/authors/samdutton">web.dev</a>, <a href="https://developer.chrome.com/authors/samdutton/">developer.chrome</a>, Web Fundamentals, HTML5 Rocks, and a couple of posts for <a href="https://www.bbc.co.uk/blogs/researchanddevelopment/2010/11/mozilla-audio-data-api.shtml">BBC</a> <a href="https://www.bbc.co.uk/blogs/bbcinternet/2009/08/html_5_and_timed_media.html">R&D</a> and a few book reviews for <a href="https://literaryreview.co.uk/">Literary Review</a>.</p>
<p>For many years, I maintained <a href="https://simpl.info" title="simpl.info website">simpl.info</a>, which provides simplest possible examples of HTML, CSS and JavaScript. I've also built several demos for offline and video transcript search including <a href="https://shearch.me">shearch.me</a> and <a href="https://devsearch.me">devsearch.me</a>, and various web development tools, including <a href="https://github.com/GoogleChromeLabs/form-troubleshooter">Form troubleshooter</a> and <a href="https://github.com/samdutton/multihouse">Multihouse</a> (for running Lighthouse on multiple URLs). <a href="https://github.com/samdutton/multi-input"><multi-input></a> is a custom element for selecting multiple items using an input and datalist to suggest options. <a href="https://simpl.info/track/map/">MapTrack</a> demonstrates how the track element can be used to synchronise video playback with the position of a map marker, and make synchronised changes to DOM elements.</p>
<p>I have several Spotify playlists:</p>
<ul>
<li><a href="https://bit.ly/quietMusic" title="Quiet music Spotify playlist">bit.ly/quietmusic</a></li>
<li><a href="https://bit.ly/loudMusic" title="Loud music Spotify playlist">bit.ly/loudmusic</a></li>
<li><a href="https://bit.ly/danceMusic" title="Dance music Spotify playlist">bit.ly/dancemusic</a></li>
<li><a href="https://bit.ly/countryMusic" title="Country music Spotify playlist">bit.ly/countrymusic</a></li>
<li><a href="https://bit.ly/hipHop" title="Hip Hop Spotify playlist">bit.ly/hiphop</a></li>
<li><a href="https://bit.ly/rhythmAndBlues" title="Rhythm & Blues Spotify playlist">bit.ly/rhythmandblues</a></li>
<li><a href="https://bit.ly/jazzmusic" title="Jazz Spotify playlist">bit.ly/jazzmusic</a></li>
</ul>
<div class="border-bottom"></div>
<p>Email: <a href="mailto:samdutton_at_gmail.com">samdutton at gmail dot com</a></p>
<p>GitHub: <a href="https://www.github.com/github" title="GitHub account for Sam Dutton">samdutton</a></p>
<p>Glitch: <a href="https://glitch.com/@samdutton" title="Sam Dutton's demos on glitch.com">samdutton</a></p>
<p>Twitter: <a href="https://www.twitter.com/sw12" title="Twitter account for Sam Dutton">@sw12</a></p>
<p>Facebook: <a href="https://www.facebook.com/samdutton" title="Facebook page for Sam Dutton">facebook.com/samdutton</a></p>
<p>LinkedIn: <a href="https://linkedin.com/in/samdutton" title="LinkedIn public profile for Sam Dutton">uk.linkedin.com/in/samdutton</a></p>
</div> <!-- blurb -->
<div id="australianThings">
<label for="australianThingSelector">Show me Australian things: </label>
<select id="australianThingSelector" name="australianThingSelector">
<option value=""></option>
<option value="anzacs">anzacs</option>
<option value="Aunty_Jack">Aunty Jack</option>
<option value="banksia">banksia</option>
<option value="*berm">berm</option>
<option value="billy">billy</option>
<option value="bluefin">bluefin</option>
<option value="blue_healer">blue healer</option>
<option value="Blundstones">Blundstones</option>
<option value="boab">boab</option>
<option value="*bush">bush</option>
<option value="Cable_Beach">Cable Beach</option>
<option value="Camry">Camry</option>
<option value="carpet_shark">carpet shark</option>
<option value="Charger">Charger</option>
<option value="Cleo">Cleo</option>
<option value="cobbler">cobbler</option>
<option value="cray">cray</option>
<option value="culvert">culvert</option>
<option value="dacks">dacks</option>
<option value="damper">damper</option>
<option value="eskie">eskie</option>
<option value="donga">donga</option>
<option value="Fabulon">Fabulon</option>
<option value="Falcon">Falcon</option>
<option value="fats">fats</option>
<option value="*feral">feral</option>
<option value="fettler">fettler</option>
<option value="Fibro">Fibro</option>
<option value="FJ">FJ Holden</option>
<option value="Forum">Forum</option>
<option value="gidgie">gidgie</option>
<option value="grass_tree">grass tree</option>
<option value="*grouse">grouse</option>
<option value="*havingABlue">having a blue</option>
<option value="HK">HK</option>
<option value="HT">HT</option>
<option value="hummock">hummock</option>
<option value="humpy">humpy</option>
<option value="jacaranda">jacaranda</option>
<option value="jarrah">jarrah</option>
<option value="Johnny_Reb_boots">Johnny Reb boots</option>
<option value="Juicy_Fruit">Juicy Fruit</option>
<option value="Kalgoorlie">Kalgoorlie</option>
<option value="kero_fridge">kero fridge</option>
<option value="kombi">kombi</option>
<option value="mag_wheels">mag wheels</option>
<option value="mallee_root">mallee roots</option>
<option value="melaleuca">melaleuca</option>
<option value="Metters_stove">Metters stove</option>
<option value="*moll">moll</option>
<option value="Monaro">Monaro</option>
<option value="mulies">mulies</option>
<option value="Nullarbor_Plain">Nullarbor Plain</option>
<option value="number">number</option>
<option value="paddock">paddock</option>
<option value="paddy_wagon">paddy wagon</option>
<option value="parka">parka</option>
<option value="peppermint_gum">peppermint</option>
<option value="Pilbara">Pilbara</option>
<option value="salmon_gum">salmon gum</option>
<option value="saltbush">saltbush</option>
<option value="Savage_.22">Savage .22</option>
<option value="servo">servo</option>
<option value="ses">SES</option>
<option value="shag">shag</option>
<option value="shaggin_wagon">shaggin wagon (aka sin bin)</option>
<option value="*shootThrough">shoot through</option>
<option value="Sigma">Sigma</option>
<option value="snags">snags</option>
<option value="*stickyBeak">sticky beak</option>
<option value="stoked">stoked</option>
<option value="*straightArrow">straight arrow</option>
<option value="*straightAsADie">straight as a die</option>
<option value="super_works">super works</option>
<option value="thongs">thongs</option>
<option value="tracky">tracky</option>
<option value="treddlies">treddlies</option>
<option value="tuart">tuart</option>
<option value="ute">ute</option>
<option value="V05">V05</option>
<option value="V-8_Sandman">V-8 Sandman</option>
<option value="Valiant">Valiant</option>
<option value="wattle_bird">wattle bird</option>
<option value="wobbegong">wobbegong</option>
</select>
<img id="australianThingImage" src="images/nada.png" alt="Australian thing" />
<p id="australianThingText"></p>
</div> <!-- australianThings -->
</div> <!-- container -->
<script>
if (navigator.serviceWorker) {
navigator.serviceWorker.register('sw.js').catch(function(err) {
console.error('Unable to register service worker.', err);
});
}
var australianThingText =
document.getElementById('australianThingText');
var australianThingImage =
document.getElementById('australianThingImage');
var australianThingSelector =
document.getElementById('australianThingSelector');
var australianThings = {};
australianThings.berm = 'Built up ridge, path or mound of earth.';
australianThings.bush = 'Uncultivated or sparsely settled area. "The Bush" looms large in the <a href="https://australia.gov.au/about-australia/australian-story/austn-bush">Australian imagination</a>.';
australianThings.feral =
'Rough, hick or inbred (like a <em>feral cat</em>).';
australianThings.grouse = 'Adjective: good; verb: complain.';
australianThings.havingABlue = 'Having an argument.';
australianThings.moll = 'Common Australian term of abuse —' +
'roughly equivalent to British <i>slag</i>.';
australianThings.shootThrough = 'To leave and/or disappear.';
australianThings.stickyBeak = 'Inquisitive or nosy person — ' +
'<i>having a sticky beak</i> means <i>taking a look</i>.';
australianThings.straightArrow = 'Reliable, straightforward person.';
australianThings.straightAsADie = 'Old-fashioned, sober.';
australianThingSelector.onchange = function() {
var option = this.options[this.selectedIndex].value;
if (option.indexOf('*') !== -1) {
australianThingText.innerHTML =
australianThings[option.substring(1)];
australianThingImage.src = 'images/nada.png';
} else if (option) {
australianThingText.innerHTML = '';
var imageFile = option + '.jpg';
australianThingImage.src = 'images/' + imageFile;
}
return false;
};
</script>
</body>
</html>