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-atom.php on line 8
Random Thoughts Quis custodiet ipsos custodes? 2008-01-09T12:03:30Z WordPress http://phaero.segolsson.se/?feed=atom phaero http://phaero.segolsson.se/ <![CDATA[Vimdiff]]> http://phaero.segolsson.se/2008/01/09/vimdiff/ 2008-01-09T12:03:30Z 2008-01-09T12:03:30Z 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 )

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[.screenrc]]> http://phaero.segolsson.se/2007/12/23/screenrc/ 2007-12-23T22:28:08Z 2007-12-23T22:28:08Z 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}]“

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Firefox: good to know]]> http://phaero.segolsson.se/2007/12/11/firefox-good-to-know/ 2007-12-11T09:23:07Z 2007-12-11T09:22:37Z 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.

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Vim tips]]> http://phaero.segolsson.se/2007/12/10/vim-tips/ 2007-12-10T09:43:34Z 2007-12-10T09:42:39Z

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

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Android looks really cool]]> http://phaero.segolsson.se/2007/12/09/android-looks-really-cool/ 2007-12-09T10:02:29Z 2007-12-09T09:59:28Z Android intro

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Remember this]]> http://phaero.segolsson.se/2007/12/07/remember-this/ 2007-12-09T10:02:51Z 2007-12-07T14:17:10Z If you want to search for a specific string in all files recursivly then use this command:

grep -R <search string> <files/*>
]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Apparently I’m intelligent…]]> http://phaero.segolsson.se/2007/09/15/apparently-im-intelligent/ 2007-09-15T13:17:29Z 2007-09-15T13:16:45Z 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

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[VI bindings in bash and tcsh]]> http://phaero.segolsson.se/2007/09/09/vi-bindings-in-bash-and-tcsh/ 2007-09-09T20:12:51Z 2007-09-09T20:11:27Z 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.

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Command & Conquer]]> http://phaero.segolsson.se/2007/09/09/command-conquer/ 2007-09-09T15:45:01Z 2007-09-09T15:45:01Z

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/

]]>
0
phaero http://phaero.segolsson.se/ <![CDATA[Why, oh WHY, do those ?@! nutheads use vi?]]> http://phaero.segolsson.se/2007/08/31/why-oh-why-do-those-nutheads-use-vi/ 2007-08-31T21:05:56Z 2007-08-31T21:02:44Z 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 ).

]]>
0