This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq mu4e-spam-folder "/thalheim.io/Spam") | |
;; Mark as read and move to spam | |
(add-to-list 'mu4e-marks | |
'(spam | |
:char "S" | |
:prompt "Spam" | |
:show-target (lambda (target) mu4e-spam-folder) | |
:action (lambda (docid msg target) | |
(mu4e~proc-move docid mu4e-spam-folder "+S-u-N")))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This elisp code uses use-package, a macro to simplify configuration. It will | |
;; install it if it's not available, so please edit the following code as | |
;; appropriate before running it. | |
;; Note that this file does not define any auto-expanding YaSnippets. | |
;; Install use-package | |
(package-install 'use-package) | |
;; AucTeX settings - almost no changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Accept CD Wifi (Czech railways) on the command line (if you hate clicking). | |
# http://cdwifi.cz | |
# | |
# Put the script to ~/bin/cdwifi and make sure that export it's on the path: PATH=$PATH:~/bin | |
# Note that if you have a custom DNS set (eg. 8.8.8.8 or 1.1.1.1) they don't resolve | |
# cdwifi.cz. If you don't want to use their DNS set via DHCP for all your traffic | |
# the workaround here is to query their DNS server at the gateway just | |
# for this request. | |
# |