https://github.com/thomasleplus/macos
Useful tidbits for macOS
https://github.com/thomasleplus/macos
applescript applescript-commands applescripts emacs emacs-configuration evernote mac-osx macintosh macos macosx truecrypt veracrypt veracrypt-cli
Last synced: about 2 months ago
JSON representation
Useful tidbits for macOS
- Host: GitHub
- URL: https://github.com/thomasleplus/macos
- Owner: thomasleplus
- License: apache-2.0
- Created: 2016-02-29T23:42:52.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T10:37:37.000Z (about 2 months ago)
- Last Synced: 2025-04-01T11:31:59.085Z (about 2 months ago)
- Topics: applescript, applescript-commands, applescripts, emacs, emacs-configuration, evernote, mac-osx, macintosh, macos, macosx, truecrypt, veracrypt, veracrypt-cli
- Language: Emacs Lisp
- Homepage:
- Size: 161 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# macOS
Useful tidbits for macOS
## [.emacs](.emacs)
This is my usual Emacs configuration file. Most options are commented with a short explanation.
## [Evernote Export](Evernote%20Export.applescript)
I use this very simple AppleScript to export my Evernote notes nightly before my computer backs itself up. It is a source file but you can use Script Editor to turn it into an executable script.
**Support for AppleScript was removed in Evernote 10. Overall Evernote has been plagued with bugs and is overpriced as a result so I have since moved to [Joplin](https://joplinapp.org).**
## [Evernote Sed](Evernote%20Sed.applescript)
This script applies sed commands to all my notes' titles. You should use the `osascript` command to invoke this script from the command line.
**Support for AppleScript was removed in Evernote 10. Overall Evernote has been plagued with bugs and is overpriced as a result so I have since moved to [Joplin](https://joplinapp.org).**
## [TrueCrypt Auto-mount Favorites](org.truecrypt.auto-mount-favorites.plist)
This plist file can be used to mount all your favorited TrueCrypt images on login. Simply put that file in your `~/Library/LaunchAgents/` folder and then load it using the following command:
`$ launchctl load ~/Library/LaunchAgents/org.truecrypt.auto-mount-favorites.plist`
**TrueCrypt is discontinued so I have migrated to [VeraCrypt](https://www.veracrypt.fr). There is an easier way to do this with VeraCrypt, simply configure macOS to open the encrypted file [on login](https://support.apple.com/en-us/guide/mac-help/mh15189/mac)**
## [kext-switch](kext-switch)
The kernel extensions of VirtualBox and macFUSE / OSXFuse sometimes conflict
with each other. This script allows you to choose which one you want
to run using the following commands:`$ kext-swtich fuse`
`$ kext-swtich vbox`
`$ kext-swtich status`Shamelessly inspired of https://github.com/osxfuse/osxfuse/issues/315#issuecomment-271548072