<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Fabian Franke]]></title>
  <link href="http://fabianfranke.de/atom.xml" rel="self"/>
  <link href="http://fabianfranke.de/"/>
  <updated>2012-01-19T16:32:40+01:00</updated>
  <id>http://fabianfranke.de/</id>
  <author>
    <name><![CDATA[Fabian Franke]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[tmux as a screen replacement]]></title>
    <link href="http://fabianfranke.de/2012/01/19/screen-replacement-tmux/"/>
    <updated>2012-01-19T13:22:00+01:00</updated>
    <id>http://fabianfranke.de/2012/01/19/screen-replacement-tmux</id>
    <content type="html"><![CDATA[<p>Since I could not find a way to get <a href="http://www.gnu.org/s/screen/">screen</a>
working with split screens <em>and</em> different windows I switched to
<a href="http://tmux.sourceforge.net/">tmux</a>.</p>

<p><img src="http://fabianfranke.de/media/tmux.png" title="my current tmux configuration in action" ></p>

<p>So far, after setting up the same look and feel as my
screen configuration, I quite like it (the tmux configuration is
actually human read- and editable).</p>

<p>Below is my current .tmux.conf file</p>

<div><script src='https://gist.github.com/1639838.js?file=.tmux.conf'></script>
<noscript><pre><code># we like colours
set -g default-terminal &quot;screen-256color&quot;

# change activator to ctrl+z
unbind C-b
set-option -g prefix C-z
bind C-z send-prefix

# history
set -g history-limit 1000

# Allows for faster key repetition
set -s escape-time 0

# Set window notifications
setw -g monitor-activity on
set -g visual-activity on

# aggressive window resizing
setw -g aggressive-resize on

# start window numbering at 1
set -g base-index 1

# default statusbar colors
set -g status-fg white
set -g status-bg default

# pane border
set -g pane-active-border-bg default
set -g pane-active-border-fg blue

# command prompt
set -g message-bg blue
set -g message-fg white
set -g message-attr bright

# default window title colors
set-window-option -g window-status-fg white
set-window-option -g window-status-bg default
set-window-option -g window-status-attr bright
set-window-option -g window-status-alert-attr none
set-window-option -g window-status-alert-bg default
set-window-option -g window-status-alert-fg blue

# active window title colors
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg red
#set-window-option -g window-status-current-attr bright 

# change status window look
set-window-option -g window-status-format '#I: #W'
set-window-option -g window-status-current-format '#I: #W'

# statusline
set -g status-utf8 on
set -g status-left-length 30
set -g status-right-length 60
set -g status-justify centre
set -g status-left '#[fg=green,bright][ #h ]['
set -g status-right '#[fg=green,bright][#[fg=blue,bright]#(uptime |cut -d &quot;:&quot; -f 4-) #[fg=green,bright]][ #[fg=blue,bright]%d.%m.%Y %I:%M #[fg=green,bright]]'

# scrollback buffer n lines
set -g history-limit 5000

# More straight forward key bindings for splitting
unbind %
bind H split-window -h
unbind '&quot;'
bind V split-window -v
bind k select-pane -U
bind j select-pane -D
bind h select-pane -L
unbind l 
bind l select-pane -R
bind m last-window

bind-key C-r source ~/.tmux.conf

unbind-key C-Up
unbind-key C-Down
bind-key C-h swap-pane -D
unbind-key C-left
unbind-key C-Right
bind-key C-l swap-pane -U

# Clock
set-window-option -g clock-mode-style 24

# show pane number longer activator + q
set -g display-panes-time 1500</code></pre></noscript></div>


<p>Need more panes per window?
<img src="http://fabianfranke.de/media/tmux2.png" title="need more panes?" ></p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Fotoshop by Adobé]]></title>
    <link href="http://fabianfranke.de/2012/01/10/fotoshop-by-adobe/"/>
    <updated>2012-01-10T20:20:00+01:00</updated>
    <id>http://fabianfranke.de/2012/01/10/fotoshop-by-adobe</id>
    <content type="html"><![CDATA[<iframe
src="http://player.vimeo.com/video/34813864?title=0&amp;byline=0&amp;portrait=0"
width="400" height="225" frameborder="0" webkitAllowFullScreen
mozallowfullscreen allowFullScreen></iframe><p><a
href="http://vimeo.com/34813864">Fotoshop by Adobé</a> from <a
href="http://vimeo.com/jesserosten">Jesse Rosten</a> on <a
href="http://vimeo.com">Vimeo</a>.</p>
Fotoshop is a new beauty product from Adobé (aah-DOE-bay)

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Flashfreier Google Chrome mit Flashfallback]]></title>
    <link href="http://fabianfranke.de/2012/01/03/google-chrome-flashfrei-mit-flashfallback/"/>
    <updated>2012-01-03T13:46:00+01:00</updated>
    <id>http://fabianfranke.de/2012/01/03/google-chrome-flashfrei-mit-flashfallback</id>
    <content type="html"><![CDATA[<div><script src='https://gist.github.com/1369960.js?file='></script>
<noscript><pre><code>(*
    (c) 2011 Fabian Franke
    Licence: Creative Commons Attribution-ShareAlike 3.0
    
    Needs multiple user feature; chrome v16 and newer

    1. disable flash plugin in chrome
    2. create new chrome user/profile with flash enabled
    3. edit theFlashChromeUser to your new flash user
    4. assign an alfred.app global hotkey (or any other comfortable way to envoke) to this script
    5. rage about without-flash-I-suck-website while browsing
    6. press hotkey
    7. enjoy the full legacy web experience

    version history:
    changed the way a tab gets closed
*)

set theFlashChromeUser to &quot;flashy&quot;
set theURL to &quot;&quot;

tell application &quot;Google Chrome&quot;
    activate
    set theURL to URL of active tab of window 1
    close tab (active tab index of window 1) of window 1
    tell application &quot;System Events&quot;
        tell process &quot;Google Chrome&quot;
            tell menu bar 1
                tell menu bar item &quot;Users&quot;
                    tell menu &quot;Users&quot;
                        click menu item theFlashChromeUser
                    end tell
                end tell
            end tell
        end tell
    end tell
    delay 1
    if (URL of active tab of window 1 is not &quot;chrome://newtab/&quot;) then
        make new tab at end of tabs of window 1
    end if
    set URL of active tab of window 1 to theURL
end tell
name</code></pre></noscript></div>



]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[reboot]]></title>
    <link href="http://fabianfranke.de/2012/01/03/reboot/"/>
    <updated>2012-01-03T12:26:00+01:00</updated>
    <id>http://fabianfranke.de/2012/01/03/reboot</id>
    <content type="html"><![CDATA[<p>time to reboot this.</p>

<p>Imagine a picture of some defibrillator paddles here.</p>
]]></content>
  </entry>
  
</feed>

