How hard can it be?
Author: grant
Org2Blog v1.1.11 Released
I just tagged Org2Blog v1.1.11. It’s got a few nice changes for easier blogging. It got a lot of changes to make it easier to contribute and report issues. After this, all of the work will bring it up to the current version of Emacs and Org mode. That work will begin in the v1.2.0 branch. For the sake of simplicity, consider it unstable (no matter how unlikely, that is where issues could show up). When it is ready, I’ll post it for people who want to test it out.
Happy Blogging!
Here is the change summary:
Invert Colors and Toggle Grayscale with JavaScript on macOS
Via reboot81:
Open Script Editor and paste each block into a new script for you to use.
Invert Colors
var systemEvents = Application("System Events"); var systemPreferences = Application("System Preferences"); systemPreferences.activate(); systemPreferences.panes.byId( "com.apple.preference.universalaccess" ).anchors.byName("Seeing_Display").reveal(); chkInvert = systemEvents.applicationProcesses.byName( "System Preferences" ).windows.byName("Accessibility").checkboxes. byName("Invert colors"); systemEvents.click(chkInvert); systemPreferences.quit();
Toggle Grayscale
var systemEvents = Application("System Events"); var systemPreferences = Application("System Preferences"); systemPreferences.activate(); systemPreferences.panes.byId( "com.apple.preference.universalaccess" ).anchors.byName("Seeing_Display").reveal(); chkInvert = systemEvents.applicationProcesses.byName( "System Preferences" ).windows.byName("Accessibility").checkboxes. byName("Use grayscale"); systemEvents.click(chkInvert); systemPreferences.quit();
Can you get an unquoted result from Emacs server eval?
Yes. You can do it with server-eval-at
instead of emacsclient
.
It took days too long for me to understand the solution.
In honor of that effort, in case someone out there can benefit, I wrote down all of my notes here.
Happy Hacking!
@cableknitjumper Have you heard the Monster Mash?
Amy:
Very troubling that the song “Monster Mash” isn’t the Monster Mash — it’s a song about the Monster Mash, which is not itself heard on the track, and is fundamentally unknowable to us.
Be at ease. The possibility exists for us to hear the Monster-Mash-Universe-Monster-Mash-Song. Although we never listen to it sung, we can listen to it at some point. Here is why:
When The Mad Scientist committed an inter-reality incursion from the Monster-Mash-Universe-Reality to the Our-Universe-Reality, he opened the door to expose that universe to ours. Proof here is that:
- We can hear him narrating.
- We can listen to The Crypt-Keepers Five playing the music.
- We can listen to the backup singers to the Monster-Mash-Universe-Monster-Mash-Song.
- We know that the singer of Monster-Mash-Universe-Monster-Mash-Song is at the party and wants to sing again: Dracula
- A person is at the party listening to all this, and it is apparently not you: you are listening to Our-Universe-Monster-Mash-Song
Start by studying the diagram as a PDF, illustrating all of the evidence and relationships explaining everything. Be sure to click on the links for who wrote the song, the lyrics, and the video to get the full background. If you can’t do PDFs on your device then here is an image instead:
Click to get full-size version
Now that you’ve wrapped your head around it, you know that we can hear Monster-Mash-Universe-Monster-Mash-Song. Yet you are still left with an awkward feeling of discomfort and confusion. You know that something is very, very wrong with this song. Despite the above: something is left unexplained. You must be wondering why precisely the music is crafted so that we never hear Monster-Mash-Universe-Monster-Mash-Song?
You are right. You will read the answer below. It will push your mind to the limits of its understanding. If you are a real adventurer, and indeed you are, then read on to discover the actual conspiracy behind THE MONSTER MASH.
Is It Impossible To Print Org-Mode Files With Unicode To PDF?
Org-Mode uses UTF-8 files. Therefore you can use the full range of Unicode characters in them. As long as you have a font that contains them, then they will show up correctly. However, when you export to a PDF, why don’t they show up in the PDF?
Make Your Emacs Frame Fit Flush On macOS
When you try to align your Emacs frame flush on macOS and it just doesn’t quite reach the edge
You can fix it with
(setq frame-resize-pixelwise t)
Via Reddit.
Can You Disinfect Your Keyboard In Only 5 Minutes?
It looks like: yes.
Here is why and how…
Continue reading “Can You Disinfect Your Keyboard In Only 5 Minutes?”
Using Colors To Show Changes To Files
Can you use colors to show the changes being made to your files? Yes definitely.
Vishoka Meditation Calendar File
The Vishoka Meditation The Yoga of Inner Radiance seminar begins tomorrow.
There are 15 events so I put them all into a calendar. Then I exported them into an ICS file.
You should be able to import it into Google, Outlook, Mac Mail, and iCloud Mail. It will probably save you some time from typing them all into your calendar manually yourself.
Here is the file: