Firefox 4, ready for the RC, sir!

March 4th, 2011 2 comments

The wait for the release of Firefox 4 is coming to an end after the last beta build. In the past hours, the last blocker (issues that need to be fixed before the release), related with the system requirements page has been fixed. So now we are ready for the first Firefox 4 Release Candidate build, yay!

firefox 4, 0 blockers

Here, have a nice shot from canweshipyet.com

 

Firefoxers TR, a Firefox fan group in Istanbul, has celebrated the removal of the last blocker at the Taksim Square. The Firefox mascot has drawn big attention from the people around.

Like Mozilla’s Mike Beltzner stated previously, the developer tree is now closed as all bugs are fixed now. The team will release the first RC build, if the bug count stays at zero in the following triage session. We will likely see the first RC in the coming week.

Categories: Internet Tags: , , ,

Norton AV: Torturing my soul with unstoppable subscription renewal nags!

February 3rd, 2011 No comments

Yay! After LONG years, I’m a Norton AV user once again! It came preloaded on my laptop. The primary reason I ran away from NAV all these years was its high capability of bringing a system down to its knees, however this time I saw advertises about the performance improvements and how it was using less resources than other products on the market. So rather than directly removing it, I decided to give it another shot. Read more…

SyntaxHighlighter mod for xhtml, css and blogger support.

July 13th, 2008 4 comments

Update :

New version of the mod is available under the name ‘gembox’. It supports xhtml, doesn’t require manually including brush files, and can be run within the header. You can get it from :

http://onursafak.com/projects/gembox/

More description about the usage will be available soon.

The post below is kept for historical purpose


Anybody remember the revolution of the 16 color computer displays?

SyntaxHighlighter by Alex Gorbatchev is a well written client side syntax highlighter which uses javascript to colorize output from different languages on web pages, using customizable brush files for language definitions. I’ve found it’s a good alternative for my needs and switched to it. Now it’s used by Byte Hell for colorized outputs.

Before this I made a little modification on the code for some features which are asked by current users of this nice tool.

For people already know about SyntaxHighlighter :

With the modification HighlightAll function gets the same parameters. It now checks for the ‘class’ attributes of the tags to highlight. This way it supports xhtml and blogger.com, keeps the name attributes available, and allows space seperated multiple styles in the class attribute, giving us the chance to attach custom styles to containers.

With the new syntax, the tags should be formed as below :

<pre class="hl:sql">......</pre>

Like before, options can be added to the class tag like: ‘hl:sql:collapse’, where ‘hl’ is the name which is passed to the ‘HighlightAll’ command, and ‘sql’ is the language alias.

The xhtml mod can be found at :

http://www.onursafak.com/tools/shx/shCore.js

You can download the package from it’s homepage and just replace this file.

Have a colorful day.

Hide email links from spam bots – works with blogger.

July 7th, 2008 No comments

Most of us are aware of spam bots, which scan the web and other media for email addresses to send unsolicited emails. So we avoid putting direct email addresses on the web.

Thinking about hiding, a few options come to mind. We can ;

  • Type it like ‘darkwingduck -at- superhero.com’, giving the reader an idea about the real address ‘darkwingduck@superhero.com’
  • Use an image for the ‘@’ character in html.
  • Use a contact form instead of giving an email address.
  • Use a script to build the address on the fly, which won’t appear in the source files.

I’ve choosen the last option for my blog pages. I usually use a single command javascript to build the address, like ;

<script language='javascript'>
  document.write('foo' + '@' + 'bar.org');
</script>

This prints the address to the page on the fly. However this doesn’t work in blogger somehow. So I’ve written a little script which will build the address after the page is completely loaded. This will work on nearly any web page including the blogger.

It can be placed anywhere on the page, so we don’t have to mess with the template html, and simply put it on the layout using an html widget.

Before saving it, we need to change the ‘user’ and the ‘domain.com’ fields in the script to match our address. Then we can write our email address anywhere on the page, including html tags like ‘mailto:’ links, using the syntax :

!myemail!

This will get replaced by the script to match our email address. Here is an example :

Please write me at
<a href="mailto:!myemail!">!myemail!</a>

The script supports multiple email addresses and has an option for better performance. To make it perform better, you may wrap the area including emails with a span tag. Like :

<span id='myemailwrapper'>
    Please write me at
    <a href="mailto:!myemail!">!myemail!</a>
</span>

Note that if you only want to use your address in a link and not show it on the page, then you can just use :

<a href="#" onClick="SendMail('john','mywebsite.com');">
 Write me!
</a>

Here is the script :

function SendMail(User,Domain) {
 parent.location="mailto:" + User + "@" + Domain;
}

function RevealEmails() {
 DoReplace('user','domain.com','myemail');
}

function DoReplace(MailBox, MailDom, FieldName) {
 const TrySpan = true;
 var RootItem;
 if (TrySpan) RootItem = document.getElementById(FieldName + "wrapper");
 if (!RootItem) RootItem = document.body;
 RootItem.innerHTML = RootItem.innerHTML.replace(eval("/!" + FieldName + "!/gi"),MailBox + "@" + MailDom);
}

if (window.addEventListener) window.addEventListener("load", RevealEmails, false);
else if (window.attachEvent) window.attachEvent("onload", RevealEmails);
else {
 if (window.onload != null) {
  var oldOnload = window.onload;
  window.onload = function ( e ) {
   oldOnload( e );
   RevealEmails();
  }
 }
 else window.onload = RevealEmails;
}

Ouch

July 1st, 2008 4 comments

I would NEVER do that. I like my face.

Categories: Uncategorized Tags: , , , ,

How to hide the Site Meter button?

July 1st, 2008 1 comment

Most web authors use hit counters / site statistics services to watch their site traffic. Most of the free services add a button or a banner to the pages they have been attached on. You may be using such a service and need to remove the image because of design considerations.

For Site Meter (www.sitemeter.com) you can wrap the given html code as follows :

<div style=“visibility:hidden;”>
-your sitemeter code-
</div>

And just bookmark the entrance page to easily jump there.

Anyway I recommend you give them some credits in your design to better support them, or perhaps keep it as is if it’s not really needed.

New Yahoo Mail domains

June 30th, 2008 No comments

A few days too late, Yahoo Mail now offers two new public email domains; “rocketmail.com” with some flavour of nostalgia, which was the former address of the service before it was acquired by Yahoo, and “ymail.com”.

I checked it out but was a few days too late to catch a few very short names (a 4 letters name is a disadvantage this time), just found one for a friend.

So if you are looking for a neat free email address, your chances are still very good, jump in !

They also support moving your current e-mail address to a new one. Here is the entry from the Yahoo Mail blog.

Farewell XM, Hail AOL Radio!

June 29th, 2008 No comments

One late note for people who have enjoyed listening to AOL radio (formerly known as Spinner and Netradio) on their winamps in the past, which presented a high number of well categorized stations, but then instantly replaced with free XM demo stations. XM had some good stations but they’ve cropped the list day by day to a few, as it was just a demo to their pay service. Some of you may have stopped using the service or switched to Shoutcast radio after XM.

Now XM’s agreement is over and they’ve decided to stop using winamp to demonstrate their service. Some people was unhappy with this since it was their only chance to listen to XM in the European countries. But the great news is AOL is back on Winamp with their good quality stations. That made me happy, giving me a lot of choices from the rock, electronic and the jazz stations, along with the others.

So in case you are one of those who’ve stopped checking the service for updates, check it out, blow the dust off of your winamp, and of your ears!

Just wanted to inform others after having a good feast of music (power metal this time).

Ida Pro textbox bug

June 29th, 2008 No comments

On Ida Pro disassembler, there is a bug which makes it painful to edit a text in a textbox. When you want to change a part of the text, you select the part as usual, then with a keypress all text gets replaced with an MRU entry beginning with the entered letter. So you need to avoid selecting text parts and use -del- key instead.

Sometimes I can’t see how some wide spread, well recognized software can have some very simple and obvious implementation errors or bugs like this. And there are worse others…

No doubt Ida Pro is the best disassembler today, but it also has one of the worst interface designs I know of.

Hello World !

June 29th, 2008 No comments

Finally I created a web log.

I was organizing my email accounts under Google and thought having a web log, just in case wouldn’t hurt. I don’t think this thing will be used much as I don’t have much spare time, but from time to time I may post some quick tips which may save the day for people who search for some info on the web. I know a few situations saved mine…

Categories: Uncategorized Tags: