You are here |
nick.zoic.org | ||
| | | |
mbuffett.com
|
|
| | | | I was aimlessly browsing Github and came across sapling, a very early-stage structured editor. It was inspired by this blog post, which talks about structured editing. Structured editing has had my interest for a while. I've put a lot of time and effort into getting really good at text editing, but I'm holding out hope that in 10 years plaintext editing will be outdated. The idea behind structured editing is to edit code instead of text, so instead of "move cursor to next parentheses, delete in parentheses", you'd have operations like "change function argument". | |
| | | |
rishikeshs.com
|
|
| | | | How to properly configure Hugo's Chroma syntax highlighter to work with language hints in markdown code blocks. | |
| | | |
bloeys.com
|
|
| | | | In 'Thought 2: Regex is Like Assembly' I wondered why we are still doing regex in this kind of hard to understand, symbolic way, when we have already invented high level programming languages. There is no reason regex can't be written as clearly as any other programming language we use today. I thought doing this would be an interesting project, and so I came up with Regexl, a high level language for writing regex, that can be used as a simple library. | |
| | | |
logr.cogley.info
|
|
| | Many static site generators like Hugo have a built in dev web server. If you are just building some html with css, and need a simple solution to serve the files from any folder, you have a few solutions. See a couple of options: Node.js users can install and run http-server: 1 2 3 4 npm install -g http-server cd /path/to/my/working/folder http-server --help http-server Visit http://localhost:8080 and look at the help to change the port. |