root42.blogspot.com
Arne's Blog: October 2013
http://root42.blogspot.com/2013_10_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. Just so that you know, there is a new StackExchange. You can ask astronomy-related questions there, or search for questions other people have asked. Hopefully, you will get some good answers. How to copy Mails from iCloud to GMail. You can use the fabulous imapsync. Tool to copy mails between IMAP servers. For example you can copy a certain folder from Apple's iCloud. Also important is the "[Google Mail]" IMAP prefix. Ist der Hund gesund.
root42.blogspot.com
Arne's Blog: How to setup mDNS lookups on the Raspberry Pi
http://root42.blogspot.com/2015/02/how-to-setup-mdns-lookups-on-raspberry.html
A collection of coding snippets, tips, hints and random thoughts. How to setup mDNS lookups on the Raspberry Pi. I've got the new Raspberry Pi 2. And was setting it up the other day. The first thing that annoys me with vanilla Debian installations is that they don't have mDNS. Avahi enabled by default. This technology is very useful, since it helps you to advertise services on you local network, lets you resolve host names without the need for setting up a DNS server and much more. For added convenience,...
root42.blogspot.com
Arne's Blog: Forwarding emails using fetchmail and msmtp
http://root42.blogspot.com/2014/08/forwarding-emails-using-fetchmail-and.html
A collection of coding snippets, tips, hints and random thoughts. Forwarding emails using fetchmail and msmtp. My goal here was to forward emails from my GMX freemail account to my iCloud account. Up until now, I used GMX's own forwarding capability, which is a bit hidden in the filters settings. However, iCloud cranked up its spam filtering, and is now using spamhaus blacklists, which very often label the GMX forwarding servers as bad. So first let's see the /.fetchmailrc. Make sure to chmod 0600. Accou...
root42.blogspot.com
Arne's Blog: July 2013
http://root42.blogspot.com/2013_07_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. How to get Ctrl Arrow working for programs running in tmux? The key combination of Ctrl arrow. Key is often used for skipping forward or backward whole words. This can be used in the bash command line, Emacs. And many other programs. However, when I am using tmux. This will not work. You can fix this, by adding the following to your /.tmux.conf. Set-window-option -g xterm-keys on. This was explained in a nice superuser Q&A. SciPy returns a...
root42.blogspot.com
Arne's Blog: January 2014
http://root42.blogspot.com/2014_01_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. How to resize tmux windows using OS X terminal. A while back I pointed out a blog post by someone else, which described how to get C-left and C-right working in tmux and OS X. Now I noticed that I cannot resize windows in tmux. This is because tmux seems to expect xterm keys for C-arrow. The xterm keycodes for the arrow keys are:. Left key: [ D. Right key: [ C. Up key: [ A. Down key: [ B. C-left: [ 1;5D. C-right: [ 1;5C. C-up: [ 1;5A.
root42.blogspot.com
Arne's Blog: Autocompletion for C and C++ with Emacs 24
http://root42.blogspot.com/2014/11/autocompletion-for-c-and-c-with-emacs-24.html
A collection of coding snippets, tips, hints and random thoughts. Autocompletion for C and C with Emacs 24. I have already done a blog. Post on auto completion using Emacs. But that was back in Emacs 23 days. Long ago. Since then a lot has happened. Emacs 24. Has been released, package managers like MELPA. Have become standard, and company-mode. Seems to be winning against auto-complete. Has made huge strides forward. You can install this init.el by issuing the following commands:. But also when pressing...
root42.blogspot.com
Arne's Blog: July 2014
http://root42.blogspot.com/2014_07_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. Hal json is the way to go for representing REST resources. If you are implementing REST. APIs, and are thinking about using application/json. As your content type, please consider application/hal json. It allows you to represent link relations and embedded resources in a standardized manner. The content type offers three things:. Semantic link relations using the link. Link is a good example. Embedded resources using the embedded. I place ...
root42.blogspot.com
Arne's Blog: November 2013
http://root42.blogspot.com/2013_11_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. There's a lot of stuff you can do with tmux. Here are some nice to know things:. C-b C-o: cycle contents of current windows (or swap if there are only two windows). C-b C-SPC: switch between vertical and horizontal split. C-b n, p: next or previous screen. C-b [: copy mode. Use Emacs bindings to copy and paste:. C-w or M-w to copy. C-b ] to yank (paste). Subscribe to: Posts (Atom). Maufeline Hier schreibe ich, was mir so einfällt….
root42.blogspot.com
Arne's Blog: How to view clojure docs in Emacs Cider
http://root42.blogspot.com/2014/08/how-to-view-clojure-docs-in-emacs-cider.html
A collection of coding snippets, tips, hints and random thoughts. How to view clojure docs in Emacs Cider. Developing clojure with Emacs Cider is great. To be able to view summaries for clojure functions and special forms, type this in you Cider REPL:. Afterwards, you can do stuff like this:. Subscribe to: Post Comments (Atom). Maufeline Hier schreibe ich, was mir so einfällt…. Keine sieben Sachen, dafür Superheldencontent. Realtime CSG Level Editor for Unity released! Meine Hard- und Softwareprojekte.
root42.blogspot.com
Arne's Blog: November 2014
http://root42.blogspot.com/2014_11_01_archive.html
A collection of coding snippets, tips, hints and random thoughts. Autocompletion for C and C with Emacs 24. I have already done a blog. Post on auto completion using Emacs. But that was back in Emacs 23 days. Long ago. Since then a lot has happened. Emacs 24. Has been released, package managers like MELPA. Have become standard, and company-mode. Seems to be winning against auto-complete. Has made huge strides forward. You can install this init.el by issuing the following commands:. But also when pressing...
SOCIAL ENGAGEMENT