New article – Useful Linux Networking Commands

Small Network Diagram

I think I reached some kind of milestone with this article. I planned this article as never ending work, but for now I think I covered most useful stuff and it is time to unleash the article and bring it to the world. I hope you will find it as useful as I do :-)
The article is here and in quick links menu on your right.

Firefox 3 short review

Firefox Logo

Few month ago I downloaded firefox 3 for the first time. At a time that was beta 1. Now there’s a beta 2 version available. I must say that comparing to beta 1 it is much improved. There are less crashes and I can confirm that some sites that were problematic with beta 1 sites are now much better. Also, finally some extensions start to pop-up. For instance my favorite gmail notifier already available for FF3 and kicking ass :-)

Read the rest of this entry »

New Gallery – Kibbutz Dalia

HPIM0404.jpg

Another gallery. I took these pictures in Kibbutz Dalia in 2003. Awaits you here.

Kibbutz Dalia

I took these pictures in Kibbutz Dalia – one of the most beautiful and peaceful places I’ve seen.

New SlickEdit macros page

SlickEdit Logo

Over the years I wrote and found several macros for my favorite editor for programmers – SlickEdit. I compiled the list of macros and they are now available for your convenience. I hope you’ll find this list useful. Also, in case you have macros that you would like to have posted in this list, please fill free to send them to me. My email is alexander.sandler@gmail.com. The page is right here.

SlickEdit Macros

SlickEdit Logo

Many years ago I started working with an editor named Visual SlickEdit. At a time it was the most advanced editor for software development. Despite years have passed, I believe it is still one of the best editors available for programmers.

Among its advantages is exceptionally powerful macro language. Many people don’t know this but SlickEdit is actually a thousands lines of code written with SlickEdit’s macro language and an interpretor that interprets these lines to create this powerful tool. Hence enormous number of features already built into SlickEdit can be extended into endless number of different abilities.

Over the years I collected number of macros for SlickEdit. Some of them I wrote myself, while others I found on the internet. Each I find exceptionally useful and use on a daily basis. I would like to present these macros, so that you’ll be able to enjoy them as well as I do.

Before I begin this review, I’d like to ask you to send me your favorite macros. I’d love to try them and post them here. In particular, I’m very much interested in macros that increase productivity. You can leave a link to your macros in comments here on this page (I’m moderating comments so I can keep the link hidden if you want) or send them to my email – alexander.sandler@gmail.com. Thank you!

Table of Contents

Highlight parensBACK TO TOC

This pearl is from Slick-C magician, Mr. chrisant. You can often see him posting cool stuff on SlickEdit’s forums. This macro highlights parens. It does a much better job than build into SlickEdit highlighting feature. One image worth a southand words so take a look at the screen-shots below.

You can get it here and on SlickEdit’s forum thread.

Installation is easy. Just load it via Macro->Load Module menu and assign a keyboard shortcut to HighlightParens command.

Remember that pressing the shortcut several times in a row brings different results. Just try it.

Project Toolbar ExtensionBACK TO TOC

This macro is from Slick-C maestro, Mr. Graeme from SlickEdit’s forum.

It adds a bunch of very useful actions to project’s context menu. After installing the macro, when you right-click somewhere in the project toolbar and go into “More” option, inside you’ll find plenty of additional stuff. This includes:

  • You can add a file directly into sub-directory in the project, instead of looking for it with the browser.
  • Explore folder containing file or directory you right-clicked on.
  • Change current directory to one you right-clicked on.
  • Copy into clipboard the name of the directory or a file.

Grab the macro here. You can also download it from appropriate thread on SlickEdit’s forum. It works on SlickEdit 2008 out of the box. If you want to use it with SlickEdit 2007 and SlickEdit 11, open the file in editor, comment definition of SLICK_V13 and uncomment definition of SLICK_V12 or SLICK_V11 respectively.

Installation is easy as a breathe. Load the macro via Macro->Load Module menu and you’re done.

In case you still have some doubts, check out these screen-shots.

OLS – Open Local SymbolBACK TO TOC

This is perhaps that most advanced macro in my collection. Once triggered, it opens a list of symbols available in currently opened file and allows easily search for certain symbol. The catch is with the way you search. You often remember only a word or two out of symbol name. Conventional search methods would be less effective here because you do not remember the full name. What OLS allows you to do is to find a symbol by only a small fraction of its name. It is exceptionally handy when you are used to work with keyboard. In that case you would press a keyboard shortcut to run the macro, type few letters comprised in the symbol name and hit enter to open the symbol. Alternative is to either few trial and errors with regular search or tediously scanning list of symbols for the right one.

Originally I wrote and maintained this macro, until couple of month ago I posted it in SlickEdit’s forum. Then it was immediately picked by hs2 (sorry, don’t know his real name). He rewrote the macro almost completely, fixing few problems and adding tons of new features. He’s still maintaining the macro.

You can download the latest version of the macro formĀ here. You can also download it from a thread on SlickEdit’s web-site, but it requires registration. This version should work with SlickEdit 2007 and SlickEdit 2008. In case you have problems with the macro, you can leave a comment here or drop a note on SlickEdit’s forum.

Installing the macro is simple. You can use Macro->Load Module menu to load the macro. Next assign a keyboard shortcut to ols and you’re done.

And here are some screen-shots.

Open Project FileBACK TO TOC

This is pearl in my collection. This time it allows you to search for and open one of the files in currently active project. Search principle used here is similar to one used in OLS macro above. There are few differences though. It interprets last word of the search pattern as a file name, while first words interpreted as path.

If you are friendly with your keyboard, this will definitely increase your productivity.

Again, latest version is here or here – later requires registration. Problems can be reported on this page or on forum.

Installation is via Load Module menu. Again, this version is for SlickEdit 2007 and SlickEdit 2008.

Comment and Uncomment SelectionBACK TO TOC

Another macro in my collection is comment and uncomment selection. Its origin is unknown. I remember having it for at least several years. It does what it name implies – comments and uncomments selected lines of code. The comments are C++ // type of comments.

You can get it here.

To install it ismply load it via Macro, Load Module menu. After loading it, assign a keyboard shortcut to comment-selection and uncomment-selection.

New gallery is here – Mini Israel

16012008048.jpg

New gallery is available. These are pictures I took in Mini Israel – a wonderful place where there is a miniature replica of all major landmarks in Israel. Enjoy it :-)

Mini Israel

I took these pictures in Mini Israel – a great site with miniature copy of all major Israeli buildings and landmarks. This is perhaps the only place in Israel where you can see what our small country look like as a whole.

I used my n95 cell phone to take the pictures. Hence, the quality is so so. Please accept my apologies.

Moving to production

Things seems to be ready to move to production. Wish me good luck as my new wordpress based site goes online :-D

Still working on a new theme

It’s been almost a month since I started working on a new theme. Things are moving quiet well. The frame is ready. Now it’s time to add menus, special effects for posts, etc. Wish me good luck.