a brief about me

My avatar
Fabio Zendhi Nagao

is an applied mathematician from IME - USP - Brazil currently working as CTO at Lojcomm Internet, a company specialized in e-commerce. + info

fields of interest: E-commerce, Collective Intelligence, Interoperability, Web 2.0, Web Design, Mathematical Programming, Pattern Recognition.

contacts: Twitter and nagaozen @hotmail.com, @gmail.com and @yahoo.com

out of date goodies

In order to help the large amount of people looking for my old widgets everyday, I'm putting below a list of the most wanted. Note that the others are still accessible at http://zendold.lojcomm.com.br/.

support my projects

If you like my free products and want to support their advancement, please consider making a small (or large!) donation or buying me a book from my Amazon wishlish.

Category : Application

Feb 1st

Installing gedit with autocomplete 0.11.0 in windows 7

Filed Under: Application, GEdit, Python, Windows

UPDATE: Czech version available kindly translated by Valeria Aleksandrova. Thank you.

Many developers that use the GNOME desktop environment already know how powerful, yet lightweight, it's official text editor gedit is. Unlike Windows notepad, GNOME gedit comes with a lot of little customizable options and a very flexible plugins system which really makes the programmers day by day a lot better.

But what most of the users don't know is that both Mac and Windows can run gedit using the packages made by it's own core developers. This means that no matter what OS you are running, you have in gedit a good choice of text editor to work with.

What is gedit

According to the project page:

gedit is the official text editor of the GNOME desktop environment.

While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. Currently it features:

  • Full support for internationalized text (UTF-8)
  • Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others)
  • Undo/Redo
  • Editing files from remote locations
  • File reverting
  • Print and print preview support
  • Clipboard support (cut/copy/paste)
  • Search and replace
  • Go to specific line
  • Auto indentation
  • Text wrapping
  • Line numbers
  • Right margin
  • Current line highlighting
  • Bracket matching
  • Backup files
  • Configurable fonts and colors
  • A complete online user manual

gedit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself.

The following table lists the plugins distributed with the gedit package:

  • Change case: Changes the case of the selected text.
  • Document statistics: Counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a Document Statistics dialog.
  • External tools: Run external programs and displays the resulting output.
  • File browser pane: Browse and open files directly from the gedit side pane.
  • Indent lines: Indents the selected lines, or removes the indentation from the selected lines.
  • Insert date/time: Inserts the current date and time into a file.
  • Snippets: Expands customizable macros to commonly used code blocks.
  • Sort: Sorts the selected text.
  • Spell checker: Checks the spelling in the selected text. You can configure gedit to check the spelling automatically, or you can check the spelling manually, in the specified language.
  • Tag list: Displays in the sidepane a list of common tags to insert into a file.
  • User name: Inserts the name of the current user into the file.

But the windows package also includes the official gedit-plugins:

  • Session Saver: Save and restore your working sessions
  • Smart Spaces: Forget you're not using tabulations.
  • Embedded Terminal: Embed a terminal in the bottom pane.
  • Code comment: Comment out or uncomment a selected block of code.
  • Bracket Completion: Automatically adds closing brackets.
  • Show/Hide Tabbar: Add a menu entry to show/hide the tabbar.
  • Color Picker: Pick a color from a dialog and insert its hexadecimal representation.
  • Draw Spaces: Draw Spaces and Tabs
  • Join/Split Lines: Join several lines or split long ones
  • Character Map: Insert special characters just by clicking on them.

Ok, that said, I'm going to write this small guide below:

How to install gedit with autocomplete for Windows 7

  1. Download: gedit for windows, ActiveState Python x86 and gedit-plugin-autocomplete
  2. Install both gedit and ActiveState Python.
  3. Because autocomplete plugin requires a json interpreter and the python which comes with gedit doesn't features the json package, we need to copy the json package from the activestate install to the gedit install. In a command prompt, type:
    Copy C:\Python27\Lib\json "C:\Program Files (x86)\gedit\bin\Lib\".
  4. Extract the gedit-plugin-autocomplete
  5. Move autocomplete folder and autocomplete.gedit-plugin file to C:\Program Files (x86)\gedit\lib\gedit-2\plugins\
  6. Open gedit, go Edit > Preferences and click Plugins tab.
  7. Check everything XD
  8. Plugins should be alright, but you can also modify additional stuff in the other tabs (View, Editor and Font & Colors)


To check if the autocomplete is running, create a new document, set the language to ASP and type:

dim Parser : set Parser = new Markdown
Response.write( Parser. )

Now, set the prompt at the end of the word Parser., erase the dot and type it again. A pop-up with the following contents should appear:


That's it, enjoy!

Read More. 7 comments.

May 29nd

Projects are now on GitHub

Filed Under: Application, AXE, Framework, GEdit, Miscellaneous, Optimization, Plugins

github/nagaozen screenshot

Better late than never! From now on, all my recent open-source contributions will be available at my github.com account. The current projects are:

  • ASP Xtreme Evolution (my ASP framework)
  • Exuberant-ctags (updates to make it's ASP parsing better)
  • Gedit-* (a lot of good things for gedit)
  • GTKSourceView-2.0 (updates to add/enhance language.specs)
  • jquery-vs-mootools (this one is an interesting article I translated)

Although this blog isn't being informative and updated as I think it should be, I'm currently very active and developing a lot of things but not writing much about it. Watching my git account will help you to keep the track of the latest updates in my software development. Enjoy!

Read More. 1 comment.

May 11th

Tidy and GeSHi WebServices for the mankind

Filed Under: Application, ASP, Javascript, Optimization, PHP, Services

"Tidy and GeSHi webservices"


Sometime ago I spent a good amount of time playing with Wez Furlong PHPScript to merge PHP functionalities directly into ASP pages. Although it really can be done, I couldn't feel comfortable enough with the stability of the final application. In fact, the merge between PHP and other ASP languages (VBScript, Javascript, Ruby, Perl and Python) in the same script caused the application to work only in odd requests and not in even ones. Plus it was triggering processing errors in the server. This is incredibly strange and clearly shows that the Active Script port of PHP is flawed. It works fine for .wsc and other command lines things but not plays well with ASP.

Since PHP has a huge community which create really good things, it's interesting to get the benefits of their work in other environments that doesn't run the language. Two notable examples of the good things available in PHP are GeSHi, an incredible code highlighting extension that currently work with over than 130 languages, and Tidy, a nice extension to wrap and indent your XML and HTML. As we can't live without them, I've built the webservices for them both.

Read More. No comments made.

May 10th

Geek Hero Comic at iGoogle

Filed Under: Application, Desktop, Design, Miscellaneous, Plugins

GeekHeroComic in iGoogle

Today's geekherocomic.com strip came with an interesting news. It's Salvatore Iovene birthday! And the post was about the book his fiancée built with the last entire year strips archive. I really like this guy work, it's a funny part of my day and to celebrate this special occasion I created a gadget to all GeekHeroComic readers to monitor the latest strip directly from iGoogle homepage.

You can add it using: "Add to Google"

Happy birthday @siovene! Keep doing this amazing work!

Read More. 1 comment.

Apr 12th

Quick Highlight Mode gedit plugin

Filed Under: Application, GEdit, Plugins, Python, Ubuntu

Quick Highlight Mode - Screenshot

This plugin provides a faster and easier way to select the current document highlighting mode in gedit. Just press Ctrl+Shift+H, type the language and press Enter.

It's written in Python, so you don't have to compile anything or get any binary. The source is there for inspection and installation.

Read More. No comments made.

Jul 15th

Textmate theme to Notepad++ styler

Filed Under: Application, ASP, Framework, Notepad++, Optimization, Server, Services

Everybody knows that when I’m at Windows my favorite editor is Notepad++. It’s an opensource source code ( opensource source code – I liked it! ) editor which supports serveral programming languages and has a bunch of interesting features like:

  • Auto-completion
  • Snippets
  • Multi-Document
  • Multi-View
  • Regular Expression Search/Replace
  • Plugins interface

Although it also support customized Syntax Highlighting there aren’t too many options available… But this ends today…

Read More. 10 comments.

Jun 10th

ASP Xtreme Evolution has been updated!

Filed Under: Application, ASP, AXE, Framework, Optimization, Server, VBScript

After some months working, finding and fixing bugs in the earlier version of ASP Xtreme Evolution, I’m proud to release the version This is a very stable version. It comes with snippets to increase the productiveness and has some minor changes to help you to organize the code. I suggest those using the v. to upgrade as soon as possible. If you can’t upgrade, check the CHANGES in the Read More to fix your old version against the critical issues.

Read More. 8 comments.

May 16th

Tutorial: Starting with ASP Xtreme Evolution

Filed Under: Application, ASP, AXE, Framework, Mootools, Server, VBScript

One week ago Digitarald released the version 2.0 beta 4 of his very good FancyUpload component. Unfortunately I’ve noticed that many ASP and ASP.NET users were falling in trouble to implement it. In this tutorial I’ll try to cover the key things to get it working. I’ll be also using this guide to introduce new comers to ASP Xtreme Evolution development process.

Read More. 12 comments.

Jan 26nd

Meet ASP Xtreme Evolution

Filed Under: Application, ASP, AXE, Framework, IIS, Optimization, Standards, Server

ASP Xtreme Evolution

ASP Xtreme Evolution

This is a Classic ASP MVC URL-Friendly Framework based in some of the current best pratices like:

It also provides support for missing features that is commonly required:

  • Image manipulation
  • JSON support
  • Upload management
  • Zip management

Read More. 1 comment.