<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CallToPower</title>
	<atom:link href="http://calltopower.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://calltopower.wordpress.com</link>
	<description>Programming, Software and more ...</description>
	<lastBuildDate>Mon, 31 Oct 2011 07:51:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='calltopower.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>CallToPower</title>
		<link>http://calltopower.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://calltopower.wordpress.com/osd.xml" title="CallToPower" />
	<atom:link rel='hub' href='http://calltopower.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Migrating jQuery 1.4.x to jQuery 1.6.x</title>
		<link>http://calltopower.wordpress.com/2011/10/12/migrating-jquery-1-4-x-to-jquery-1-6-x/</link>
		<comments>http://calltopower.wordpress.com/2011/10/12/migrating-jquery-1-4-x-to-jquery-1-6-x/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 08:16:00 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Matterhorn]]></category>
		<category><![CDATA[Engage]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1455</guid>
		<description><![CDATA[When migrating from jQuery 1.4.x to jQuery 1.6.x you have to consider some changes. I guess you can find all of them anywhere on the jQuery Blog but when you don&#8217;t have the time or the patience to read all of the posts you have to try and test it by yourself. I found out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1455&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When migrating from jQuery 1.4.x to jQuery 1.6.x you have to consider some changes.<br />
I guess you can find all of them anywhere on the <a href="http://blog.jquery.com/" target="_blank">jQuery Blog</a> but when you don&#8217;t have the time or the patience to read all of the posts you have to try and test it by yourself.</p>
<p>I found out some of the changes the hard way when I migrated the <a href="http://opencast.org/matterhorn/" target="_blank">Matterhorn</a> Engage UI. Here is a list (mainly for me to remember them):</p>
<ul>
<li>.attr and .prop
<ul>
<li>in jQuery 1.6 the handling of DOM attributes and DOM properties is split apart into separate methods</li>
<li>.attr first checks if the attribute is explicitly written in the HTML code, after that it looks at the object created by the HTML tag, and inspects its object property</li>
<li>.prop sets or gets properties on DOM elements</li>
<li>see <a href="http://blog.jquery.com/2011/05/03/jquery-16-released/" target="_blank">jQuery 1.6 released</a></li>
</ul>
</li>
<li>for ajax calls there are no options like &#8216;yourAjaxCall.onreadystatechange = anyFunction;&#8217; any more, you have to use &#8216;success&#8217;, &#8216;error&#8217;, etc. inside your ajax-request</li>
<li>the function generation from jsonp ajax-requests now contains underscores (&#8216;_&#8217;), so you have to adapt your save patterns on server side</li>
</ul>
<p>Related sites:</p>
<ul>
<li>My <a href="http://opencast.jira.com/browse/MH-8232" target="_blank">Matterhorn Branch Issue Tracker</a> for the migration</li>
<li><a href="http://blog.jquery.com/?s=jQuery+1.6" target="_blank">jQuery Blog: jQuery 1.6 search results</a></li>
<li><a href="http://www.davidtong.me/upgrading-jquery-from-1-4-x-to-1-6-1/" target="_blank">David Tong &#8211; Upgrading jQuery – from 1.4.x to 1.6.x</a></li>
</ul>
<p style="text-align:right;">To be continued&#8230;</p>
<br />Filed under: <a href='http://calltopower.wordpress.com/category/programming/'>Programming</a>, <a href='http://calltopower.wordpress.com/category/software/'>Software</a> Tagged: <a href='http://calltopower.wordpress.com/tag/ajax/'>Ajax</a>, <a href='http://calltopower.wordpress.com/tag/dom/'>DOM</a>, <a href='http://calltopower.wordpress.com/tag/engage/'>Engage</a>, <a href='http://calltopower.wordpress.com/tag/jquery/'>jQuery</a>, <a href='http://calltopower.wordpress.com/tag/matterhorn/'>Matterhorn</a>, <a href='http://calltopower.wordpress.com/tag/migration/'>Migration</a>, <a href='http://calltopower.wordpress.com/tag/ui/'>UI</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1455&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2011/10/12/migrating-jquery-1-4-x-to-jquery-1-6-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>Building libfreenect with patched libusb under Mac OS X</title>
		<link>http://calltopower.wordpress.com/2011/07/25/building-libfreenect-with-patched-libusb-under-mac-os-x/</link>
		<comments>http://calltopower.wordpress.com/2011/07/25/building-libfreenect-with-patched-libusb-under-mac-os-x/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 16:23:01 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[cmake]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[kinect]]></category>
		<category><![CDATA[libfreenect]]></category>
		<category><![CDATA[libusb]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1452</guid>
		<description><![CDATA[You need: macports The following installed macports: git-core cmake libtool libusb-devel 1. Get sources: libfreenect: git clone https://github.com/OpenKinect/libfreenect.git libusb: git clone git://git.libusb.org/libusb.git 2. Apply patch and build libusb: cd path/to/libusb ./autogen.sh patch -p1 &#60; path/to/libfreenect/platform/osx/libusb-osx-kinect.diff ./configure LDFLAGS=&#8217;-framework IOKit -framework CoreFoundation&#8217; make sudo make install 3. Start building libfreenect: cd path/to/libfreenect mkdir build cd build ccmake .. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1452&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You need:</p>
<ul>
<li><a title="Macports" href="http://www.macports.org/" target="_blank">macports</a></li>
<li>The following installed macports:
<ul>
<li>git-core</li>
<li>cmake</li>
<li>libtool</li>
<li>libusb-devel</li>
</ul>
</li>
</ul>
<div>1. Get sources:</div>
<div>
<ul>
<li>libfreenect:
<ul>
<li>git clone https://github.com/OpenKinect/libfreenect.git</li>
</ul>
</li>
<li>libusb:
<ul>
<li>git clone git://git.libusb.org/libusb.git</li>
</ul>
</li>
</ul>
</div>
<div>2. Apply patch and build libusb:</div>
<div>
<ol>
<li>cd path/to/libusb</li>
<li>./autogen.sh</li>
<li>patch -p1 &lt; path/to/libfreenect/platform/osx/libusb-osx-kinect.diff</li>
<li>./configure LDFLAGS=&#8217;-framework IOKit -framework CoreFoundation&#8217;</li>
<li>make</li>
<li>sudo make install</li>
</ol>
</div>
<div>3. Start building libfreenect:</div>
<div>
<ol>
<li>cd path/to/libfreenect</li>
<li>mkdir build</li>
<li>cd build</li>
<li>ccmake ..
<ul>With the following changes:</p>
<li>LIBUSB_1_INCLUDE_DIR: /usr/local/include</li>
<li>LIBUSB_1_LIBRARY: /usr/local/lib/libusb-1.0.dylib</li>
</ul>
</li>
<li>press &#8216;c&#8217; and afterwards &#8216;g&#8217; to generate and exit</li>
<li>cmake ..</li>
<li>make</li>
<li>sudo make install</li>
</ol>
</div>
<br />Filed under: <a href='http://calltopower.wordpress.com/category/programming/'>Programming</a>, <a href='http://calltopower.wordpress.com/category/software/'>Software</a> Tagged: <a href='http://calltopower.wordpress.com/tag/build/'>build</a>, <a href='http://calltopower.wordpress.com/tag/cmake/'>cmake</a>, <a href='http://calltopower.wordpress.com/tag/git/'>git</a>, <a href='http://calltopower.wordpress.com/tag/kinect/'>kinect</a>, <a href='http://calltopower.wordpress.com/tag/libfreenect/'>libfreenect</a>, <a href='http://calltopower.wordpress.com/tag/libusb/'>libusb</a>, <a href='http://calltopower.wordpress.com/tag/mac-os-x/'>Mac OS X</a>, <a href='http://calltopower.wordpress.com/tag/macports/'>MacPorts</a>, <a href='http://calltopower.wordpress.com/tag/make/'>make</a>, <a href='http://calltopower.wordpress.com/tag/patch/'>patch</a>, <a href='http://calltopower.wordpress.com/tag/usb/'>usb</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1452/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1452/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1452/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1452&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2011/07/25/building-libfreenect-with-patched-libusb-under-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>Lisp: Emacs Autocomplete</title>
		<link>http://calltopower.wordpress.com/2010/12/29/lisp-emacs-autocomplete/</link>
		<comments>http://calltopower.wordpress.com/2010/12/29/lisp-emacs-autocomplete/#comments</comments>
		<pubDate>Wed, 29 Dec 2010 16:15:31 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[autocomplete]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[LISP]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1406</guid>
		<description><![CDATA[Today I hacked some lisp in emacs because I got two new books (Let over Lambda &#38; Land of Lisp). After a while when the function-definitions became more frequent I missed a language-specific autocomplete (and didn&#8217;t only want to use the built-in autocomplete that completes words you wrote earlier) and after some research I found [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1406&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I hacked some lisp in emacs because I got two new books (<a href="http://letoverlambda.com/" target="_blank">Let over Lambda</a> &amp; <a href="http://landoflisp.com/" target="_blank">Land of Lisp</a>).<br />
After a while when the function-definitions became more frequent I missed a language-specific autocomplete (and didn&#8217;t only want to use the built-in autocomplete that completes words you wrote earlier) and after some research I found the solution: <a href="http://www.emacswiki.org/emacs/AutoComplete" target="_blank">Emacs Autocomplete</a>. It integrates different language-dictionaries and inserts new words on the fly (with the right settings).</p>
<p>After installing the autocomplete into <em>.emacs.d</em> I inserted the following lines into my <em>.emacs</em>-file to enable it:</p>
<pre>
;; add .emacs.d to load path
(add-to-list 'load-path "~/.emacs.d")

;; enable autocomplete
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)
(global-auto-complete-mode t)
(auto-complete-mode t)
</pre>
<p>To get a lisp-specific autocomplete you&#8217;ve got to include <a href="https://github.com/purcell/ac-slime" target="_blank">ac-slime</a> (found at <a href="https://github.com" target="_blank">github</a>): put it into your <em>.emacs.d-</em>folder and include it in your <em>.emacs</em>-file via</p>
<pre>
;; add lisp autocomplete-support
(require 'ac-slime)
(add-hook 'slime-mode-hook 'set-up-slime-ac)
</pre>
<p>and to switch on autocomplete globally you have to apply a &#8220;dirty fix&#8221;:</p>
<pre>
;; dirty fix for having AC everywhere
(define-globalized-minor-mode real-global-auto-complete-mode
  auto-complete-mode (lambda ()
                       (if (not (minibufferp (current-buffer)))
                         (auto-complete-mode 1))))
(real-global-auto-complete-mode t)
</pre>
<p>Now only one thing is missing: the mentioned inserting of new words on the fly:</p>
<pre>
;; create and add new words to the dictionary on the fly
(when (require 'auto-complete-config nil 'noerror)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  (setq ac-comphist-file  "~/.emacs.d/ac-comphist.dat")
  (ac-config-default))
</pre>
<br />Filed under: <a href='http://calltopower.wordpress.com/category/programming/'>Programming</a> Tagged: <a href='http://calltopower.wordpress.com/tag/autocomplete/'>autocomplete</a>, <a href='http://calltopower.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://calltopower.wordpress.com/tag/language/'>language</a>, <a href='http://calltopower.wordpress.com/tag/languages/'>Languages</a>, <a href='http://calltopower.wordpress.com/tag/lisp/'>LISP</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1406&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2010/12/29/lisp-emacs-autocomplete/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs for Mac OS X</title>
		<link>http://calltopower.wordpress.com/2010/10/30/emacs-for-macosx/</link>
		<comments>http://calltopower.wordpress.com/2010/10/30/emacs-for-macosx/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 00:20:09 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[adjustments]]></category>
		<category><![CDATA[alt]]></category>
		<category><![CDATA[aquamacs]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[preferences]]></category>
		<category><![CDATA[Solution]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1387</guid>
		<description><![CDATA[When switching from aquamacs to emacs you have to make some adjustments to use it properly under Mac OS X. One of the adjustments is that you could not simply type in &#8220;alt-shift-7&#8221; to get the normal backslash &#8220;\&#8221;. The solution: Go to &#8220;Emacs&#8221; &#8211; &#8220;Preferences&#8221; &#8211; &#8220;Environment&#8221; &#8211; &#8220;Ns : GNUstep/Mac OS X specific [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1387&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When switching from <a href="http://aquamacs.org/" target="_blank">aquamacs</a> to <a href="http://emacsformacosx.com/" target="_blank">emacs</a> you have to make some adjustments to use it properly under Mac OS X.<br />
One of the adjustments is that you could not simply type in &#8220;<em>alt-shift-7</em>&#8221; to get the normal backslash &#8220;\&#8221;.<br />
The solution:<br />
Go to &#8220;<em>Emacs</em>&#8221; &#8211; &#8220;<em>Preferences</em>&#8221; &#8211; &#8220;<em>Environment</em>&#8221; &#8211; &#8220;<em>Ns : GNUstep/Mac OS X specific features</em>&#8221; and set</p>
<ul>
<li>the &#8220;<em>Ns Command Modifier</em>&#8221; -&gt; &#8220;<em>meta</em>&#8221; and</li>
<li>the &#8220;<em>Ns Alternate Modifier</em>&#8221; -&gt; &#8220;<em>No modifier</em>&#8220;.</li>
</ul>
<p>Now you can use your <em>alt</em> and <em>meta</em>-keys as usual.</p>
<p>Second I did not remember immediately how to set my previous colors and styles (e.g. the background color or the mouse color) so I will sum up my solution:</p>
<ul>
<li>open your &#8220;<em>~/.emacs</em>&#8220;</li>
<li>type in (and replace my colors with your own)</li>
</ul>
<pre>(setq default-frame-alist
    (append default-frame-alist
        '((foreground-color . "LawnGreen")
          (background-color . "Black")
          (cursor-color . "LawnGreen"))))</pre>
<p><font size="1">And of course <a href="http://xkcd.com/378/" target="_blank">Emacs is much better than vim</a></font>!</p>
<br />Filed under: <a href='http://calltopower.wordpress.com/category/programming/'>Programming</a>, <a href='http://calltopower.wordpress.com/category/software/'>Software</a> Tagged: <a href='http://calltopower.wordpress.com/tag/adjustments/'>adjustments</a>, <a href='http://calltopower.wordpress.com/tag/alt/'>alt</a>, <a href='http://calltopower.wordpress.com/tag/aquamacs/'>aquamacs</a>, <a href='http://calltopower.wordpress.com/tag/color/'>color</a>, <a href='http://calltopower.wordpress.com/tag/emacs/'>emacs</a>, <a href='http://calltopower.wordpress.com/tag/key/'>key</a>, <a href='http://calltopower.wordpress.com/tag/mac/'>Mac</a>, <a href='http://calltopower.wordpress.com/tag/mac-os-x/'>Mac OS X</a>, <a href='http://calltopower.wordpress.com/tag/meta/'>meta</a>, <a href='http://calltopower.wordpress.com/tag/preferences/'>preferences</a>, <a href='http://calltopower.wordpress.com/tag/solution/'>Solution</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1387&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2010/10/30/emacs-for-macosx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>C++: Qt and SQL</title>
		<link>http://calltopower.wordpress.com/2010/02/18/c-qt-and-sql/</link>
		<comments>http://calltopower.wordpress.com/2010/02/18/c-qt-and-sql/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 01:15:09 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[Column]]></category>
		<category><![CDATA[Entry]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[Row]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[Strategy]]></category>
		<category><![CDATA[Table]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[Timetable]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1334</guid>
		<description><![CDATA[Today I want to write something about Qt and its SQL-support. It is quite easy to use it, much more simple than working directly with ODBC and/or SQLite or other libraries because Qt has &#8220;build-in&#8221; support, you just have to add QT += sql to your .pro-file and specify which library you want to work [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1334&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I want to write something about Qt and its SQL-support. It is quite easy to use it, much more simple than working directly with ODBC and/or SQLite or other libraries because Qt has &#8220;build-in&#8221; support, you just have to add <em>QT += sql</em> to your <em>.pro</em>-file and specify which library you want to work with.</p>
<p>But let&#8217;s start now. I want to demonstrate how easy it is to create a simple timetable with SQLite that looks something like this if you wrap it into a GUI:</p>
<p><a href="http://calltopower.files.wordpress.com/2010/02/qtimetablescreenshot.png"><img class="alignnone size-medium wp-image-1335" title="qTimeTableScreenshot" src="http://calltopower.files.wordpress.com/2010/02/qtimetablescreenshot.png?w=475&#038;h=224" alt="" width="475" height="224" /></a></p>
<p>Here are the includes:</p>
<pre>#include &lt;QTableView&gt;
#include &lt;QSqlDriver&gt;
#include &lt;QSqlDatabase&gt;
#include &lt;QSqlQuery&gt;
#include &lt;QSqlTableModel&gt;
// #include &lt;QSqlError&gt;</pre>
<p>At first, create the database using SQLite via</p>
<pre>QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
db.setDatabaseName("databaseName");</pre>
<p>Then open it (and check it meanwhile) with</p>
<pre>if(!db.open()) {
   exit(0); // or do something else
}</pre>
<p>Now insert the table using a SQL query:</p>
<pre>QSqlQuery query;
query.exec("CREATE TABLE IF NOT EXISTS tableName ("
           "monday varchar(200), "
           "tuesday varchar(200), "
           "wednesday varchar(200), "
           "thursday varchar(200), "
           "friday varchar(200), "
           "saturday varchar(200), "
           "sunday varchar(200))");</pre>
<p>After that create a model:</p>
<pre>QSqlTableModel model;
model.setTable("tableName");
model.setEditStrategy(QSqlTableModel::OnManualSubmit);</pre>
<p>If you choose &#8220;OnManualSubmit&#8221; as edit strategy you have to save the changes you make inside the model by your own (explanation comes later).<br />
Then set the model header data (Monday-Sunday in the picture):</p>
<pre>model.setHeaderData(0, Qt::Horizontal, "Monday");
model.setHeaderData(1, Qt::Horizontal, "Tuesday");
model.setHeaderData(2, Qt::Horizontal, "Wednesday");
model.setHeaderData(3, Qt::Horizontal, "Thursday");
model.setHeaderData(4, Qt::Horizontal, "Friday");
model.setHeaderData(5, Qt::Horizontal, "Saturday");
model.setHeaderData(6, Qt::Horizontal, "Sunday");</pre>
<p>and set the model to the view to display it:</p>
<pre>model.select();
QTableView view;
view.setModel(model);</pre>
<p>But what if you want to add an additional line with an entry in every row? The best news is that you don&#8217;t have to write any SQL for adding or deleting if you don&#8217;t want to:</p>
<pre>int rowCnt = model.rowCount();
model.insertRow(rowCnt);
for(int i = 0; i &lt; model.columnCount(); i++) {
   model.setData(model.index(rowCnt, i), "Put this Entry in every Row");
}
model.submitAll();
model.select();
view.setModel(model);</pre>
<p>And if you want to delete the last row:</p>
<pre>model.removeRow(model.rowCount() - 1);
model.submitAll();
model.select();
view.setModel(model);</pre>
<p>You have to call &#8220;submitAll&#8221; because of the selected strategy &#8221;OnManualSubmit&#8221; that doesn&#8217;t save by it&#8217;s own.<br />
To clear the whole database, drop the table by querying</p>
<pre>query.exec("DROP TABLE IF EXISTS tableName");</pre>
<p>After setting up a model and a view you can change your table inside the view, press &#8220;save&#8221; and everything else is &#8220;done by Qt&#8221;!</p>
<p>You can find the whole Application at <a href="http://www.calltopower.de/qtimetable" target="_blank">CallToPower &#8211; Software &#8211; qTimeTable</a>, have fun experimenting with it!</p>
<br />Filed under: <a href='http://calltopower.wordpress.com/category/programming/'>Programming</a>, <a href='http://calltopower.wordpress.com/category/software/'>Software</a> Tagged: <a href='http://calltopower.wordpress.com/tag/c/'>C</a>, <a href='http://calltopower.wordpress.com/tag/column/'>Column</a>, <a href='http://calltopower.wordpress.com/tag/entry/'>Entry</a>, <a href='http://calltopower.wordpress.com/tag/model/'>Model</a>, <a href='http://calltopower.wordpress.com/tag/qt/'>Qt</a>, <a href='http://calltopower.wordpress.com/tag/query/'>Query</a>, <a href='http://calltopower.wordpress.com/tag/row/'>Row</a>, <a href='http://calltopower.wordpress.com/tag/sql/'>sql</a>, <a href='http://calltopower.wordpress.com/tag/strategy/'>Strategy</a>, <a href='http://calltopower.wordpress.com/tag/table/'>Table</a>, <a href='http://calltopower.wordpress.com/tag/time/'>time</a>, <a href='http://calltopower.wordpress.com/tag/timetable/'>Timetable</a>, <a href='http://calltopower.wordpress.com/tag/view/'>View</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1334&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2010/02/18/c-qt-and-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2010/02/qtimetablescreenshot.png?w=300" medium="image">
			<media:title type="html">qTimeTableScreenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Java, C++: ClassLoader and Qt Resource System</title>
		<link>http://calltopower.wordpress.com/2009/12/08/java-c-classloader-and-qt-resource-system/</link>
		<comments>http://calltopower.wordpress.com/2009/12/08/java-c-classloader-and-qt-resource-system/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:49:42 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[classloader]]></category>
		<category><![CDATA[Code from my Posts]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[Directory]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[prefix]]></category>
		<category><![CDATA[programmin]]></category>
		<category><![CDATA[QFile]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[Tree]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1277</guid>
		<description><![CDATA[Here a little comparison between the Java ClassLoader and the Qt Resource System: If you want to load an icon and/or an image e.g. in a Java .jar-file you have to do it this way: Icon icon; Image image; ClassLoader CLDR = this.getClass().getClassLoader(); String path = "src/to/images/name.png"; URL url = CLDR.getResource(path); // An icon if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1277&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here a little comparison between the <a href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html" target="_blank">Java ClassLoader</a> and the <a href="http://doc.qt.nokia.com/4.6/resources.html" target="_blank">Qt Resource System</a>:<br />
If you want to load an icon and/or an image e.g. in a Java <em>.jar</em>-file you have to do it this way:</p>
<pre>Icon icon;
Image image;
ClassLoader CLDR = this.getClass().getClassLoader();
String path = "src/to/images/name.png";
URL url = CLDR.getResource(path);
// An icon
if (!(url == null)) {
    icon = new ImageIcon(url);
}
// An image
try {
    image = ImageIO.read(CLDR.getResource(path));
} catch (IOException e) {
    // ExceptionHandling here
}</pre>
<p>In Qt there is another approach:<br />
The resources associated with an application are specified in a XML-based <em>.qrc</em>-file.<br />
The specified paths are relative to the directory containing the <em>.qrc</em>-file (listed files must be located in the same directory or any sub-directory).<br />
In the source-code the resources are accessible under the same name they have in the source tree, with a <em>&#8220;:/&#8221;</em> prefix.<br />
Here an example:</p>
<pre>&lt;RCC&gt;
    &lt;qresource prefix="/dir/subDir" lang="en"&gt;
        &lt;file alias="AliasName"&gt;subDir/FileName&lt;file&gt;
    &lt;qresource&gt;
&lt;/RCC&gt;</pre>
<p>In your source code you can access FileName (if FileName e.g. is a <em>QFile</em>) via</p>
<pre>QFile file(":/dir/subdir/AliasName");</pre>
<p>after adding the following line to your <em>.pro</em>-file:</p>
<pre>RESOURCES = yourRsrcFileName.qrc</pre>
<p>The option <em>lang=&#8221;langCode&#8221;</em> (here: <em>&#8220;en&#8221;</em>) is for the localization:<br />
If you want to add another language to your application you have to have the file <em>&#8220;AliasName_langCode&#8221;</em> in your source tree.</p>
<p>And, of course, you don&#8217;t have to write the ressource file on your own if you use the QtCreator, there is a nice GUI included.</p>
<br />Posted in Programming Tagged: alias, C, class, classloader, Code from my Posts, cpp, Directory, image, Java, language, prefix, programmin, QFile, Qt, resource, source, system, Tree <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1277&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2009/12/08/java-c-classloader-and-qt-resource-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>C++: How to include the boost library in XCode projects</title>
		<link>http://calltopower.wordpress.com/2009/12/03/c-how-to-include-the-boost-library-in-xcode-projects/</link>
		<comments>http://calltopower.wordpress.com/2009/12/03/c-how-to-include-the-boost-library-in-xcode-projects/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 12:12:22 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1267</guid>
		<description><![CDATA[0. Download the boost-Library and unzip it anywhere (here: &#8220;/Developer/Tools/boost&#8221;) 1. Create a project. 2. Right-click at the project-name and select &#8220;Get Info&#8221; 3. Set the &#8220;Header Search Paths&#8221; to the Folder you unzipped the library (here: &#8220;/Developer/Tools/boost&#8221;) 4. Ready to boost. Posted in Programming Tagged: boost, C, include, Library, xcode<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1267&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>0. <a href="http://sourceforge.net/projects/boost/files/boost/" target="_blank">Download</a> the <a href="http://www.boost.org/" target="_blank">boost-Library</a> and unzip it anywhere (here: <em>&#8220;</em><em>/Developer/Tools/boost&#8221;</em>)</p>
<p>1. Create a project.</p>
<p>2. Right-click at the project-name and select <em>&#8220;Get Info&#8221;</em></p>
<p><a href="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-1.png" target="_blank"><img class="alignnone size-medium wp-image-1268" title="boost_in_xcode-1" src="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-1.png?w=300&#038;h=146" alt="" width="300" height="146" /></a></p>
<p>3. Set the <em>&#8220;Header Search Paths&#8221;</em> to the Folder you unzipped the library (here: <em>&#8220;</em><em>/Developer/Tools/boost&#8221;</em>)</p>
<p><a href="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-2.png" target="_blank"><img class="alignnone size-medium wp-image-1269" title="boost_in_xcode-2" src="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-2.png?w=300&#038;h=283" alt="" width="300" height="283" /></a></p>
<p>4. Ready to boost.</p>
<br />Posted in Programming Tagged: boost, C, include, Library, xcode <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1267&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2009/12/03/c-how-to-include-the-boost-library-in-xcode-projects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-1.png?w=300" medium="image">
			<media:title type="html">boost_in_xcode-1</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2009/12/boost_in_xcode-2.png?w=300" medium="image">
			<media:title type="html">boost_in_xcode-2</media:title>
		</media:content>
	</item>
		<item>
		<title>About videos, music and more&#8230;</title>
		<link>http://calltopower.wordpress.com/2009/11/25/about-videos-music-and-more/</link>
		<comments>http://calltopower.wordpress.com/2009/11/25/about-videos-music-and-more/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 14:58:19 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Censorship]]></category>
		<category><![CDATA[claim]]></category>
		<category><![CDATA[company]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[more]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[posting]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1261</guid>
		<description><![CDATA[This posting is no longer available due to a copyright claim by a very big company. This posting is no longer available in your country. Thanks to Superlevel for the Idea! Posted in Fun Tagged: Censorship, claim, company, copyright, Fun, more, music, posting, videos<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1261&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="background:#ffaeae none repeat scroll 0 0;text-align:center;margin-bottom:8px;font:normal 12px Arial, Helvetica, sans-serif;color:#000;padding:5px;">This posting is no longer available due to a copyright claim by a very big company.</div>
<div style="background:#ffaeae none repeat scroll 0 0;text-align:center;margin-bottom:8px;font:normal 12px Arial, Helvetica, sans-serif;color:#000;padding:5px;">This posting is no longer available in your country.</div>
<p style="text-align:right;">
<p style="text-align:right;"><em>Thanks to </em><a href="http://www.superlevel.de/spielkram/blogtube" target="_blank"><em>Superlevel</em></a><em> for the Idea!</em></p>
<br />Posted in Fun Tagged: Censorship, claim, company, copyright, Fun, more, music, posting, videos <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1261/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1261/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1261/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1261&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2009/11/25/about-videos-music-and-more/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>
	</item>
		<item>
		<title>Applescript: Fast messenger status-message-change</title>
		<link>http://calltopower.wordpress.com/2009/10/15/applescript-fast-messenger-status-message-change/</link>
		<comments>http://calltopower.wordpress.com/2009/10/15/applescript-fast-messenger-status-message-change/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 17:25:58 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[adium]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[ichat]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1197</guid>
		<description><![CDATA[Today kernelpanic twittered a cool Applescript for fast-changing your iChat-Status-Message I don&#8217;t want to withhold from you. Here&#8217;s the script with a small addition (I added the delay(seconds)): [Applescript-editor-formatted image] [Text] repeat tell application "iChat" set the status message to "Status 1" delay (1) set the status message to "Status 2" delay (1) end tell [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1197&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://twitter.com/kernelpanic" target="_blank">kernelpanic</a> <a href="http://twitter.com/kernelpanic/status/4892217750" target="_blank">twittered</a> a cool Applescript for fast-changing your iChat-Status-Message I don&#8217;t want to withhold from you. Here&#8217;s the script with a small addition (I added the delay(seconds)):<br />
[Applescript-editor-formatted image]<br />
<img class="alignnone size-full wp-image-1201" title="ichat_status_message_change" src="http://calltopower.files.wordpress.com/2009/10/ichat_status_message_change.png?w=249&#038;h=129" alt="ichat_status_message_change" width="249" height="129" /><br />
[Text]</p>
<pre>repeat
	tell application "iChat"
		set the status message to "Status 1"
		delay (1)
		set the status message to "Status 2"
		delay (1)
	end tell
end repeat</pre>
<p>And a similar Script for Adium:</p>
<p>[Applescript-editor-formatted image]<br />
<img class="alignnone size-full wp-image-1206" title="adium_change_status_message" src="http://calltopower.files.wordpress.com/2009/10/adium_change_status_message.png?w=457&#038;h=187" alt="adium_change_status_message" width="457" height="187" /><br />
[Text]</p>
<pre>repeat
	tell application "Adium"
		repeat with theAccount in accounts
			go away theAccount with message "Currently away..."
		end repeat
		delay (2.0)
		repeat with theAccount in accounts
			go away theAccount with message "...back in 10 minutes."
		end repeat
		delay (2.0)
	end tell
end repeat</pre>
<br />Posted in Fun, Programming Tagged: adium, apple, applescript, ichat, message, Script, status <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1197&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2009/10/15/applescript-fast-messenger-status-message-change/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2009/10/ichat_status_message_change.png" medium="image">
			<media:title type="html">ichat_status_message_change</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2009/10/adium_change_status_message.png" medium="image">
			<media:title type="html">adium_change_status_message</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac OS X &#8211; &#8220;Automator&#8221;: Combine PDF files</title>
		<link>http://calltopower.wordpress.com/2009/10/10/automator-combine-pdf-files/</link>
		<comments>http://calltopower.wordpress.com/2009/10/10/automator-combine-pdf-files/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 15:54:06 +0000</pubDate>
		<dc:creator>CallToPower</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[Combine]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[merge]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Program]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://calltopower.wordpress.com/?p=1182</guid>
		<description><![CDATA[Today I had to find a program that combines/merges 2 or more PDF-files. Because I didn&#8217;t want to use Adobe Acrobat (Pro?) I turned my internet search on and found an interesting program: The Mac OS X Automator. Without reading any tutorial or something different (Automator is really self-explanatory, it&#8217;s like drag&#8217;n'drop everything!) I created [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1182&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I had to find a program that combines/merges 2 or more PDF-files.<br />
Because I didn&#8217;t want to use Adobe Acrobat (Pro?) I turned my internet search on and found an interesting program: <a href="http://www.apple.com/downloads/macosx/automator/" target="_blank">The Mac OS X Automator</a>.<br />
Without reading any tutorial or something different (Automator is really self-explanatory, it&#8217;s like drag&#8217;n'drop everything!) I created a <a href="http://www.calltopower.de/automatorworkflows" target="_blank">good-working &#8220;Automation&#8221;/Program that performs that task</a>.<br />
Here&#8217;s the workflow:</p>
<ol>
<li>Ask for finder-items</li>
<li>Combine PDF pages</li>
<li>Move Finder Items</li>
</ol>
<p><img class="alignnone size-full wp-image-1194" title="Combine_PDF_files" src="http://calltopower.files.wordpress.com/2009/10/combine_pdf_files1.png?w=600&#038;h=430" alt="Combine_PDF_files" width="600" height="430" /></p>
<p>- Update 11.10.2009 -<br />
Created a sub-site named Automator-workflows at <a href="http://www.calltopower.de/automatorworkflows" target="_blank">www.calltopower.de/automatorworkflows</a> where you can see screenshots of the workflows and/or download the workflows and/or programs. I created among other things &#8220;Save Pictures from the current website&#8221;, &#8220;Take screenshot&#8221;, &#8220;Take image from webcam (iSight or other)&#8221;, &#8220;Pictures to PDF&#8221;, &#8220;Images to PDF&#8221;.</p>
<br />Posted in Programming, Software Tagged: apple, Automator, Combine, File, merge, PDF, Program, workflow <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calltopower.wordpress.com/1182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calltopower.wordpress.com/1182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calltopower.wordpress.com/1182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calltopower.wordpress.com&amp;blog=3325606&amp;post=1182&amp;subd=calltopower&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calltopower.wordpress.com/2009/10/10/automator-combine-pdf-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fd016187413110c4e553a77bf5a24952?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">CallToPower</media:title>
		</media:content>

		<media:content url="http://calltopower.files.wordpress.com/2009/10/combine_pdf_files1.png" medium="image">
			<media:title type="html">Combine_PDF_files</media:title>
		</media:content>
	</item>
	</channel>
</rss>
