add dates to letters
This commit is contained in:
parent
e2ca9850ff
commit
100f309ed9
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Dear Ministers
|
||||
date: 2011-12-09
|
||||
---
|
||||
|
||||
Friday, December 9, 2011 at 12:39 pm
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: The good and bad of Los Alamos
|
||||
description: The first letter I collected. I felt it needed to be preserved forever.
|
||||
date: 2008-11-05
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Los Alamos Monitor](http://www.lamonitor.com/content/good-and-bad-los-alamos)*
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: I Also Enjoy Wearing Kilts
|
||||
date: 2016-09-28
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-i-also-enjoy-wearing-kilts)*
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Shopping At Smith's
|
||||
date: 2017-05-11
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-shopping-smiths)*
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Concern Over Suspicious Activity
|
||||
date: 2023-09-01
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-concern-over-suspicious-activity)*
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: The Uglification of Los Alamos (2021)
|
||||
description: in which it is opined that the new street lamps are ugly, unlike the old ones from 2014
|
||||
date: 2021-01-30
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Los Alamos Reporter](https://losalamosreporter.com/2021/01/30/the-uglification-of-los-alamos/)*
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: The Uglification of Los Alamos (2014)
|
||||
description: in which it is opined that the new street lamps are ugly
|
||||
date: 2014-11-20
|
||||
---
|
||||
|
||||
*This was published as a [letter to the Editor of the Daily Post](http://www.ladailypost.com/content/letter-editor-uglification-los-alamos)*
|
||||
|
|
|
@ -43,7 +43,10 @@ type: bare
|
|||
<div class="field">
|
||||
<label class="label">Input</label>
|
||||
<div class="control">
|
||||
<input class="input" data-control="input" placeholder="\x00 style escapes accepted" value="hello">
|
||||
<input class="input" data-control="input" placeholder="used by READ instruction" value="hello">
|
||||
</div>
|
||||
<div class="control">
|
||||
<input class="input" data-control="0xinput" placeholder="used by READ instruction">
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
|
|
|
@ -51,6 +51,9 @@ class UI {
|
|||
case "input":
|
||||
e.addEventListener("input", () => this.SetInput())
|
||||
break
|
||||
case "0xinput":
|
||||
e.addEventListener("input", () => this.SetInput(true))
|
||||
break
|
||||
case "program":
|
||||
e.addEventListener("input", () => this.SetProgram())
|
||||
}
|
||||
|
@ -186,9 +189,18 @@ class UI {
|
|||
this.Reset()
|
||||
}
|
||||
|
||||
Set0xInput() {
|
||||
let e = document.querySelector('[data-control="0xinput"]')
|
||||
let x = e.value || ""
|
||||
let v = Binutils.Unhexlify(x)
|
||||
// XXX: escape v and fill into the input
|
||||
this.input = Binutils.Unhexlify(v)
|
||||
this.Reset()
|
||||
}
|
||||
SetInput() {
|
||||
let e = document.querySelector('[data-control="input"]')
|
||||
let v = e.value || ""
|
||||
let x = Binutils.Hexlify(v)
|
||||
this.input = Binutils.Unescape(v)
|
||||
this.Reset()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue