-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
463 lines (223 loc) · 10.3 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
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
<!DOCTYPE html>
<html lang="en">
<!-- Beautiful Jekyll | MIT license | Copyright Dean Attali 2016 -->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title>My Crappy Code Blog - Watch me code stuff... poorly</title>
<meta name="author" content="eshapard" />
<meta name="description" content="Watch me code stuff... poorly">
<link rel="alternate" type="application/rss+xml" title="My Crappy Code Blog - Watch me code stuff... poorly" href="/feed.xml" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="/css/bootstrap.min.css" />
<link rel="stylesheet" href="/css/bootstrap-social.css" />
<link rel="stylesheet" href="/css/main.css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
<!-- Facebook OpenGraph tags -->
<meta property="og:title" content="My Crappy Code Blog" />
<meta property="og:description" content="Watch me code stuff... poorly">
<meta property="og:type" content="website" />
<meta property="og:url" content="http://eshapard.github.io/" />
<link rel="canonical" href="http://eshapard.github.io/" />
<meta property="og:image" content="http://eshapard.github.io/img/ejs_logo.png" />
<!-- Twitter summary cards -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@" />
<meta name="twitter:creator" content="@" />
<meta name="twitter:title" content="My Crappy Code Blog" />
<meta name="twitter:description" content="Watch me code stuff... poorly">
<meta name="twitter:image" content="http://eshapard.github.io/img/ejs_logo.png" />
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://eshapard.github.io">My Crappy Code Blog</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="/categories/">Categories</a>
</li>
</ul>
</div>
<div class="avatar-container">
<div class="avatar-img-border">
<a href="http://eshapard.github.io ">
<img class="avatar-img" src="/img/ejs_logo.png" />
</a>
</div>
</div>
</div>
</nav>
<!-- TODO this file has become a mess, refactor it -->
<header class="header-section ">
<div class="intro-header no-img">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="page-heading">
<h1>My Crappy Code Blog</h1>
<hr class="small">
<span class="page-subheading">Watch me code stuff... poorly</span>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="container" role="main">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="posts-list">
<article class="post-preview">
<a href="/linux/fun/compiling-gargoyle-on-ubuntu-18.04-on-an-old-netbook.html">
<h2 class="post-title">Compiling Gargoyle On Ubuntu 18.10 On An Old Netbook</h2>
</a>
<p class="post-meta">
Posted on January 30, 2022
</p>
<div class="post-entry-container">
<div class="post-entry">
I decided to play the classic interactive fiction game Zork, which is available as a Hugo re-write. Unfortunately, the gargoyle-free package for Ubuntu doesn’t have the (non-free) Hugo interpreter. Straight-up Gargoyle from github does, but it was a bit of a pain to compile.
<a href="/linux/fun/compiling-gargoyle-on-ubuntu-18.04-on-an-old-netbook.html" class="post-read-more">[Read More]</a>
</div>
</div>
<div class="blog-tags">
Tags:
<a href="/tag/games">games</a>
<a href="/tag/interactive-fiction">interactive-fiction</a>
</div>
</article>
<article class="post-preview">
<a href="/linux/useful-kindle-stats.html">
<h2 class="post-title">Useful Kindle Stats</h2>
</a>
<p class="post-meta">
Posted on June 21, 2021
</p>
<div class="post-entry-container">
<div class="post-entry">
I use a script to export highlights and notes from my kindle’s My Clippings.txt file to an sqlite3 database.
<a href="/linux/useful-kindle-stats.html" class="post-read-more">[Read More]</a>
</div>
</div>
</article>
<article class="post-preview">
<a href="/linux/kindle-to-sqlite3.html">
<h2 class="post-title">Kindle to Sqlite3</h2>
</a>
<p class="post-meta">
Posted on June 21, 2021
</p>
<div class="post-entry-container">
<div class="post-entry">
I use a little python script to grab clippings out of my (early model) kindle’s My Clippings.txt file and import them into an sqlite3 database. The clips and notes are in a consistant format, so it’s possible to parse the file with some regular expressions, and a little logic. I...
<a href="/linux/kindle-to-sqlite3.html" class="post-read-more">[Read More]</a>
</div>
</div>
</article>
<article class="post-preview">
<a href="/fun/saving-a-game-transcript-in-gargoyle.html">
<h2 class="post-title">Saving A Game Transcript In Gargoyle</h2>
</a>
<p class="post-meta">
Posted on April 22, 2021
</p>
<div class="post-entry-container">
<div class="post-entry">
Yeah, so this is sort of embarrassing. I play interactive fiction using Gargoyle every now and then, and I’ve been trying to figure out a way around Gargoyle’s obvious lack of any transcript-export feature. Turns out, you just have to type script into the parser. From then on, all the...
<a href="/fun/saving-a-game-transcript-in-gargoyle.html" class="post-read-more">[Read More]</a>
</div>
</div>
<div class="blog-tags">
Tags:
<a href="/tag/games">games</a>
<a href="/tag/interactive-fiction">interactive-fiction</a>
</div>
</article>
<article class="post-preview">
<a href="/code/using-evapotraspiration-rates-to-calculate-how-much-to-water.html">
<h2 class="post-title">Using Evapotraspiration Rates To Calculate How Much To Water</h2>
</a>
<p class="post-meta">
Posted on April 5, 2021
</p>
<div class="post-entry-container">
<div class="post-entry">
Evapotraspiration (ETo) rates are handy figures you can use to estimate how long to turn on your sprinklers or drip irrigation. Unfortunately, most guides I’ve see either assume you have a degree in agriculture (and don’t really need instruction), or are completely clueless (so they dumb things down too much)....
<a href="/code/using-evapotraspiration-rates-to-calculate-how-much-to-water.html" class="post-read-more">[Read More]</a>
</div>
</div>
<div class="blog-tags">
Tags:
<a href="/tag/garden">garden</a>
</div>
</article>
</div>
<ul class="pager main-pager">
<li class="next">
<a href="/page2">Older Posts →</a>
</li>
</ul>
</div>
</div>
</div>
<footer>
<div class="container beautiful-jekyll-footer">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center footer-links">
<li>
<a href="https://github.com/eshapard" title="GitHub">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="https://reddit.com/u/BonoboBanana" title="Reddit">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-reddit fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">
eshapard
•
2022
•
<a href="http://eshapard.github.io">eshapard.github.io</a>
</p>
<!-- Please don't remove this, keep my open source work credited :) -->
<p class="theme-by text-muted">
Theme by
<a href="http://deanattali.com/beautiful-jekyll/">beautiful-jekyll</a>
</p>
</div>
</div>
</div>
</footer>
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script>
if (typeof jQuery == 'undefined') {
document.write('<script src="/js/jquery-1.11.2.min.js"></scr' + 'ipt>');
}
</script>
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script src="/js/bootstrap.min.js"></script>
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
<script src="/js/main.js"></script>
</body>
</html>