BenV's notes

Archive for 2010

Flashblock for opera

by on May.23, 2010, under Software

Another note in case I forget.
Since allowing flash by default slows browsing (and my PC) to a crawl, this nifty little script converts all flash content on a page to a flash icon.
Download it, stash it in your opera UserJS dir. (See Preferences -> Advanced -> Content -> Javascript Options -> User JavaScript Folder). (continue reading…)

Leave a Comment :, , , , more...

The Humble Indie Bundle

by on May.05, 2010, under Software

Hej folks.

The guys over at Wolfire Games have a sweet deal this week if you’re into fun cross platform indy games.
It’s simple: you go over to the Humble Bundle, determine how much you would like to pay for a bundle of DRM free, cross platform (Linux, Mac OSX and Windows) games and on top of that you also get to say who gets how much of the money (the developers, EFF or Child’s Play).
Isn’t that sweet?

The games are good too, we’re talking about World of Goo, Aquaria, Gish, Lugaru HD, and Penumbra.

So go over to the Humble Bundle and get yourself a copy while paying them what you think it’s worth!
I did 🙂

Leave a Comment :, , , more... lives again!

by on Apr.10, 2010, under Software

When nectarine died a few years ago (or at least, that’s how I view it) with their broken harddisks, lost backups and whatnot, I gave up on the tool me and a friend of mine had written.
However, a few months ago I got back into listening to the new who got everything back up and running based on recovered data from the old Nectarine.
It seems like they did a proper job of setting up a new site, and they even provide a nice xml backend for tools like this.

So after a while I decided to revive our tool. This time I took the time to curse even more at Irssi and their script support, so I implemented the nonblocking fetcher and nectarine parser
in separate libraries. Well, isn’t that fun. Reloading those things was a problem (/script load necta wouldn’t reload those underlying libraries), but fortunately Garion helped me out here after a mail to the Irssi mailing list. Thanks Garion!

Anyway, I’ve put the first release up for download on this page:

Or a direct link to the download:
[Download not found]

Let the bug report begin 😉

Leave a Comment :, , more...

Vim tricks with multiple cut/paste buffers

by on Mar.27, 2010, under Software

Ever find yourself in vi(m) with a piece of code that needs some editing, but to preserve your paste buffer you keep limping around first deleting the first part and pasting it through the file, and later doing it again but now for the second block of code?
Let’s use an example. Imagine this very simple piece of html:

Register example on some html text

Some text

Some more text

Je moeder is een texthoer

Now imagine we want to make it a bit more fancy, and want to add a hyperlink to a dictionary or something for all occurrences of the word ‘text’. Since we’re lazy, we only want to type the code for the link once.

Step by step:

  • Add the link code on the first occurrence of the link, you’ll have to type it once anyway 😉
  • We are going to use register ‘a’ for the first part of the link, the a href=”blabla” part. The end we put in buffer ‘e’. To yank the first bit into buffer a, yank as you always would, but start off by typing “a. So the total command could look like “ay/< to yank right from where your cursor is to the start of the next tag.
  • Next, to make things fancy, we do the same with the end tag, except we yank to register b by using something like “b/< to yank.
  • To make sure you yanked the correct stuff, type :reg to see the contents of your registers.
  • Now paste the appropiate register at the right spots by using “ap and “bp. Isn’t that great? 😉

    So summarized:

    Show your what’s in vims buffers / registers:


    Delete a line into buffer ‘a’:


    Paste buffer q:


    Some more advanced tricks:

    Add something to a buffer by using the capitalized register name. :


    Editing register a manually:

    :let @a = "this text is now the new buffer content. Hihi."

    Search and destroy using a regexp to replace stuff with the contents of your register:

    :%s/je moeder/\=@a/g

    Have fun 🙂

Leave a Comment : more...

Windows Default Tools installation – Ninite

by on Mar.10, 2010, under Software

Windows and Ninite

So after the Adobe Cancer experience yesterday I still had to install a bunch of other things for the helpless windows user.
After I was done with most of that (of course, the good stuff always comes too late) I ran into this tool: Ninite.
They call it “The easiest way to get apps”. Well, from the screenshots it certainly looks that way. No cruft like toolbars and updaters and junk installed, just the application. (continue reading…)

Leave a Comment :, , , , more...

The Adobe Cancer

by on Mar.09, 2010, under Morons, Software

They’ve managed to piss me off once more.
I had to do a windows reinstall (XP of course) for some idiots that fubar-ed their machine, so after the usual install, 5 million windows updates, service packs, reboots and firefox install I figured I should probably install flash for them.
How hard can it be to install Adobe Flash? (continue reading…)

2 Comments :, , more...

Bye bye Ubisoft

by on Feb.18, 2010, under Morons, Software

How incredibly stupid can they possibly get… like a dumb user that keeps running virus infected “naked hot girls!!!” screensavers, they keep adding DRM.
And now we’ve reached the point where they expect you to stay connected constantly to play a single player game.
Aahahahaha. Bye bye Ubisoft, may the pirates laugh at you and dance on your grave.
Alas for Settlers 7.. could have been an interesting game.

However, I expect them to revert their plans when enough badmouthing hits the news and make them “only” half as bad as they currently are.
We’ll see.

Leave a Comment :, , more...


by on Feb.13, 2010, under Software

So every once in a while you have to mess around a bit with new stuff. Window managers for example.
I’m quite happy with Fluxbox (been using it since I started with linux), but it’s nice to see something new once in a while. Especially since development on Fluxbox is kind of …. dead. Well, not completely, but there’s just not much to be added without totally changing the thing.
My brother mentioned Awesome a few weeks ago, and during HAR last year it was also mentioned as something that I might like.
Which means it’s time to check it out! 🙂 (continue reading…)

Leave a Comment :, , more...

CMake issues

by on Feb.13, 2010, under Morons, Software

I can’t for the life of me begin to imagine why anyone would use cmake as an autoconf alternative. (continue reading…)

Leave a Comment :, more...

Google Gears 64 bits for Firefox 3.6 (64 bits) on Slackware 64

by on Jan.28, 2010, under Software

Yesterday Slackware64-current gave me Firefox 3.6. So far I’m happy to note that this broke more than half my addons, but that’s to be expected with that addon-hell.
Wonder when they clean up that act and start including required stuff like firebug. Anyway, a while ago I built google gears for firefox 3.5. Since Google is too incompetent to provide a 64 bit linux version, you have to do it yourself, which I did. However, with the Firefox 3.6 upgrade this addon also broke. (continue reading…)

Leave a Comment :, , , more...


  • 2018 (1)
  • 2016 (1)
  • 2015 (7)
  • 2014 (4)
  • 2013 (11)
  • 2012 (27)
  • 2011 (26)
  • 2010 (25)
  • 2009 (68)