Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/phaero/phaero.segolsson.se/wp-settings.php on line 18

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/phaero/phaero.segolsson.se/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/phaero/phaero.segolsson.se/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/phaero/phaero.segolsson.se/wp-includes/comment-template.php on line 0

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/phaero/phaero.segolsson.se/wp-includes/comment-template.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /home/phaero/phaero.segolsson.se/wp-settings.php:18) in /home/phaero/phaero.segolsson.se/wp-includes/feed-rss2.php on line 8
Random Thoughts http://phaero.segolsson.se Quis custodiet ipsos custodes? Wed, 09 Jan 2008 12:03:30 +0000 http://wordpress.org/?v=2.7.1 en hourly 1 Vimdiff http://phaero.segolsson.se/?p=28 http://phaero.segolsson.se/?p=28#comments Wed, 09 Jan 2008 12:03:30 +0000 phaero http://phaero.segolsson.se/2008/01/09/vimdiff/ Start with:

(g)vim -d file1 file2

or

(g)vimdiff file1 file2

To ‘obtain’ the change in the other file, you type ‘do’, and to ‘put’ the change from the current file across, you type ‘dp’. Navigate with the common window shortcuts ie +( arrow keys or hjkl )

]]>
http://phaero.segolsson.se/?feed=rss2&p=28
.screenrc http://phaero.segolsson.se/?p=27 http://phaero.segolsson.se/?p=27#comments Sun, 23 Dec 2007 22:28:08 +0000 phaero http://phaero.segolsson.se/2007/12/23/screenrc/ Updated my .screenrc a bit ( looks like this ):

hardstatus alwayslastline “%{=}%{g}[ %{W}%H %{g}][%= %{w}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{B}%Y-%m-%d %{W}%c:%s %{g}]“

]]>
http://phaero.segolsson.se/?feed=rss2&p=27
Firefox: good to know http://phaero.segolsson.se/?p=26 http://phaero.segolsson.se/?p=26#comments Tue, 11 Dec 2007 09:22:37 +0000 phaero http://phaero.segolsson.se/2007/12/11/firefox-good-to-know/ If Firefox fails to start with this error message “Firefox is already running but is not responding” do this to fix it:

First check in your process list to see if firefox is already running and if it is, kill it ( the mozilla page rekommends that you reboot your computer but who wants to do that ).

If you can’t find any firefox process or you still get this message after you killed it, go into your profile folder ( ~/.mozilla/firefox/XXXX/ ) and remove ‘.parentlock’.

Now Firefox should be able to start successfully.

]]>
http://phaero.segolsson.se/?feed=rss2&p=26
Vim tips http://phaero.segolsson.se/?p=25 http://phaero.segolsson.se/?p=25#comments Mon, 10 Dec 2007 09:42:39 +0000 phaero http://phaero.segolsson.se/2007/12/10/vim-tips/

If you want to search for something you select in visual mode: 1) yank 2) / 3) CTRL-R” 4) That is: y/^R” (note: ” is the default yank buffer. You could use a named buffer as well if you want.)

~ — switch case of character under cursor

i_CTRL-A — In insert mode, insert the previously inserted text.

{visual}g? — Rot13 encode highlighted text g?? — Rot13 encode the current line

CTRL-A — Add [count] to the number at or after the cursor CTRL-X — Subtract [count] from the number at or after the cursor

J - join the current line with the line below it.

. — repeat the last change

If you want to change a quotation: “This is a quotation” And want to change it to: “blablabla” Start on the first letter of the quotation and press ct” (Change Till “)

ga - with your cursor over a character, it will show you the decimal, hex, and octal codes of the character. Great for non printable characters.

To insert special characters, you’ll be interested in digraphs. :digraphs will show you a complete table of special characters, plus their two character code, plus their ascii number. You can insert digraphs using ctrl-k plus the two character code. For example ctrl-k SX results in ^B being inserted

]]>
http://phaero.segolsson.se/?feed=rss2&p=25
Android looks really cool http://phaero.segolsson.se/?p=24 http://phaero.segolsson.se/?p=24#comments Sun, 09 Dec 2007 09:59:28 +0000 phaero http://phaero.segolsson.se/2007/12/09/android-looks-really-cool/ Android intro

]]>
http://phaero.segolsson.se/?feed=rss2&p=24
Remember this http://phaero.segolsson.se/?p=23 http://phaero.segolsson.se/?p=23#comments Fri, 07 Dec 2007 14:17:10 +0000 phaero http://phaero.segolsson.se/2007/12/07/remember-this/ If you want to search for a specific string in all files recursivly then use this command:

grep -R <search string> <files/*>
]]>
http://phaero.segolsson.se/?feed=rss2&p=23
Apparently I’m intelligent… http://phaero.segolsson.se/?p=22 http://phaero.segolsson.se/?p=22#comments Sat, 15 Sep 2007 13:16:45 +0000 phaero http://phaero.segolsson.se/2007/09/15/apparently-im-intelligent/ Feels a bit weird when you get a letter like this in dvd folder you bought

Hej Medmänniska. Du är intelligent om det är sexigt! Visste du om att en tredjedel av pengarna du lägger på film går raka spåret in i nya film projekt. När jag var liten blev jag mycket inspirerad av film och teater. Dom miljörer som byggts var så verkliga men alldels på låtsas. Jag blev fylld av fantasi. Jag ville vara i den där låtsasvärlden och arbeta. Nu är jag det och det är väldigt kul. Det vore sorgligt om branschen inte fick betalt för den kreativa verksamhet som behövs för att skapa film. Det skulle inte bli några filmer till slut. Tack för att du är med och sponsrar istället för att ladda ner olagligt på nätet.

Vänliga hälsningar Cecilia Frode och Vi som jobbar med film

]]>
http://phaero.segolsson.se/?feed=rss2&p=22
VI bindings in bash and tcsh http://phaero.segolsson.se/?p=21 http://phaero.segolsson.se/?p=21#comments Sun, 09 Sep 2007 20:11:27 +0000 phaero http://phaero.segolsson.se/2007/09/09/vi-bindings-in-bash-and-tcsh/ To enable VI bindings in bash you type:

set -o vi

or in csh/tcsh you can type:

bindkey -v

Now you can press Escape to get to command mode, most of VI’s basic commands will work.

]]>
http://phaero.segolsson.se/?feed=rss2&p=21
Command & Conquer http://phaero.segolsson.se/?p=20 http://phaero.segolsson.se/?p=20#comments Sun, 09 Sep 2007 15:45:01 +0000 phaero http://phaero.segolsson.se/2007/09/09/command-conquer/

Thanks largely to the efforts of our loyal fans whom continue to sustain and grow the Command & Conquer community, Command & Conquer has become a legendary franchise and it’s time to celebrate its birth once again.

In order to give back to the fans for over 12 years of devotion we are putting together a 12th Anniversary celebration during the month of September. However, as any Command & Conquer fan knows, the true party starts today, August 31st, which marks 12 years since the original Command & Conquer launched way back in 1995.

To kick the celebration off, today we have a special surprise which we are certain new and old Command & Conquer fans will enjoy. We are providing the original Command & Conquer as a free download, compatible for Windows XP! This is the same version included with the collectors pack Command & Conquer: The First Decade, and is now available for you to download for free!

http://www.commandandconquer.com/

]]>
http://phaero.segolsson.se/?feed=rss2&p=20
Why, oh WHY, do those ?@! nutheads use vi? http://phaero.segolsson.se/?p=19 http://phaero.segolsson.se/?p=19#comments Fri, 31 Aug 2007 21:02:44 +0000 phaero http://phaero.segolsson.se/2007/08/31/why-oh-why-do-those-nutheads-use-vi/ Here’s a pretty good article about VI and why you should use it and who do use it. The page also seem to sell a plugin for Visual Studio, Word and Outlook so you can get VI type editing in those applications aswell but it was a bit expensive ( around $70 I think ).

]]>
http://phaero.segolsson.se/?feed=rss2&p=19