Commit Graph

96 Commits

Author SHA1 Message Date
Dhananjay Balan
27b2191bca Add thanks to konark. 2019-08-09 15:21:00 +02:00
Dhananjay Balan
d831e32fcc Some small edits.
Maybe I need to get an editor.
2019-08-09 15:13:31 +02:00
Dhananjay Balan
7d954673fe OCSP blog posts, some minor spell fixes. 2019-08-07 17:35:53 +02:00
Dhananjay Balan
c496126f9f Dump from nextcloud 2019-08-07 17:15:33 +02:00
Dhananjay Balan
ccb82b8d2a Init ocsp post. 2019-08-06 17:47:33 +02:00
Dhananjay Balan
3d52fb8e36 More edits to the HSTS post. 2019-08-06 17:36:45 +02:00
Dhananjay Balan
c82f35abc7 Some more editing. 2019-08-06 17:36:45 +02:00
Dhananjay Balan
ead1e13006 Rewrote HSTS post 2019-08-06 17:36:45 +02:00
Dhananjay Balan
99940dc316 Drafts for HSTS 2019-08-06 17:36:45 +02:00
Dhananjay Balan
c022b9b66d Fix border around overflowing text.
Co-Authored-By: sohalt@sohalt.net
2019-08-05 18:56:42 +02:00
Dhananjay Balan
8cfe38ebc7 Remove google fonts 2019-08-04 00:17:01 +02:00
Dhananjay Balan
5e7f600ab2 Minor formatting fixes 2019-08-04 00:16:12 +02:00
Dhananjay Balan
e8b263cf16 Use a Link! 2019-08-04 00:01:58 +02:00
Dhananjay Balan
e1a32dbef1 Replace fonts with IBM-Plex 2019-08-04 00:00:30 +02:00
Dhananjay Balan
d39f99ae3f Add cc-by banner 2019-08-03 23:36:19 +02:00
Dhananjay Balan
305640e2c9 Add link styles and fix footer divider. 2019-08-03 23:15:42 +02:00
Dhananjay Balan
a910f0ae63 Bit more prodding 2019-08-03 18:16:25 +02:00
Dhananjay Balan
7b8e412f33 Syntax highlighting. 2019-08-03 16:52:37 +02:00
Dhananjay Balan
ee9f596ac1 Minial templating. 2019-08-03 15:56:12 +02:00
Dhananjay Balan
2f4bfc118d Initial minimal theme. 2019-08-02 22:20:23 +02:00
Dhananjay Balan
f3c394a356 Fix footnotes 2019-05-12 12:34:33 +02:00
Dhananjay Balan
b2b4eb59ee Fix a typo 2019-05-11 21:26:59 +02:00
Dhananjay Balan
2cf6104b48 bump: Home page has 8 posts. 2019-05-11 21:25:27 +02:00
Dhananjay Balan
5b8427babc Add post: elm on freebsd 2019-05-11 21:23:20 +02:00
Dhananjay Balan
26fd43c6a0 Drafts for captive portal 2019-04-06 13:06:52 +02:00
Thomas Gardner
c944882a01 comments: suggest a few edits that can probably be ignored 2019-03-15 17:14:40 -04:00
Dhananjay Balan
3e814e99da Fix whitespace errors 2019-03-13 15:28:02 -04:00
wildconceits
eed134df58 Gentle edits of plotter post 2019-03-13 15:22:58 -04:00
Dhananjay Balan
bd274a6ba7 Draft 1. 2019-03-10 22:19:27 -04:00
Dhananjay Balan
5a4058caf8 Add RC scout to footer 2019-03-09 16:59:44 -05:00
Dhananjay Balan
6af3ba8c81 Fix links 2019-03-09 14:43:32 -05:00
Dhananjay Balan
aa854a7618 Draft for plotter post. 2019-03-09 14:40:18 -05:00
Dhananjay Balan
c3c45a2b89 Remove unused fonts from repo. 2019-03-09 12:53:50 -05:00
Dhananjay Balan
1df7ecf652 Serve fonts from local server and remove tufte fonts 2019-03-09 12:53:15 -05:00
Dhananjay Balan
1106321f29 Published as tweets! 2019-02-14 10:55:30 -05:00
Dhananjay Balan
3c1d998976 First version ssh tricks 2019-02-14 10:50:48 -05:00
Dhananjay Balan
0f851f0c3d Tracking freebsd current 2019-02-14 10:50:27 -05:00
Dhananjay Balan
1aa5977af2 Fix tags format 2019-01-29 14:29:28 -05:00
Dhananjay Balan
6d9b32233b Update new post script for new tagging format 2019-01-28 17:23:15 -05:00
Dhananjay Balan
58b20109cf Convert from old categories to tags
import sys
import yaml

with open(sys.argv[1]) as fp:
    data = fp.read()

if not data.find("---") == 0:
    # no head
    print("NO YAML HEAD FOUND")
    sys.exit(-1)

data = data[3:]
head_end = data.find("---")

head = data[0:head_end]
data = data[head_end+3:]

metadata = yaml.safe_load(head)

cats = metadata.pop('categories', None)
if cats != None:
    if type(cats) == list:
        tags = cats
    elif type(cats) == str:
        tags = cats.split()

    tags = list(map(lambda t: t.lower(), tags))

    metadata["tags"] = ", ".join(tags)
    new_data = f"---\n{yaml.dump(metadata, default_flow_style=False)}---{data}"
    # write it
    print(f"coverted: categories to tags: {tags} - {sys.argv[1]}")
    with open(sys.argv[1], "w") as fp:
        fp.write(new_data)
    sys.exit(0)

if not metadata.get("tags", None):
    metadata["tags"] = "untagged"
    new_data = f"---\n{yaml.dump(metadata, default_flow_style=False)}---{data}"
    print(f"untagged: {sys.argv[1]}")
    # write it
    with open(sys.argv[1], "w") as fp:
        fp.write(new_data)
    sys.exit(0)

print("No changes needed")
2019-01-28 17:16:27 -05:00
Dhananjay Balan
eb67654568 Implement Tags! 2019-01-28 16:42:01 -05:00
Dhananjay Balan
f41c5e6a5a Experiments in owning data, part 2 2019-01-23 16:00:25 -05:00
Dhananjay Balan
8dab8ed59a Bump stack version
system ghc is now 8.6.3 but hakyll is not in any lts versions that
support (ghc 8.6.x)
2019-01-23 15:59:05 -05:00
Dhananjay Balan
88091a4040 Experiments in owning data, part 1 2019-01-20 14:13:04 -05:00
Dhananjay Balan
cd17762593 Edit 2019-01-12 20:01:58 -05:00
Dhananjay Balan
1abceb9657 Add link to feed on the footer 2019-01-12 19:59:37 -05:00
Dhananjay Balan
f90acb1140 Send body over 2019-01-12 19:57:16 -05:00
Dhananjay Balan
55b06f61ca Add an atom feed to blog 2019-01-12 19:43:27 -05:00
Dhananjay Balan
0fcacf308e Slight fix for versions 2019-01-08 19:13:31 -05:00
Dhananjay Balan
b1ce238846 Add new post 2019-01-08 19:07:48 -05:00