baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Know-How / Wissenswertes

ATTENTION: Android Backup (adb) not working properly on Googles own Nexus5 phone: better look for something else!

I’ve had two full backups of my nexus 5. i did a small script, which looks like this: #!/bin/bash fname=nexus5_backupdata_$(date +”%Y-%m-%d_%H%M”).ab echo “Creating backup file $fname …” ~/Library/Android/sdk/platform-tools/adb backup -apk -shared -all -f ~/$fname to restore, i did: #!/bin/bash ~/Library/Android/sdk/platform-tools/adb restore ~/nexus5_backupdata_2015-08-11_1614.ab so, what happened? most of my apps are restored, a few are missing, […]

Improving SPAM Rating (adding SPF records)

https://help.ubuntu.com/community/Postfix/SPF and http://www.conhost.net/faq_artikel-18.htm http://www.labnol.org/internet/authenticate-google-apps-email-with-spf/13877/ Example syntax for the SPF record: b-nm.at v=spf1 include:_spf.google.com ip4:78.46.156.164 ip6:2a01:4f8:190:6423::2 ~all Hinweis -all vs. ~all: https://support.google.com/a/answer/178723?hl=en Tool for checking the SFP entries / syntax: http://kitterman.com/spf/validate.html Google check tool: https://toolbox.googleapps.com/apps/checkmx/

IMAP mit self-signed SSL Zertifikat per PHP abrufen

< ? php /* connect to IMAP */ $hostname = '{my.b-nm.at:993/imap/novalidate-cert/ssl}INBOX'; $username = 'mailuser'; $password = 'kennwort'; /* try to connect */ $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to B-NM: ' . imap_last_error()); /* grab emails */ $emails = imap_search($inbox,'ALL'); /* if emails are returned, cycle through each... */ if($emails) { /* begin output var […]

Optipng und Jpegoptim

find ./ -type f -name "*.png" -exec optipng {} \; find ./ -type f -name "*.jpg" -exec jpegoptim –strip-all {} \; find ./ -type f -name "*.jpeg" -exec jpegoptim –strip-all {} \;

Previous Posts Next posts