fgrillo.net O cricrilar de minhas idéias

19Jul/090

Cedilla on ubuntu 9.04 netbook remix

  • english
  • portuguese

A few days ago I installed the ubuntu netbook remix on my recently acquired aspire one d250. The machine performance is up to my expectations, but my objective is mobility. The keyboard is confortable and easy to get used with, except by the fact that the keys Home and End are function keys, awfull to code :(

My aspire came with an english keyboard, so I configured the layout to USA Alternative International but the cedilla still do no work as I expected! the result of 'accute accent' + 'c' is just a 'c' with an accute accent on it! hehehe

I configured the cedilla acording to this tutorial from Jansen Sena. Simple, effective and functional.

See ya!

Filed under: Uncategorized No Comments
25Apr/090

Change the look of your Firefox with Personas

  • english
  • portuguese

Tired of this gray window of your browser? The Personas is a Firefox addon that allow the user to change the background and font color of your Firefox with a couple of clicks.

You can also create your own persona and share it with other users in a very simple way.

Watch the official video below to get to know it.


Getting Started with Personas from Mozilla Labs on Vimeo.

17Apr/090

Installing TrueType fonts on OpenSuse 11.1

  • english
  • portuguese

To install new TrueType fonts (Microsoft or the free ones) you just need to copy the .ttf files to the folder /usr/share/fonts/truetype and then run the following command in your shell:

$ sudo SuSEconfig

Ps. For the absent-minded, you do need to use the capital letters as typed above!

Hope it's useful! ;)

31Mar/092

My beautiful gnome desktop.

  • english
  • portuguese

I needed to post  a screenshot of my current desktop. Just configured it in a way that pleases me:

My beautiful desktop

My beautiful desktop

For the curious, the lower dock is a Cairo-dock, for desktop effects used Compiz-Fusion. Music player that put the album cover on the desktop is Exaile. To develop I use Gedit with plugins and Bash :D . Free wallpaper from Panedia. For those who noticed the little green chameleon, I'm a big fan of OpenSuse, but you can use your favorite flavor of Linux!

All this stuff on a 22" screen with resolution of 1680x1050 (Strongly recommend this big screen, it can make any programmer happy e consequently more productive)

Bye!

Tagged as: , , 2 Comments
11Jan/092

Installing a virtual machine as a server with VirtualBox

  • english
  • portuguese

After 4 long months without internet connection at home, here we are again! This time I decided to install the VirtualBox to explore it a little deeper, I've had some experiences with it some time ago but the only thing I can recall is that it ran Age of Empires 2 better than VMWare. :D

For those that don't know, VirtualBox is a virtualization framework developed by innotek and bought by Sun, yes... that Sun, the owner of MySQL, Java, OpenOffice and a couple of other famous softwares.

The goal of this endeavor was install a virtual machine (vm) to use as a web server to test small projects and learn. First, I installed a vm with Debian Etch and no graphical interface over VirtualBox in a openSuse 11.0. Then I installed Apache, MySQL, SSH and others... Now we get to the interesting part, how to make the hosting system have access to the servers and applications installed on the guest system.

With the vm's network interface configured with NAT (default option I guess), you just need to add the NAT port forwarding rules between the host and guest systems. As an example I'll use Apache, you'll need the three following command lines (the vm must be turned off):

$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/Protocol" TCP

$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/GuestPort" 80

$ VBoxManage setextradata "Debian" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/apache/HostPort" 8080

With that done, just turn on your virtual machine again and test! If everything is configured correctly, the address http://localhost:8080 should take you to the pages stored on the guest system's Apache server.

On the command lines above, the name "Debian" refers to the name of the virtual machine you set on VirtualBox when creating it, the "apache" can be replaced with anything, it's just a name for the configuration. Also the ports used could be changed as you prefer, the ones displayed were the ones I used here, but it's pretty much up to you. The VirtualBox manual tell us that under linux hosts we must not use ports under 1024 for the "HostPort" because they are reserved for applications ran by root and the vm may not start in this case.

The only problem I'm having so far is the fact that I can't connect to the MySQL server installed on the guest machine and get the following error message:

ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

If anyone knows something about it, please leave a comment!

See you.

Tagged as: 2 Comments
6Jan/090

JavaScript frameworks performance.

  • english
  • portuguese

Recently my friend Vinicius indicated me an amazing web site that measure the performance of some of the most popular JavaScript frameworks in your browser and it is excelent both to compare the perfomance of your applications within different browsers or to pick one of the frameworks to use.

The site is http://mootools.net/slickspeed/

Once the page loads, click at "start tests" buttons on the top of the page and it will execute all the tests to compare the frameworks. But remember, the performance measure is relative to your browser, do the test again with other browsers to check their perfomance.

Besides, this very interesting article from Brian Rendel offer a little more information to help you choose among the variety of frameworks.

13Nov/080

Google and linux releases.

  • english
  • portuguese

What is going on with the giant? Lately we can see lots of news about interesting softwares and features from Google but everytime I look into it I get the message "This app is not yet available for Linux.".

This is meant to express my frustration when I discovered that Gmail voice and video chat is not available for Linux at this time.

I haven't had the opportunity to test it yet and besides my little protest, here is the vídeo about the feature:

Cheers,
Filipe Grillo

NOTE: This is my first post in english! I'm planning to make this hole blog bilingual asap! So, any corrections and/or sugestions are welcome!

22Aug/080

Alternativas para aplicativos do KDE

Bom, eu sempre fui fã do ambiente gráfico Gnome e por mais que já tenha usado por um tempo, não consigo me adaptar com o KDE, nada contra, simplesmente me adaptei melhor ao gnome e já tenho até algumas manias de como configurar meus painéis e tal...

A grande questão é que o KDE possui alguns aplicativos muito bons e consequentemente eu sempre os instalei no meu Gnome, aqui vão quais são os aplicativos e quais as alternativas que utilizo atualmente:

Kile

O Kile é um excelente editor de texto para documentos em LaTeX, usei por muito tempo e só recentemente descobri uma alternativa para ele.

Alternativa: Eclipse com o plug-in TeXlipse (visite a página do projeto no sourceforge), note que ainda é necessário ter os pacotes do LaTeX instalado, mas nada de KDE.

kTorrent

Outro excelente programa que utilizava do KDE, quando começeu a usar o linux (ubuntu na época) instalei todos os gerenciadores de torrent que constavam na minha lista do APT, deixando o kTorrent por último porque ia precisar instalar um porção de bibliotecas do KDE. Aconteceu que foi o único gerenciador de que satisfez àquela altura.

Alternativa: Deluge BitTorrent Client é um software que faz uso da libtorrent e utiliza pyGTK em sua interface, então você pode precisar instalar algumas outras bibliotecas do python. Esse software supriu todas as minhas necessidades e substituiu o kTorrent sem perder em nada!

Amarok

Novamente um excelente programa! Player/Gerenciador de músicas com o estilão do iTunes.

Alternativa: Por enquanto estou testando o SongBird da Mozilla, por enquanto esta se saindo bem e as atualizações dele caminham para boas melhorias, a nova versão 0.7.0 já possui capacidade para mostrar/inserir arte de capa para os albuns! Está instalado a apenas 2 dias e ainda estou testando para ver se me adapto a ele. É o último aplicativo que falta para eu não mais precisar das bibliotecas do KDE!

Qualquer dúvida, crítica ou sugestão: feel free to comment! Outras sugestões de softwares também são bem vindas!

Até mais!

14Aug/080

Apostila de JavaScript para iniciantes

Olá Pessoal, faz um bom tempo que fiz essa apostila e publiquei como notas didáticas no ICMC-USP. Tinha me esquecido de colocar ela aqui no blog, mas antes tarde do que nunca certo?

Esta apostila possui um total de 42 páginas com texto bem simples e introdução de alguns conceitos básico que serão utilizados ao longo do texto. Tudo o que é explicado possui um ou mais exemplos em código que podem ser copiados e rodados. Também existe um exemplo muito legal de AJAX para o pessoal começar a se familiarizar. Ela também server de referências para alguns objetos básicos da linguagem como String e Array.

Os assuntos abordados pela apostila são:

Histórico
Conceitos
Núcleo da linguagem
Web 2.0 (Ensinando e com um exemplo de AJAX)
Ferramentas (uma pincelada em algumas ferramentas muito úteis para quem programa em JavaScript)

Faça o Download da apostila aqui!

Aproveitem bastante, sugestões e/ou críticas serão muito bem vindas.

Abraço.

Tagged as: No Comments
21Jul/081

Chatices com codecs no openSUSE 11

Acabo de instalar o openSUSE 11 em minha máquina, venho de um longo tempo com ubuntu e por enquanto estou mais feliz com o suse. o YaST, que lida com as configurações no sistema, é muito prático e funciona muito bem!

Porém, eu tive alguns problemas para instalar os codecs nessa nova versão. Eu fui até a página de multimídia da comunidade suse e simplesmente cliquei no link do "one-click install". Isso funcionou perfeitamente na versão 10.3, mas na 11 o totem ainda não conseguia rodar vídeos MPEG-4.

Solução:

Pelo instalador do YaST eu instalei o seguinte pacote:

gstreamer-0_10-ffmpeg

E o problema foi resolvido!

PS: Esse final de semana eu também instalei o slackware 12.1 aqui, e conforme for configurando ele, vou postando aqui alguns mini-tutoriais

Abraços