Aug 22
Kompromiss
admin, 22. August 2010

Also, wenn man im Schlaraffenland lebt, dann kann man sich sicher sein, dass wenn man sich für ein Gericht entscheidet, und diesem treu bleibt, dass das irgendwie das ganze Schlaraffenland-Konzept zunichte macht.

Traurige Einsicht hier muss ich sagen.

img_3801

my baby, baby, baby nooo
i thought youd always be mine mine

Aug 1

you all have seen the oil spill pictures from usa:

  • beautiful long beaches, and if you look closely or zoom in, you might notice a slight change towards darkblueish or blackish on the coastline.
  • a couple of birds covered in oil, about to die
  • green BP logos, with a stylish black or brownish dark blue ambiance painted into it

now compare this with the fotos that are published about the china oil spill:

Interesting, isn’t it? Both disasters - by their nature - should look quite the same (only the one in the gulf of mexiko is much larger). But the one in america is presented like disneyland on tv, while the one in China really looks like a severe disaster.

Apr 30

For the ruby on rails plugin / gem, tabs_on_rails, the active tab is usually i span, but i needed it to be a clickable link, and for that i needed a class to show the user that this tab is open.

without further ado, and since there don’t seem to be updates on tabs_on_rails, i installed the plugin (instead of the gem, which wasn’t working anyways) and wrenched tabs_builder.rb to look like this:

      def tab_for(tab, name, options)
        linkclass = current_tab?(tab) ? "currenttab" : nil
        @context.content_tag(:li, @context.link_to(name, options), :class => linkclass)
 
        #content = @context.link_to_unless(current_tab?(tab), name, options) do
        #  @context.content_tag(:span, name)
        #end
        #@context.content_tag(:li, content)
      end

works like a charm :-P

Apr 21
Wordpress Blank Page Problem
admin, 21. April 2010

Quite annoyingly, after saving a page, and sometimes, sometimes not, the page turned empty. White. Blank.

After much research and ado (hours!!) I found out that I had a blank line in functions.php at the end, after the ?>

After removing the blank line everything worked again.

I’m not a PHP guy, just using wordpress. I think that’s a major fuckup. But anyways. Delete the blank line after the last ?> and everything should be just fine.

Apr 9
Fact or Myth?
admin, 9. April 2010

In China it’s only possible to buy ballpoints in pairs of two, because chinese people are so used to chopsticks. Fact or Myth?

Ballpoints two china chopsticks

« Previous Entries