Polyline/polygon tool for Google Maps

This small tool aids you in getting the coordinates for your polyline or polygon
This small tool aids you in getting the coordinates for your polyline or polygon.

By: Martin Ove

Hi all.

I made a little tool, which can make the process of finding coordinates for polygons and polylines in Google Maps a lot easier and intuitive.

It lets you draw a line with multiple points by just clicking on the map. When you’re done, you just copy-paste the coordinates for further use.

Check it out: martinove.dk/maptools/polytool/ (more…)

Getting started with PHP

Your local server with PHP after just a few minutes.EasyPHP gets you up and running in just a few minutes.

By: Martin Ove

PHP plays a huge role in the internet today, but unlike JavaScript, HTML and the likes, you can’t just try it out by typing a few commands into a text file and opening it with your browser.

PHP has to be installed on a server, a fact that for a long time has kept me from learning the language. Luckily, I discovered EasyPHP, which does all the work for you in a few minutes. (more…)

Pointsystemet – En interaktiv grafik

[tweetmeme]Af: Martin Ove

Udlændingeaftalen med tilhørende pointsystem faldt på plads onsdag d.17 november, og det gav mig en idé til en interaktiv grafik, man kunne lave i den forbindelse.

Jeg har indsat en rå udgave nedenunder, og i første omgang er du meget velkommen til at se, om du kan samle nok point sammen. Senere skal jeg nok få skrevet om koden bagved. Det bliver engang i næste uge.

Jeg vil gøre opmærksom på, at indlægget her ikke handler om politik, overhovedet. Det handler om at bruge nettets muligheder, når det kommer til dynamiske hjemmesider. Så skulle det være på plads.

Kommentarer og spørgsmål er hjertelig velkomne.

Siden vises i øvrigt bedst i Firefox.

Opdatering 18. nov. 2010 kl. 19:53: Jeg er ikke den eneste, som har udgivet en pointberegner. TV2 har også en pointberegner, det er dog et Excel-ark, man skal downloade.


Vælg alder:
Jeg er 24 år eller derover. Krav: 60 point.
Jeg er under 24 år. Krav: 120 point.

1. Færdiggjort uddannelse:
120 POINT: Ph.d./kandidatuddannelse i Danmark eller top 20 universitet.
80 POINT: Ph.d./kandidatuddannelser andre universiteter i udlandet.
70 POINT: Bacheloruddannelser i Danmark eller top 20 universitet.
50 POINT: Bacheloruddannelser andre universiteter i udlandet.
50 POINT: Erhvervsakademi- og professionsbacheloruddannelser i Danmark.
40 POINT: Erhvervsakademi- og professionsbacheloruddannelser i udlandet.
2. Erhvervserfaring:
80 POINT: Kvalificeret erhvervserfaring (positivliste-job) i 2 år i Danmark.
60 POINT: Kvalificeret erhvervserfaring (positivliste-job) i 2,5 år ud af de seneste 3 år i udlandet.
40 POINT: Anden erhvervserfaring i 2,5 år ud af de seneste 3 år i udlandet.
3. Sproglige kvalifikationer:´
50 POINT: Dansk, svensk og norsk på niveau svarende til studieprøven (C 1).
40 POINT: Engelsk, tysk, fransk, spansk på niveau svarende til studieprøven (C 1)
4. Øvrige:
20 POINT: Dansk på niveau svarende til Prøve i Dansk 2 (B1-B2)
20 POINT: Engelsk, tysk, fransk, spansk på niveau svarende til Prøve i Dansk 2 (B1-B2).
20 POINT: Hvis ansøger ikke bosætter sig i et udsat boligområde.
10 POINT: Aktiv deltagelse i globale humanitære organisationer.
10 POINT: Selvforsørgelse (kan ikke kombineres med erhvervsarbejde).

Tablet anno 2008

[tweetmeme]I shot this picture back in june 2008 and today I was reminded of it. The screen shows the N810 Internet Tablet with a bluetooth keyboard running Google Docs and saying “Who needs a laptop?” in danish. (Photo: Martin Ove Christensen)

By: Martin Ove

Today I saw the Galaxy Tab on the website of a danish retailer. The fourth picture shows the Galaxy Tab with a physical keyboard, and it reminded me of a picture I took, when I got my N810 years ago.

The N810 was the third “Internet Tablet” from Nokia and also the last(yet), if you don’t count in the WiMax edition. Later on, the N900 took over and carried on with the Maemo OS.

The N810 features a 4.13″ 800×480 pixel display and qwerty keyboard. It’s a bit slow in todays standard, but still very usable.

Anyways, I just wanted to share this little moment of gadget evolution. Oh, check out the header-picture btw, it’s the same one.

Thanks for reading.

Getting started with JavaScript – Online tutorials

[tweetmeme]If you want to learn JavaScript, these two sites will make your life easier.

By: Martin Ove

Learning new stuff is a lot easier, when you have access to good and inspiring materials to aid you on the way.

I wanna share two sites with you, that have taught me the JavaScript I know. If your seeking a step-by-step incremental tutorial on how start using JavaScript, this is it. (more…)

I found a way

So, Front Page Category didn’t cut it for me. It was to “exclusive”, so to say.

The plugin did exclude the category “Blog” from the frontpage, but it also made it impossible for the category posts widget to display posts from the category. That wasn’t good, cause I do want the blog to be more visible than it would with only the tab in the navigation bar.

I found the plugin Simply Exclude instead. It’s actually a bit confusing to use, but once I got my head around it, it does what I want it to. I’ll recommend it for sure. It seems to allow for some good fine tuning.

First “blog” post on this site

I wanted to have a blog on this site beside the more in-depth “How-to” stuff.

I had to figure out how to keep the blog posts away from the frontpage, as I wouldn’t like for the small ramblings to take attention away from the heavier posts.

Anyways, I might have found the answer in the plugin called Front Page Category. I simply allows you to check off the categories, that you want to appear on the frontpage.

I would like for the small blog posts to appear in a widget in the sidebar, and for that, I need to create a category which holds a least one posts. That’s the one you’re looking at right now.

Webscraping with Python – Getting started

[tweetmeme]If you have no idea on how to start scraping the web with Python, then read on. The first small step is simpler than I thought it would be.

By: Martin Ove

This post will teach you how to fetch the HTML of a website using Python in windows. This is as far as I have gotten at this time, and even though it isn’t really useful yet, I guess it’s the first step towards webscraping with Python.

First of all you need to get Python on your computer. (more…)

Getting started with Python – Free ebook

A small screenshot of the Python prompt and the familiar logo pulled from Wikimedia Commons.

By: Martin Ove

[tweetmeme]A few days ago it was announced, that there’s gonna be held courses in programming for journalist in Denmark next year. Check out the blogpost from the guys behind it (in danish).

They are gonna to make web-scrapers with the programming language Python, and it got me fired up on refreshing my (puny) Python skills.

Facebook Like Box – A closer look at the code

Click the buttons to highlight parts of the code.[tweetmeme]

By:Martin Ove

[Update 22.10.2010: Id-number is no longer used by Facebook. It has been replaced by url. Read more here]

The code behind the Facebook Like Box is easy to modify manually without having to go back the Facebook site.

Here’s a rundown of “what does what” in the iframe code: (more…)