Mike Gerwitz

Activist for User Freedom

path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/talks.sh: Handle display of future datesMike Gerwitz2021-02-241-1/+20
| | | | | Display future dates as "Will be presented on" rather than "Presented on".
* src/talks.sh: Do not fail when links are missingMike Gerwitz2021-02-241-1/+1
| | | | E.g. to accommodate a future talk.
* src/talks.{rec,sh}: {-=>_}Mike Gerwitz2021-02-242-10/+10
| | | | | Older versons of recutils were okay with dashes, but that seems to have changed.
* src/post2meta: gensub argument fixMike Gerwitz2021-02-241-2/+2
| | | | | | | Older versions of Gawk did not mind an empty string as the third argument, but newer versions complain: warning: gensub: third argument `' treated as 1
* src/about.htm: GNU Social => Mastodon instance referenceMike Gerwitz2020-07-161-2/+1
| | | | I now use the latter exclusively.
* src/about.html: {two=>three} sonsMike Gerwitz2020-07-161-1/+1
| | | | My third was born recently.
* src/post2html: Ability to reference content of previous fenceMike Gerwitz2020-03-311-0/+9
| | | | | | | | | I'll be using this to show example HTML code and then output it as actual HTML to be rendered as part of the article. Otherwise the HMTL has to be duplicated and maintained in multiple places. An alternative is to include a file, but that is much less convenient for smaller snippets.
* src/post2html (prefmt): Ties and newline strippingMike Gerwitz2020-03-311-1/+32
| | | | | | | I hate Markdown as a format for disciplined writing, especially when I want macros (mostly semantic), indexes, and such. I was originally going to use LaTeX with Pandoc, but it lacks support for inline HTML and such, and I do not want to distract too much from the work that I want to be doing.
* Tagline change: Activist for User FreedomMike Gerwitz2020-03-161-1/+1
| | | | | This more accurately represents my cause. I will let this sit for a little while and see how I like it.
* GNU Social -> Mastodon link in headerMike Gerwitz2020-02-131-1/+1
| | | | | | | | | | | | Over the past year, my GNU Social timeline has gone almost completely silent; it seems that many people have moved to Mastodon and maybe those instances have stopped federating. Further, GNU Social development has been stalled for a long time. So this seems like an inevitable decision to give Mastodon a try. I'll start by following people and will post both on here and GNU Social initially. See https://social.mikegerwitz.com.
* developer=>engineerMike Gerwitz2019-12-082-2/+2
| | | | | | This better describes my experience and responsibilities, though I have never been particularly comfortable with the term. My manager describes me as an engineer in my current position anyway.
* src/about.htm: Add GAC referenceMike Gerwitz2019-12-061-8/+9
* resume: {over eighteen=>nearly twenty}Mike Gerwitz2019-09-301-1/+1
| | | | Forgot to correct this last time I was in there.
* resume: Update and trimMike Gerwitz2019-08-061-98/+55
* src/index.sh: Correct index aside linksMike Gerwitz2019-08-051-2/+2
| | | | Unbelievable...this has always been broken.
* githubbub: Minor updatesMike Gerwitz2019-05-091-16/+1
| | | | | | I do not have time to update the features that do not work without JS, though admittedly they have done a good job of providing fallbacks to some of the things that are listed here.
* Add LP2019 talk cs4m video linkMike Gerwitz2019-05-091-0/+1
| | | | | | | | | | Was finally published. This year they included the slides in the video, which is perfect, since this was a technical talk that used the slides to demonstrate the commands, and I actually did some stuff on the computer during the talk. Though the PIP did slightly cut off some commands; see the PDF or Org sources for the full commands.
* Fix Copyleft vs. Community linksMike Gerwitz2019-04-071-0/+1
* talks: Add event linkMike Gerwitz2019-03-252-1/+7
* src/talks.rec (cs4m): Correct date 201{8=>9}Mike Gerwitz2019-03-251-1/+1
* src/talks.sh (abstract): Include location in timestampMike Gerwitz2019-03-251-1/+1
* src/talks.sh: Do not output watch link text if missing video-urlMike Gerwitz2019-03-251-3/+12
| | | | | This is the case right now with cs4m, since I just gave the talk and the video will not likely be available for a couple of weeks.
* Add lp2019 talk cs4mMike Gerwitz2019-03-253-0/+39
* rss: Fix header link and redirect broken linksMike Gerwitz2019-02-211-1/+1
| | | | | | I noticed a lot of odd `/rss.xml' requests in my 404 log. As it turns out, it was my fault. This both fixes it and adds a redirect in case someone tries to do this manually. I suppose that'd be convenient.
* post: GHCQ's Exceptional AccessMike Gerwitz2019-02-181-0/+4
| | | | | | | | | | | | | | Wow. I had wanted to spend less than an hour on a response, and instead I wound up writing my largest article since the NSA revelations and GHS. Hopefully others find this useful. I've been sitting on this for weeks because I didn't have the time to finish final proofreading and changes. I need to release this before I sit on it for another couple; I have to start working on my LP2019 talk soon. * post/2019-02-18-ghcq-exceptional-access-e2ee-decentralization-reproducible.md: New post. * src/papers.rec: Add post to top.
* rss: Clarify that RSS content is the abstractMike Gerwitz2019-02-161-1/+4
| | | | | | | | | I'm still debating whether to include the full text of the post within the RSS feed, since some of them may be substantial (like the one I'll be posting soon that I've been sitting on for a couple weeks because I'm too busy/lazy to do final editing). * src/rss.sh: Add "(Read full post)" link.
* footer: Add RSS linkMike Gerwitz2019-02-161-0/+1
| | | | | | Oops. * src/footer.tpl.htm: Add `RSS Feed' link.
* css: Prevent preload inline from overriding stylesheetMike Gerwitz2019-02-161-1/+1
| | | | | | | | | | | | The inlined CSS intended to make the stylesheet applicaton less jarring on slow connections was placed _after_ `style.css', which was causing it to take precedence over the mobile layout. Silly mistake, and not good. And it went unnoticed for too long; I didn't visit my own website on mobile for a bit. Sorry, mobile people! * src/header.tpl.htm (head): Move style.css link below inline style.
* Generate inline CSS for page headerMike Gerwitz2019-01-192-1/+4
| | | | | | | | | | | | | | The idea here is to provide as little CSS as is sensible for the initial page load to be styled in a layout similar to the final layout. This initial styling may be briefly visible on a slow conection. Slow connections can happen for a variety of reasons. For example, I'm a Tor user, and connection speeds vary. Mobile connection speeds can also vary wildly. This adds a few hundred bytes, but I was able to cut it down quite a bit, and I don't find this to be unreasonable relative to the other data on each page.
* src/index.sh: Set sapsf talk linkMike Gerwitz2019-01-181-1/+1
| | | | Wow, the most prominant link on the page and I forgot to set it.
* cgit-root generationMike Gerwitz2019-01-174-83/+54
| | | | | | | | This automates creation of the header and footer. Previously I modified them manually and they got out-of-sync. This is deployed to a different location on my webserver, even though the public route is `/projects'.
* src/cgit: Add existing configurationMike Gerwitz2019-01-175-0/+260
| | | | | This contains the old header and footer. Committing this first will allow us to easily see the diff.
* Link to source code of postMike Gerwitz2019-01-171-2/+12
| | | | | | Rather than displaying the hash separately, this just makes the date a link to the source code. Until I display a modification date, this will also make it easy to see the history of the file.
* Responsive desginMike Gerwitz2019-01-173-15/+16
| | | | | | This website honors the user's default font settings (both to be kind and for accessibility reasons). Consequently, the responsive layout is based on character units (ch) rather than pixels.
* Update footer links and Copyright yearMike Gerwitz2019-01-171-13/+15
* Index page sapsf highlight cleanupMike Gerwitz2019-01-161-0/+1
| | | | | This corrects the padding and provides better placement for the talk link.
* src/404.htm: Update pageMike Gerwitz2019-01-161-13/+21
| | | | | This is a bit less abrasive and a tad bit more helpful. As I've mentioned in previous commits, the goal of this site has since changed.
* Redirect old postsMike Gerwitz2019-01-161-0/+69
| | | | | | | | | | | | | | | | | We have two sitautions to account for: 1. Old posts had both uppercase and lowercase letters in slugs; and 2. Some ids changed. Lighttpd can't convert to lowercase and having a bunch of separate redirects in my webserver configuration for the id changes is messy. So, this script is intended to be called only when a post contains an uppercase character in the path. I had wanted to avoid _any_ sort of dynamic scripts. Oh well. All other redirects are handled in the websevrer configuration (which isn't part of this repo atm).
* Generate slug from post filenamesMike Gerwitz2019-01-162-10/+12
| | | | | | | | | | | | | | | | | | | | Rather than having Pandoc generate the id, which has the potential to change over time and cause 404s, let's just generate the slug from the filename so that the ids will never change. This also solves the awkward question of what the filename should be, since it was previously something arbitrary. This mass rename was accomplished via this simple shell script: for p in *.meta; do slug=$( recsel -P slug "$p" | xargs basename ) mv -v "${p/.meta/.md}" "${p:0:10}-$slug.md" done with minor manual tweaks where I saw fit. Of course, now I have some pretty long filenames, which is undesirable. The next step is to compare it with the slugs currently on mikegerwitz.com and make them match. That's the next commit, and should be pretty simple.
* Majority of work on generation of new static siteMike Gerwitz2019-01-1122-0/+2808
I didn't originally intend for all of this to be in a single commit. But here we are. I don't have the time to split these up more cleanly; this project is taking more time than I originally hoped that it would. This is a new static site generator. More information to follow in the near future (hopefully in the form of an article), but repo2html is now removed. See code comments for additional information; I tried to make it suitable as a learning resource for others. It is essentially a set of shell scripts with a fairly robust build for incremental generation. The site has changed drastically, reflecting that its purpose has changed over the years: it is now intended for publishing quality works (or at least I hope), not just a braindump. This retains most of the text of the original pages verbatim, with the exception of the About page. Other pages may have their text modified in commits that follow. Enhancements to follow in future commits.