Skip to content

Instantly share code, notes, and snippets.

@shriram
shriram / homepage.html
Created January 7, 2024 14:21
Editable QuickLinks page
<!DOCTYPE html>
<!-- Credits: mostly written by GPT-4. -->
<html>
<head>
<title>Quick Items</title>
<style>
/* Add your CSS styles here */
body {
font-family: Arial, sans-serif;
}
@shriram
shriram / sort-lines.rkt
Last active July 30, 2020 12:02
Racket QuickScript for sorting lines in source files
#lang racket
;; I sometimes include a data file in my program source, and
;; find it useful to sort the data *in the source*
;; (e.g., to make it easier to find something, or just to
;; eliminate the cost of sorting each time the program runs).
;; This file provides four scripts. Each one accepts a *selection*
;; of lines. It does not "parse" the lines: e.g., if you have a
;; '( at the front of one of the lines, that will not be ignored