Wednesday, June 26, 2013

Show tab och tailing whitespace in emacs

(require 'whitespace)

;; face for long lines' tails (now grey background)
;; TODO: How do you preserve the syntax highlight on long lines?
(set-face-attribute 'whitespace-line nil
                    :underline "red"
                    :background "white")

(setq whitespace-style (quote (lines-tail tabs tab-mark trailing))
      whitespace-line-column 80)

(global-whitespace-mode 1)

Monday, February 18, 2013

Set emacs startup window size

Set emacs startup window size to 100 chars wide and 60 lines (add to ~/.emacs filee):

(if window-system
      (set-frame-size (selected-frame) 100 60))

Tuesday, June 26, 2012

My third app on Google play: Silent Mode Timer. A widget that sets the phone in silent mode for a limited time, so you don't miss any calls after the meeting.
My bitbucket stuff:

Monday, February 6, 2012

Bash tip: How to use # and %
How to use  # and % i bash scripts to modify parameters:

Thursday, February 2, 2012

Two old android apps

Two old android apps I created a couple of years ago.

Funny 15. A simple slider puzzle.
Where's my car. "Bookmark" where you parked your car on a map.