py2html released Tuesday, Oct 20 2009 

Just released the py2html tool. It make easy to highlight your python code to embedded in your web site.

Nota Fiscal Paulista – Ranking das Empresas Friday, Oct 9 2009 

O Programa Nota Fiscal Paulista devolve até 30% do ICMS recolhido pelo estabelecimento a seus consumidores. A conta não é tão simples assim, pois há uma diferença grande dos percentuais retornados entre os estabelecimentos. Vale a pena manter o controle de seus gastos, pois os sorteios são frequentes sendo comum acumular uma quantia razoavel que poderá ser resgatada em sua conta bancária. Veja o ranking das empresas de maior crédito na minha região: Barão Geraldo/Campinas

Indice de devolução
O Programa Nota Fiscal Paulista devolve até 30% do ICMS recolhido pelo estabelecimento a seus consumidores. A conta não é tão simples assim, pois há uma diferença grande dos percentuais retornados entre os estabelecimentos. Vale a pena manter o controle de seus gastos, pois os sorteios são frequentes sendo comum acumular uma quantia razoavel que poderá ser resgatada em sua conta bancária. Veja o ranking das empresas de maior crédito na minha região: Barão Geraldo/Campinas

http://spreadsheets.google.com/pub?key=tosUEuuQfsXiqg8Pxf-g5Mg&gid=2

Nota Fiscal Paulista Ranking por Empresa

Birigui – Paulovic Esteve lá… Monday, Aug 31 2009 

Francisco Paulovic decorou também a igreja matriz de Birigui

Confira em: http://paulovic.zoqui.com/birigui

Francisco Paulovic Thursday, Aug 27 2009 

Esse grande pintor esloveno viveu a maior parte de sua vida no Brasil. Apesar de ser ateu, reconheço que a Igreja projetou grandes artistas. Vejo na obra de Francisco Paulovic, principalmente no que se refere a arte sacra, o empenho e dedicacão de quem buscava a perfeição. Os tecidos, a luz, os ornamentos, todo seu trabalho era perfeito. O trabalho minuncioso e cuidadoso é comparável ao de grandes cientistas em suas buscas pela verdade.

O artista realizou seus principais trabalhos em igrejas do estado de São Paulo como Pirajui, Descalvado, Avaré e outras cidades.

Vale a pena a visita nas igrejas decoradas por ele.

Por enquanto, conheća um pouco mais de sua obra através do site em sua homenagem:

http://paulovic.zoqui.com

divirtam-se.

Marco

deUs Thursday, Aug 27 2009 

a intenção de Us não é de United States, mas de us mesmo…

Sou ateu, e me orgulho muito de ter escolhido a razão e a ciência, a aceitar o destino pronto, simples e submisso da fé. A fé explica tudo, sem dizer nada. . C. Sagan certa vez disse “A ausência de evidência não significa evidência da ausência”. Não se preenche o buraco da ignorância com supersticões, mas com conhecimento.  Acreditar em deus é descartar tudo. Cada nova licão seria posta no lixo: deus e razão não combinam, não há espaco para ambos em uma mente sã. Sim, nossos desastrosos atos irão se voltar contra nós. Mas não por castigo, e sim por que não prestamos atencão a tudo; algo fugiu do controle; algo não se compreendeu. Será que deus não ‘tava atrapalhando então? A igreja continua tirando dinheiro e tempo dos fieis, e a ciência devagarinho, passo a passo salvando cada uma das almas…

seu lado?

Changing the default google calendar event length Tuesday, Jan 20 2009 

The default event time for all google calendar is one hour (1 hour), and there is no way to have it configurable. Most of therapist needs 30 minutes event, and for those who uses the google agenda, it is quite bit effort to get it right. There are already several posts asking how to change this time, but till now no response from google team.  So I have creted a very small program to make it easy to have 30 minutes event.

  • Download the executable
  • Execute it. You will notice a new Z icon at your system tray
  • You will notice a new tray icon (Z)
  • Now open the firefox and navigate to your google calendar page
  • Press ALT-Z and type the name of the patient and the the starting time.
    e.g: Albert 13:30

It is a good idea to make a startup shortcut to save even more time ; -)

The script was compiled by AutoHotKey, and its source code can be download here

Iniciando o micro pelo pen-drive Sunday, Jan 18 2009 

(Portuguese only)
Usuários de netbooks ou micros sem floppy contam apenas com seus pen-drives para efetuar backups e manutenção.  Para esses usuários, escrevi um pequeno tutorial de como efetuar a configuração de um pen-drive para iniciar (bootar) suas máquinas.

Baixe os programas necessários e descompacte-os em um diretório qualquer.

Configuring Eclipse to Use With Google App Engine Friday, Nov 14 2008 

Walk-Through

Installing the PyDev plug-in:

  1. Click on menu items:
    Help > Software Updates > Available Software
    (tab) > Add Site
  2. Type:
    http://pydev.sourceforge.net/updates/
  3. Click on [OK button]
  4. Check the PyDev For Eclipse option:
    - + http://pydev.sourceforge.net/updates/
    - – + Pydev

    - – - + [X] PyDev For Eclipse

  5. Click on [Install button] and Wait
  6. Click on [Next button]
  7. Click on “I accept the terms of the license agreement” option
  8. Click on [Finish button] and wait
  9. Click on [YES button] to restart Eclipse

Configuring the python interpreter:

  1. Click on menu items:
    Window > Preferences
  2. Open the nodes:
    - + Pydev
    - – + Interpreter – Python
  3. Click on [New button]
  4. Browse the python.exe application
    Windows default: C:\Python25\python.exe
    Linux default: /opt/bin/python2.5

  5. Click on [OK button] to add the suggested folders to the pythonpath
  6. Click on [Ok Button] to confirm

Creating a GoogleApp project:

  1. Right-Click on Project Explorer
  2. Choose:
    New > Other
  3. Select “PyDev Project” option:
    - + Pydev
    – - + Pydev Project
  4. Click on [Next button]
  5. Type the project name:
    helloworld
  6. Select the python 2.5 as target project type
  7. Click on [Finish button]
  8. adding the GoogleApp Engine libraries
    1. In the PyDev Package Explorer panel
    2. Right Click on your new project
    3. Select the Properties option
    4. Select the PyDev – PYTHONPATH item
    5. Click on [Add source folder button] of the External Source Folders panel
    6. Add each of the following folders:
      Windows default:

      1. C:\Program Files\Google\google_appengine\lib\django
      2. C:\Program Files\Google\google_appengine\lib\webob
      3. C:\Program Files\Google\google_appengine\lib\yaml
      4. C:\Program Files\Google\google_appengine\lib\
      5. C:\Program Files\Google\google_appengine\
    7. Click on [OK button] to confirm

Editing the application sources

  1. In the PyDev Package Explorer panel
  2. Right Click on your project
  3. Select:
    new > file option
  4. In the File name edit box type:
    app.yaml
  5. Click on [Finish button]
  6. In the source editor type the following text:
    application: helloworld
    version: 1
    runtime: python
    api_version: 1
    
    handlers:
    - url: /.*
      script: helloworld.py
  7. In the PyDev Package Explorer panel
  8. Right Click on your project
  9. Select
    new > file option
  10. In the File name edit box type:
    helloworld.py
  11. Click on [Finish button]
  12. In the source editor type the following text:
    print 'Content-Type: text/plain'
    print ''
    print 'Hello, world!'

Running the Application

  1. Click on
    Run > Run Configurations
  2. in the Main Tab:
    1. Select Python Run option and name your new configuration:
      type hello
    2. Click the Project [Browse button]
    3. Select the helloworld project and click [OK button]
    4. On the Main Module text box type:
      C:\Program Files\Google\google_appengine\dev_appserver.py
  3. In the Arguments Tab:
    1. Type the following code into the Program Arguments:
      “${project_loc}”note: any supported dev_appserver.py argument line can be entered. You may for instance type:
      “${project_loc}”
      port=9999
    2. Click on [Apply button]
      1. Click on [Run button]

References

Portable Google Chrome – II Friday, Sep 5 2008 

Plasmid sent me a nice tip that I put here in his own words:
“…if you move ‘chrome.exe’ and ‘Dictionaries’ into the 0.2.149.27 directory, you should
be able to copy the whole lot onto a USB stick and it works without needing the registry keys!”

So no run.bat file or registry entries are needed.

He has created a really portable chrome browser

Thank you Plasmid – Great Job!!!

Marco

Portable Google Chrome Version (9.3Mb) Wednesday, Sep 3 2008 

Google Chrome is really nice, but it does a quite dirty installation… It write several registry entries, does not give you the option to select where you want to install, forces the bookmark importation from the current default browser, etc.

Yes, it is possible to run this brilliant browser in any folder you desire.  No configuration is needed, but also a single language is enabled (American Engligh).

How to install this portable version:

  • Download and uncompress the GoogleChromePortable.zip in any folder you want.
  • Execute the RUN.BAT file (on the windows explorer, open the GoogleChromePortable folder and double-click on it)

That’s all.
Enjoy it

Next Page »