terça-feira, 5 de fevereiro de 2013

How to always run a program as administrator without prompt for password

Try RunAsUser

Tested only in Windows XP, should work in Windows Vista/7, if this didn't work in your system use AutoIt and compile the macro script to always run the program as administrator.
Before you extract the archive you have to disable your anti-virus because the installer can trigger a virus-alert as a false-positive.
This software was discontinued and extinguished... until now.
Here's some screenshots:

sexta-feira, 14 de dezembro de 2012

segunda-feira, 20 de agosto de 2012

Install Packet Tracer on Linux

I have already installed Cisco Packet Tracer® on Linux Mint 12 Lisa but it should work on the newest version of Mint and Ubuntu.
Do the following:

  1. After login, click in the red box image

  2. Next search for "Cisco Packet Tracer program downloads" and click on it

  3. Click on the right of "Packet Tracer v5.3.3 Application + Tutorial - Generic Ubuntu" that will download the archive "PacketTracer533_Generic_Ubuntu.tar.gz"

  4. Finished the download, open the terminal, navigate to the archive location and type:
  5. tar -zxvf PacketTracer533_Generic_Ubuntu.tar.gz
    cd PacketTracer53/
    chmod +x install

  6. Now we must have root privileges in terminal to start the installer:
  7. sudo su <will ask for your admin password>

  8. Follow the installer instructions and after the installation run Packet Tracer with the command:
  9. packettracer

quarta-feira, 20 de junho de 2012

How to getting work USB devices in VirtualBox in Linux

If you got the message "No USB Devices Connected" in your vbox, do the following:

  1. Check if you really have installed the PUEL (Personal Use and Evaluation License) last version of VirtualBox from the official website in your system and not the OSE (Open Source Edition) VirtualBox version from your distro's repository (VitualBox OSE is out-of-date).
  2. Open the terminal and type:
  3. sudo adduser <your_user_name> vboxusers
  4. Reboot and try again

quinta-feira, 19 de abril de 2012

Free Nokia Webinar session about developing S40 mobile applications

From Nokia Developer (source)
User-centric design of Series 40 applications
Putting the user at the heart of your app designs is the key to creating winning apps. This webinar will walk you through a design example focusing on helping a user determine where they are, to facilitate the use of a location based application for Series 40 Touch and Type phones. 

After giving an overview of the available methods for determining the user’s location, the webinar will discuss some of the fundamental drivers behind mobile apps design, such as user mind set, use context, and small screen limitations.

Armed with this knowledge, the webinar will explore practical design implementations to enable the user to estimate their location, with a focus on the ways in which you can translate technology into an easy-to-use application.

The presentation concludes with an overview of the Series 40 UI design tools and services offered by Nokia to help you deliver winning app design.

Overall, this session guides you on how to make complex technology accessible to Series 40 users.

Build a Series 40 web app in one hour 
Series 40 web apps are easy to build, and they make great information and entertainment apps that use frequently-updated content from the Internet. Using web development skills and tools, templates and information available from Nokia Developer, you can create an app in as little as one hour, start to finish. In this webinar, Michael from Futurice will show you how.

Michael suggests that you download and install Nokia Web Tools 1.5 before the webinar to get the most out of the session. That's the toolset he will be using in the presentation. You don't need to have it installed to learn a lot, but you'll learn more if you have it handy.

* Some attendees will become eligible for a free Nokia Asha 303 by publishing a Series 40 web app. We'll provide all the details during the session.

terça-feira, 17 de abril de 2012

Ripar um Livro: O Grande Livro dos Lavores

Existem varias formas de ripar um livro, tudo depende dos meios que dispomos para fazer a captura das páginas. No meu caso tive de recorrer ao método caseiro, ou seja, digitalizar folha a folha todas as páginas do livro e acreditem é um trabalho demoroso que requer extrema paciência.
Abaixo estão os dados do livro ripado:

Titulo: O Grande Livro dos Lavores
Editora: Selecções Reader's Digest
Ano: 1985
1.ª Edição
Nº de Páginas: 504 (aprox. 3 dias a ripar)
Idioma: Português - Portugal


Depois de fazer download de todas as partes do arquivo:

  • Executar o ficheiro O_Grande_Livro_dos_Lavores_PT.djvu.00001 para extrair o livro
  • Instalar o programa WinDjView-1.0.3-Setup na pasta Djvu Reader para abrir ebooks .djvu
  • Abrir o ficheiro  O_Grande_Livro_dos_Lavores_PT.djvu
Nota: É possível fazer a procura e cópia de texto do ebook mas como texto foi obtido a partir de mecanismos de OCR, não é assegurado a coerência do texto extraido.

Ficha Técnica:
O livro foi digitalizado com uma impressora multifunções EPSON Stylus DX3800 através do software EPSON Scan (não tem grande qualidade).
De seguida, as imagens foram importadas para o programa gscan2pdf para serem processadas pelo mecanismo de OCR Ocropus (PT) e convertidas para o formato DjVU (melhor formato que PDF).

PS: Quem souber de melhores formas de ripar um livro, sinta-se livre para comentar.