What happened?

December 6th, 2010 § 0 comments § permalink

Dataloss makes me bored, not anymore.

That would be the six words version of the story. I had problems with my host and didn’t have the latest backup of the blog, but I discovered it only after putting everything back online on another host. Other than that there was to fix all the 3rd domain names, upload images and build again a theme: it pissed me off for a while.

I left the blog online as a zombie, there are few posts left and I plan to leave them there. I’m starting to polish the blog starting with the theme and going to post some interesting stuff in the near future, this could be a fresh1 start.

Let’s see if any old feed reader pops out to say hello!

  1. Let’s say almost fresh. Did you see? I installed WP-Footnotes too. []

Google Chrome and proxies

November 11th, 2008 § 0 comments § permalink

I’m paranoid. I don’t want my family be able to use Internet Explorer, at least not from my computer! To be sure they don’t I did one simple thing: set up internet explorer proxy to :^D

Unfortunately Chrome won’t work, just like IE, this is because of Chrome and IE share the same proxy configuration. That’s not so good for me, because I like to surf with firefox AND chrome (most of times to see differences between them). My question was simple: how can I set up a different proxy (none in this case) for Chrome and IE?

Chrome accept proxy settings as command line parameters, so you can change the shortcut from something like "C:\Documents and Settings\usr\Local Data\Application Data\Google\Chrome\Application\chrome.exe"

to: "C:\Documents and Settings\usr\Local Data\Application Data\Google\Chrome\Application\chrome.exe" -proxy-server=

that means “do not use proxy at all” :^D

WordPress code highlighter, the choosen one

July 9th, 2008 § 0 comments § permalink

I’m going to write about programming in next posts, that’s means I need a way to show some code here and there. My posts need a code highlighter to be clear :^)

I googled for a while to find a decent code highlighter. I found several code highlighters, some do it on the fly in JavaScript, some others do it server side, and some one let Google do it :^D. I’ve found a comparison too.

Well, I installed all of these, tried them and finally WP-syntax wins! Why?

  • It’s server-side, if you do not trust me or my site who cares? you will see highlighted code anyway ;^)
  • Supports a painless copy & paste,  when you copy from most of the other highlighters and paste in a simple text editor the code comes with more \n and # than what the author wrote… and maybe with line numbers too!
  • Supports line numbers, and the coolest part is that you can start from the line you want, it could be very useful!
  • And last but not least: I like it :^D, i’ll maybe fix the css to fit with the theme when I’ll end it (that’s cool but I want one written by me :^)

The only very bad thing is that the switching from HTML visual and WYSIWYG visual is very painful, I hope they’ll improve that!

Anyway here is the proof :^)

def fooer(count=200,start=2): # a decent foo should have at least 2 'o'
    for i in xrange(start, start+count):
        yield 'f' + 'o'*i
def allfoo():
    ppl = ('I','You','He','She','It','We','You','They')
    ippl = iter(ppl)
    for s in fooer(len(ppl)):
        i = ippl.next()
        if i in ('He','She','It'):
            s += 'es'
        print i,s

That’s, actually, the proof of how you can code very useless things but they are highlighted pretty well anyway :^D

return ‘Bye’