dimanche 21 novembre 2010

selenium server e firefox 3

Selenium Server and firefox 3

Here is a solution for people having problem using selenium-server with firefox 3 (firefox does not really starts for some reason). The solution is to get the new versio nof selenium server that can be found there, using this direct link to the standalone-server.
It contains a single file: selenium-server-standalone.jar
I order to run the selenium server you use a command similar to that one:
java -jar /usr/share/selenium-server/selenium-server-standalone.jar -firefoxProfileTemplate /home/manu/.mozilla/firefox/Selenium

I'm in particular using a specific firefox profile for selenium so that not to mixture it with the profile I normally uses. Using a specific firefox profile for selenium, also enables the possibility to manually accept the untrusted certificates of some sites before running selenium which may hang up at that point!

Selenium Server et firefox 3

Voilà une solution pour le problème de démarrage de firefox 3 avec selenium. La solution consiste simplement à installer la nouvelle version du serveur "standalone" selenium qui peut être trouver sur cette page web ou, en utilisant ce lien direct vers le fichier du server standalone.
L'unique fichier du serveur standalone est : selenium-server-standalone.jar

Pour faire tourner le serveur selenium j'utilise cette commande (sous linux):
java -jar /usr/share/selenium-server/selenium-server-standalone.jar -firefoxProfileTemplate /home/manu/.mozilla/firefox/Selenium

Comme on peut le remarqué j'utilise un profile de firefox spécifique pour, ce qui permet de ne pas mélanger ma navigation web et selenium. L’intérêt d'utiliser un profil spécifique avec selenium, est qu'i permet notamment de accepter manuellement les certificats non "truste" avant de faire tourner selenium qui peut peut s'arrêter à ce niveau.


Selenium Server e firefox 3

Se você tem um prblema para iniciar firefox a partir do servidor selenium, aqui segue uma solução rápida e simples. A solução consista simplesmente em instalar a nova versão "standalone" do servidor de selenium que pode ser encontrado na seguinte página ou nesse link. O único arquivo para o servidor "standalone est: selenium-server-standalone.jar

Para rodar o servidor selenium eu uso o seguinte comando (no linux):
java -jar /usr/share/selenium-server/selenium-server-standalone.jar -firefoxProfileTemplate /home/manu/.mozilla/firefox/Selenium

Free software for plotting datas on windows and linux

Free software for plotting datas
on windows

It is always a problem to find free software for windows to plot datas. Here is a list of candidates that I use to consider:

front-end:
xlplot
ploticus http://ploticus.sourceforge.net/doc/welcome.html

command line
Lien
I recently discovered scidavis which is fantastic and does more than what I would expect!


Poster com impressora A4

Poster com impressora A4

Devido a uma situação de emergência, precisei de imprimir um poster com minha impressora A4. Achei um programa fantástico: PosteRazor

Consegui com minha esposa montar rapidamente um poster de 80x59 cm, basta ter um impressora A4, uma tesoura, um bastão de cola e um pouco de paciência!

vídeo de PosteRazorLien

Softwares livres para fazer apresentações

Softwares livres para fazer apresentações

Eu estava precisando de renovar meu conhecimento em software para fazer presentações. Eu encontrei as seguintes opções:
- impressive: um software fantástico que basicamente aumenta as possibilidade de apresentações em pdf (pode fazer zoom, mostrar uma tela com todos os slides, colocar em evidência trecho do slide...)
- apresentações com latex-beamer usando org-mode: um sistema de síntaxe simplificado (emacs para fazer apresentações com latex-beamer

Org-mode também é um poderoso gestionário de tarefas! As tarefa podem ser incluídas nas próprias arquivas. Ele pode ser também utilizado para fazer anotações... Parece bem interessante.

Dicionários para openoffice

Dicionários para openoffice

http://www.guiadohardware.net/dicas/openoffice-corretores-gramatical-ortografico.html

gravação de sessão gráfica no linux

Enregistrement de session / gravação de sessão gráfica

Le logiciel vnc2flv est super pour enregistrer une session d'ordinateur.
O software vnc2flv é ótimo para gravar uma sessão gráfica no computador.

Exemplo de uso/exemple d'utilisation:
$ x11vnc -quiet -localhost -viewonly -nopw -bg
(start up a vnc server)
The VNC desktop is: localhost:0 PORT=5900$
flvrec.py localhost:0 (Record a local desktop)
$ flvrec.py -C 640x480+0-0 remotehost:0
(Record a remote desktop with a 640x480 window at
the bottom left of the screen.)

$ flvrec.py -S 'arecord sample.wav'
(Record a local desktop and capture audio input
simultaneously using the ALSA recording utility)
fonte/source
video