Post by Athel Cornish-BowdenPost by Paul CarmichaelPost by occamPost by Athel Cornish-BowdenPost by occamPost by Paul Carmichael<brexit>
Post by Athel Cornish-BowdenIn this case those of us most affected were not eligible to vote in
the referendum.
Es verdad.
No, es Jamon
<pedantic>jamón</pedantic>
<apology>no 'ó' on my keyboard </apology>
There's no ó on my keyboard either.
Do any keyboards have accented chars?
Mine does, because I've modified it with Ukelele. (Even without
modification a French keyboard has é, è, à, ù and ç.) option-a gives á,
and é, í, ó, ú, ¡, ñ and ¿ are similarly easy. Capitals also: Á, É, Í,
Ó, Ú, Ñ (you may wonder why one would ever need Ñ, but the district of
Santiago that we usually stay in Chile is called Ñuñoa). I can still
use the regular French keyboard if I want to, but I rarely do except
for getting œ. I have others that I use for LaTeX (\'a etc.) and
phonetics (ʃ θ etc.). A regular US keyboard is also installed by
default, but I virtually never use it (not because I've any moral
objection, but because it doesn't offer any characters that I can't
easily get by other means).
All these are for single characters (OK, not the LaTeX ones, I
suppose), but Ukelele allows a string of up to 20 characters to be
I do something similar, but without a utility. I define text replacemnts in my
keyboard preferences. there are many of them.
For exmple, ;degc gives me ℃ typing (tm) gives me ™. I also have a
couple that correct frequent typos like downlaod => download or teh to
the.
[Ignore, geekery ensues below this line ]
I do have a text transformation utility that allows me to do much more
complicated things. For example, I have one that when I type a specific
combination, pastes in the list of the most recent movies added to my
plex server or typing ;dd gives me 13-Jan-2021 or ;my ip queries the
network for my external IP address (91.148.236.81 which is evidently in
Phoenix right now).
The ip simply calls a shell script that executes
dig @resolver1.opendns.com ANY myip.opendns.com +short
While the movie list queries my web server with a single shell script
line:
curl "https://my.example.com/path/to/recent.txt" | awk -F\| '{print $1}' | awk '{if ($0 != PVE) print $0; PV=$0;}'
Sadly,I cannot remember what the PVE and PV are there for or why it is
not curl -s
The text file on my webserver is updated every time a movie is added to
Plex:
Kiki's Delivery Service
Pieces of a Woman
Batman: Death in the Family
Wrongfully Accused
The Naked Gun: From the Files of Police Squad!
The Naked Gun 2½: The Smell of Fear
Naked Gun 33 1/3: The Final Insult
Top Secret!
The Wrong Box
Il Mare
But the most fun one is one that I no longer use, but needed when
Mail.app was not allowing my to change the signatures in messages
automatically. It looks like this:
{^}{key:⌘⇣}
{/Shell
echo "\n-- "
cat $HOME/.signature
}{key:⇧⌘D}
Which moves to the bottom of the mail message, puts the cursor there,
echos the signature delimiter, and the reads in the content of my
.signature which is changed by a different script frequently, then it
hits the shift- command-D shortcut that send the mail message, all in
one swell foop.
--
"The good news: Hadron Collider went live and did not destroy ALL reality.
Bad: I'm the only one who remembers President Gore's 2 terms."
--Andy Ihnatko