Wednesday, May 12, 2010

Internet Explorer

Once I thought I would never open the MS Internet Explorer again. But than comes a site that has forced me to use it. I had no choice. Here is how to install this software on linux.

# sudo apt-get install playonlinux

Then open Menu > Games > PlayonLinux and choose IE from Internet section.

Friday, May 7, 2010

Remote Desktop Help

Do you want to help a friend with windows bugs?
There is at least two tools to use: rdesktop, tsclient.

Update at 12/31/2010 (31/12/2010).

Sunday, April 25, 2010

Configure Grub2

In terminal:

gksu gedit /etc/default/grub
sudo update-grub

Slow USB transfer rate

I was getting super low speed while transferring files to an usb drive. Updating the kernel solved this problem for me.

Go to http://kernel.ubuntu.com/~kernel-ppa/mainline  and choose a recent linux-image file. Download and install.

That's it.

Thursday, April 22, 2010

Imposto de Renda




Amigos, 

Vou direto ao assunto: 

1) Instalar o programa para fazer a declaração:

Primeiro faça o download (www.receita.fazenda.gov.br/PessoaFisica/IRPF/2010/declaracao/download-programas.htm), coloque na pasta "Downloads" e abra um terminal e digite

chmod +x ~/Downloads/IRPF2010linux-x86v1.0.bin

depois inicialize a instação:

~/Downloads/IRPF2010linux-x86v1.0.bin

Observações: 
I. As letras do menu iniciar podem ficar esquisitas, então abra um terminal e digite:

nautilus ~/ProgramasRFB/irpf2010/

daí clique com o botão da direita do mouse sobre o arquivo "irpf.jar" e escolha "Abrir com o Sun Java 6 Runtime"

II. Dentro do programa, para navegar pelas pastas, segure o Ctrl e aperte enter.


2) Instalar o programa para transmitir a declaração:

Primeiro faça o download (www.receita.fazenda.gov.br/PessoaFisica/IRPF/2010/declaracao/download-programas.htm), coloque na pasta "Downloads" e abra um terminal e digite

chmod +x ~/Downloads/ReceitanetJava2010.02a_setup_linux.bin

depois inicialize a instalação:

~/Downloads/ReceitanetJava2010.02a_setup_linux.bin 



Observações:


Caso apareça o seguinte erro: "The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)", então será necessário indicar o caminho para o Java Runtime Environment, que no meu computador (64bits) é  /usr/lib64/jvm/java-6-sun-1.6.0.15/jre , mas no seu pode ser um pouco diferente.
Digite:



~/Downloads/ReceitanetJava2010.02a_setup_linux.bin -is:javahome /usr/lib64/jvm/java-6-sun-1.6.0.15/jre



Um abraço,
André.

Tuesday, April 13, 2010

Do you need to retrieve an accidentally deleted file?

If you use Linux you're in luck.

sudo aptitude install testdisk
sudo photorec
Just to make it easy to search I will add these keywords: undelete, unerase, recover.

Thursday, March 25, 2010

Linux virus


We Linux users may sometimes have the impression that we were excluded from the big party. So here's how to install a virus on Linux.



"
evilmalware 0.6 (beta)
Copyright 2000, 2001, 2003, 2005 E\/17 |-|4><0|2z Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY, COMPLETE DESTRUCTION OF IMPORTANT DATA or FITNESS FOR A PARTICULAR PURPOSE (eg. sending thousands of Viagra spams to people accross the world).

Basic Installation

Before attempting to compile this virus make sure you have the correct version of glibc installed, and that your firewall rules are set to ‘allow everything’.
  1. Put the attachment into the appropriate directory eg. /usr/src.
  2. Type ‘tar xvzf evilmalware.tar.gz’ to extract the source files for this virus.
  3. cd’ to the directory containing the virus' source code and type ‘./configure’ to configure the virus for your system. If you're using ‘csh’ on an old version of System V, you might need to type ‘sh ./configure’ instead to prevent ‘csh’ from trying to execute ‘configure’ itself.
  4. Type ‘make’ to compile the package. You may need to be logged in as root to do this.
  5. Optionally, type ‘make check_payable’ to run any self-tests that come with the virus, and send a large donation to an unnumbered Swiss bank account.
  6. Type ‘make install’ to install the virus and any spyware, trojans pornography, penis enlargement adverts and DDoS attacks that come with it.
  7. You may now configure your preferred malware behaviour in /etc/evilmalware.conf.
SEE ALSOevilmalware(1)evilmalware.conf(5),
please_delete_all_my_files(1)    
"
This joke was found here: http://www.gnu.org/fun/jokes/evilmalware.html at 17h58 GMT 25/03/2010.

Sunday, February 14, 2010

How to Find a File Looking Inside It

# How to find files by looking for words within it
#
# One way I found to do this is to install Google Desktop (isn't Google awesome?)
#
# You may wish to install wvWare and catdoc first, to be able to look inside Microsoft documents like doc, docx. Just go to terminal and type:


sudo apt-get install wv


sudo apt-get install catdoc



# Get this app from http://desktop.google.com
#
# Take a look at this pictures






Tuesday, February 9, 2010

Apps trying to connect with Google


# This apply to Windows Mobile (winmo) and others softwares (like Empathy IM Client) that try to connect with Google
#
# This is how to fix errors with connectivity with Google
#
# Google Sync (or Microsoft Exchange) may give some error like "incorrect password 0x85010002"
#
# You will have to Unlock Captcha: https://www.google.com/accounts/DisplayUnlockCaptcha
#
# Thanks to bbakken.
#
# That's it ;-)

How to get a Public Key in Debian based distros

# Ubuntu - Karmic Koala
#
# This is how to get a key when there are new repository
#
# Pick the last 8 numbers from the error data. See the example:
#
# "W: GPG error: http://ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 632D16BB0C713DA6".
# In this case, the last 8 numbers are: 0C713DA6.
#
# Then in terminal:
#
# gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6
#
# gpg --export --armor 0C713DA6 | sudo apt-key add - && sudo apt-get update
#
# That's it ;-)

Monday, February 8, 2010

Introduction

First of all: what "my two cents" means?
It's an American idiomatic expression. Take a look at this.

Why another blogger?
That is an old idea to share the solutions to the problems that eventually shows up at computers. I've kept them, and I shall now share them.

Why in english?
That is because I wish to share these to the world. Don't think I'm a megalomaniac [indeed I'm a psychiatrist], don't take it too seriously, it's just my two cents.

Apresentação

Este blog é minha pequena contribuição para ajudar a resolver os bugs nossos de cada dia.

Pretendo escrever as soluções também em inglês para que possa ser útil para o mundo todo.

Um abraço,
desgua.

Wednesday, November 1, 2000

Meus outros sites

Para referência, estes são meus outros sites:
Consultório Lapa: http://www.wix.com/desgua/sm
Consultório Vila Gustavo: http://www.wix.com/desgua/med