Johan Rylander

2010-03-02

Korrupt pdf i openoffice

Postat i: Computers — Johan Rylander @ 15:41

I mitt nuvarande uppdrag hade vi ett problem med att OpenOffice export till pdf av Word-dokument inte fungerade som den skulle. Dokumenten gick inte att söka i och kopiering av text fungerade inte även om dokumenten såg bra ut och gick att läsa (i Acrobat Reader).

Lösningen var att välja default språk i Verktyg->Alternativ-Språkinställningar->Språk till Svenska (Sverige). Samma inställning återfinns också i profilen i filen Linguistic.xcu

2010-02-16

See the answers in experts-exchange from Google

Postat i: Computers — Johan Rylander @ 10:39

View the page as cached by Google and view without stylesheet. The answers are at the bottom ;)

2010-02-15

1password for Google Chrome

Postat i: Computers — Johan Rylander @ 20:49

Yes, very simplistic (only fill in existing passwords) but still nice!

http://support.agilewebsolutions.com/showthread.php?22003-Setup-instructions

2010-02-01

Export from roller to wordpress

Postat i: Computers — Johan Rylander @ 22:33

The script at http://codex.wordpress.org/Importing_From_Roller did not work on my but the below did. Two things:

  1. The below script does not export the comments
  2. For importing to wordpress.com at least, the encoding should be UTF-8

(Läs mer…)

2010-01-15

clearfsimport and parameter ordering

Postat i: Computers — @ 15:59

ClearCase has a utility called clearfsimport, a command line tool that takes parameters. Guess what? The order of the options matters!

The command

clearfsimport -nsetevent -preview -recurse path1 path2

does not work, whereas this

clearfsimport -preview -recurse -nsetevent path1 path2

does … Now, is it just me or isn’t that incredibly lame!

WinMerge totally rocks

Postat i: Computers — @ 11:55

Having the misfortune to use Windows for a few months now, I was gladly surprised to find WinMerge (http://winmerge.org). Very much recommended.

2010-01-12

Roller on Glassfish on Mac OS X 10.6 (Snow Leopard)

Postat i: Computers — Johan Rylander @ 21:41

Tried to install roller 4.0.1 (http://roller.apache.org/download.cgi) on Suns Glassfish v3 but only got:

java.lang.NoClassDefFoundError: Could not initialize class com.opensymphony.xwork2.util.DomHelper$DOMBuilder

from struts2 trying to use xwork2 to initialize. Copying needed libraries into the domain1′s lib directory did solve it though. I.e:

  • cd …./domains/domain1/applications/roller/WEB-INF/lib
  • sudo cp xalan.jar serializer.jar ../../../../lib/

I got the idea from: http://www.liferay.com/web/guest/community/forums/-/message_boards/message/435849

Google Chrome on mac now support extensions

Postat i: Computers — @ 14:33

In "developer channel", here:

http://www.google.com/chrome/intl/en/eula_dev.html?dl=mac

from

http://dev.chromium.org/getting-involved/dev-channel

2009-12-21

Migrate macbook (pro) to new macbook

Postat i: Computers — @ 0:00

The migration of user account worked like a charm after I had switched language on both computers to the same language (Swedish in this case). Before that, it just hanged.

try{for(var lastpass_iter=0; lastpass_iter < document.forms.length; lastpass_iter++){ var lastpass_f = document.forms[lastpass_iter]; if(typeof(lastpass_f.lpsubmitorig2)=="undefined"){ lastpass_f.lpsubmitorig2 = lastpass_f.submit; lastpass_f.submit = function(){ var form=this; var customEvent = document.createEvent("Event"); customEvent.initEvent("lpCustomEvent", true, true); var d = document.getElementById("hiddenlpsubmitdiv"); for(var i = 0; i < document.forms.length; i++){ if(document.forms[i]==form){ d.innerText=i; } } d.dispatchEvent(customEvent); form.lpsubmitorig2(); } } }}catch(e){}

2009-12-14

Windows XP hosts file

Postat i: Computers — @ 0:00

If you want to set address of “localhost”, this works:

1.2.3.4   localhost localhost.blaha localhost.blahi

this does not:

1.2.3.4   localhost.blaha localhost localhost.blahi
« Nyare inläggÄldre inlägg »

Tema: Silver is the New Black. Blogga med WordPress.com.

Följ

Få meddelanden om nya inlägg via e-post.