-
Install [uv] — a python package and project manager
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Restart PowerShell for the path to uv to reload and be accessible from the command line.
-
Install python
In Windows, [enclosing text][v] with delimiters using a keyboard shortcut (see examples below) can be achieved using a [AutoHotkey][ahk] script.
- Ctrl " : adds double quotes to the phrase
- Ctrl ' : adds single quotes -- do --
- Ctrl ] : adds square brackets -- do --
- Ctrl ) : adds parentheses -- do --
These are instructions for setting [Sublime Text][st] up to build (i.e., compile, run, or type-set) a source to produce some output. Owing to different file paths, these would be different obviously for different systems. In all of these, be sure to adjust paths as necessary.
Usage. Select Tools > Build System > New Build System..., and replace the entire pre-populated instructions with the following respectively. With a source file open in Sublime Text, Build is invoked with either Ctrl B (Windows) or ⌘ B (MacOS).
LaTeX (MacOS): LaTeX-Mac.sublime-build:
{Without a sense of purpose or belonging, the danger that communities eventually become e(ch|g)o chambers is real. After a few incidents, we came to realise we needed a code of conduct too. Volunteering to take a stab, this is what we came up with.
We are built on the foundation of friendship, trust, and the highest respect for one another. This we know in our bones, but should we ever need to refer to, then here it is:
- [Download Sublime Text][dst] (portable version)
- [Download Typst][dty] (typically:
typst-x86_64-pc-windows-msvc.zipfile) - Unzip both into, say, a
miscfolder. An example of executable file path:C:\Users\ckun\misc\st C:\Users\ckun\misc\typst - Write a custom build file for Sublime Text,
Typst-win.sublime-build, with the following content in it, and park it under Preferences > Browse Packages > User:
Typst can be installed on MacOS with brew. Typst package for Sublime Text provides the build setup needed to compile typ file to a pdf. For older MacOS, or Windows, see below.
My 12+y old laptop, long out-of-date and warranty, is better than a Raspberry Pi for desktop computing in every practicable way. For writing, editing, scripting, typesetting, and for terminal applications, it works just fine.
| #!/bin/bash | |
| # Define the function | |
| display_system_info() { | |
| # Set column width (adjust as needed) | |
| local column_width=18 | |
| # Define a function to print data in a four-column format | |
| print_table() { | |
| local col1="$1" | |
| local col2="$2" |
| ; Scripting replies in Outlook with AutoHotkey v2 | |
| ; | |
| ; Hit Alt + x (or !x) to create a reply email (template) with | |
| ; salutation to sender's First Name from selected / opened | |
| ; email in Microsoft Outlook, which looks like this: | |
| ; | |
| ; Hello <FirstName>, | |
| ; | |
| ; Thank you for your email. | |
| ; |
| #let cknotes(doc) = { | |
| // settings | |
| set page( | |
| header: align(left)[ | |
| #image("logo.png", width: 9%) | |
| ], | |
| margin: ( | |
| top: 2cm, | |
| y: 2cm, | |
| ), |