There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.
The stack:
- emacs
- offlineimap
- mu
- mu4e
| #!/usr/bin/php | |
| <?php | |
| /** | |
| * Zabbix notification script, used to send zabbix notifications via pushover | |
| * to smartphones like an SMS. | |
| * | |
| * Usage: sendPushoverNotification <pushover-user-key> <subject> <message> | |
| * @author Marijn Koesen | |
| * @version 0.1 |
| import redis | |
| import web | |
| SESSION = 'SESSION:' | |
| class RedisStore(web.session.Store): | |
| """Store for saving a session in redis: | |
| import rediswebpy | |
| session = web.session.Session(app, rediswebpy.RedisStore(), initializer={'count': 0}) |
| { | |
| "bold_folder_labels": true, | |
| "color_scheme": "Packages/User/Flatland Monokai (SL).tmTheme", | |
| "font_face": "Ubuntu Mono", | |
| "font_options": "subpixel_antialias", | |
| "font_size": 14, | |
| "highlight_line": true, | |
| "highlight_modified_tabs": true, | |
| "ignored_packages": | |
| [ |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| PORT=4200 | |
| sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist | |
| sudo sed -i '' "s/\(<servicePort>\)[^<]*/\1$PORT/" /Library/Application\ Support/CrashPlan/conf/my.service.xml | |
| sed -i '' "s/#*\(servicePort=\).*/\1$PORT/" /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties | |
| defaults write /Applications/CrashPlan.app/Contents/Resources/CrashPlan\ menu\ bar.app/Contents/Info CPPort $PORT | |
| sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist |
| #!/bin/bash | |
| matches=() | |
| directory='/opt/graphite/storage/whisper' | |
| for file in $(find $directory -type f -name '*.wsp' -print); do | |
| $(python /usr/local/bin/whisper-info.py $file > /dev/null 2>&1) | |
| retval=$? | |
| echo "checking $file" | |
| [ $retval -ne 0 ] && matches+=($file) |
If your system vm is not currently working you have to make it work. On XenServer you can do this by SSH'ing to it and upgrade java.
apt-get update && apt-get -y install openjdk-7-jre-headless openjdk-7-jre-lib && apt-get -y remove openjdk-6-jre-headless
and it should now work. In some rare cases you have to restart the cloud service
service cloud stop && sleep 3 && service cloud start
and in some even rarer cases you have to restart the ssvm. Do that from the Apache CloudStack UI.