This is a simple Python module that stores highscores in an SQLite database in the same folder as the module. It’s far from watertight so tweak it according to your needs. Read source for examples.

Spotify logo
This is a pretty easy way to automatically rip music from Spotify using AV Voice Changer 6. DO NOT DO THIS, YOU WILL BE IN VIOLATION OF THE SPOTIFY END USER LICENSE AGREEMENT!
What you would need:
Voice Changer is intended to be just that, a voice changer. It can make you sound like a cartoon mosquito or one of those creepy kidnappers from the movies, in real time. But the feature we would want is Voice Changer’s sound recording function which would allow us to record the tunes streamed from Spotify into separate files with the compression method of our choosing.
Start up the Spotify client and log in. Find a couple of tunes you like and put them in a playlist. Check that the music plays ok and without lag. Disconnect your microphone, and make sure there won’t be anything else making sound on your computer. Start up Voice Changer and verify that the audio from Spotify registers in Voice Changer’s volume meter. We don’t want our tunes to sound like smurf songs, so just turn off all the effects by clicking the On/Off button.
Stop the music from playing for a moment and click Voice Changer’s Recorder button. A small window should open up, looking something like this:
Ever wanted to record your Super Mario skills on the Super Nintendo console, without the console? Don’t worry, most of todays computers are powerful enough to pretend being, or emulate, a console machine. Most likely so is your’s. And you’re in luck, Super Nintendo is one of, if not the best, emulated console system there is. All you basically need is an emulator, the piece of software that magically turns your PC into a good ol’ console; and the ROM file of your favorite game. The game ROM’s are in most cases copyrighted, so i can’t nor won’t supply you with those. Make sure you own the game cartridge, or else you might find yourself in violation of copyright laws.
The things you will need:
* At the time of writing, ZSnes has reached version 1.51
Copy your ROM image(s) to any folder. Preferably one that doesn’t require you to click trough too many folders to get to it.
Installing the software is pretty straightforward, just extract the two archives, each into their own folders. It might work having ZSnes and MEncoder in the same folder, but i haven’t tried it. Also, i think that’s a little messy. You are going to add the MEncoder location to window’s PATH environment variable instead, so remember the location where you extracted it. Follow the instructions below as the procedure differs a little depending on what version of Windows you are using.

Edit your Path environment variable
For Windows Vista you can go to the Control panel and click on the System icon, select Advanced System Settings in the left menu and then the “Environment variables” button. Then, in the list under “System Variables”, look for Path (might be lower- or uppercase). When you have found it, edit it and add the location of the folder where the MEncoder executable file is located. Remember to add the semicolon that is needed to separate the various folders listed in the Path string. Click OK, and your done.
(How to set the path in Windows 2000 / Windows XP)
When that’s all done, let’s start up ZSnes and configure it a little. The main things to check out is the Screen Resolution, Filters and Input
Choose your optimal screen preferences under “Video” in the Config menu. I have a widescreen and wanted ZSnes to fill the screen completely, so i made a custom screen setting it to 1360×768 with the DS F option (check the legend for description). Choose the Filter that you feel gives the best result. Configure your Input, and let’s load up a game already! Click GAME in the top menu, and select LOAD. Then browse to the folder where you copied or extracted the ROM file(s), select the game you want to play and click the LOAD button. If the game runs, great! if it doesn’t, seek help! (Read More..)
This is a time lapse video i made using my digital videocamera and Python, taking a picture every 5th second. It is quite boring so i had to add some music, Rob Costlow’s “Not Alone”
This is the Python script i used:
from VideoCapture import Device
from time import sleep
SecondsBetweenFrames = 5
FilePrefix = "bilde_"
DirectoryToStore = "E:\\Basen\\"
Kamera = Device()
FrameNr = 0
while True:
FrameNr = FrameNr + 1
Kamera.saveSnapshot(DirectoryToStore + FilePrefix + str(FrameNr) + '.jpg')
print "Lagret bilde: " + FilePrefix + str(FrameNr) + '.jpg'
sleep(SecondsBetweenFrames)
* You’ll need the VideoCapture and PIL Python extensions
This is the Biblebot Diatheke Tcl Script made by Chris Little. I’ve implemented the changes proposed by him to make it work with The Sword Project’s Diatheke 4. This is not my work, nor do i wish to take any credit. I merely made the changes to the script as instructed by Chris Little, everything else remain unchanged.
Also, i can not provide any support for the script, Sword or Diatheke. I simply post it here on my blog since i found it so hard to come by.
I’m certain there are other, and probably better ways to do this. But this is what worked for me.
Download, extract, upload and install Drupal according to the installation instructions. Then, login to your server, and create a folder for Drupal to use. For example:
mkdir /media/mydisk/drupalfilesystem
Then you need to make that folder writable by the Apache server. I did this by entering the command:
chown -R www-data:www-data /media/mydisk/drupalfilesystem
Now you must login with your administrator account to configure Drupal. Login, and choose:
Administer > Site Configuration > File System
Enter the path to the folder you made in the File system path textfield, in this case we enter:
/media/mydisk/drupalfilesystem
Set the Download method to “Private” and, if all goes well, you are good to go.
So how do you like my wordpress theme? :) It’s not completely finished or debugged, but it works.
My blog now also uses the newest version of Wordpress.
Fant ett meget nyttig lite program i dag. Jeg har bestilt meg parabol og var derfor på jakt etter en enkel måte å holde styr på hva som går på tv om dagene, og fant i min søken TVAnyWhere.
Dette programmet forteller deg hva som vises, og hva som kommer til å vises, på forskjellige tv kanaler. Du velger selv hvilke kanaler du vil at det skal vise. Og det oppdaterer så automatisk listen over hva som går på de kanalene du har valgt. Du har også muligheten til å få TVAnyWhere til å varsle deg noen minutter før det programmet du ønsker å se begynner.
Programmet er helt gratis. Og for deg som er tv slave og har en drøss med kanaler å holde styr på er dette ett must-have program! :)
Du laster ned TVAnyWhere her.
Ble tipset om en liten genistrek av ett program her om dagen. Nemlig Hamachi.
Dette programmet gjør det lekende lett for deg å ha ett nettverk mellom deg og vennene dine, over internett. Som dere kan spille på, dele skrivere, filer, og ellers gjøre så godt som alt som går an å gjøre på ett vanlig LAN. Forbindelsen er kryptert og du kan ha flere nettverk i gang samtidig. Sjekk det ut!!
Du kan beskytte nettverket med passord, slik at bare dem du ønsker kan delta. Du får din egen IP adresse, som bevares over de forskjellige nettverkene. Og programmet er som sagt meget lett å bruke.
“Basic” utgaven som tillater nettverk med opptil 16 brukere, er helt gratis. Og kan lastes ned her.
I was having problems getting php scripts to parse on some virtual hosts i set up on my Apache server. When i entered the address to the script in my browser, all i got was the sour message; “No input file specified“.
I searched long and hard on google for a solution, and finally found one after tedious reading of forums and articles. Now, im not really sure if this is the best way to solve this problem, or even the safest way. But it worked for me.
All i had to do was comment out the DOC_ROOT line in my PHP.INI file.
I haven’t encountered any bad side effects yet, but i take no responsibility for the safety of your server(s) if you decide to apply this solution.
Good luck :)
Lyst til å dekorere en hel vegg hjemme med ett familie bilde, eller skrive ut ett digitalt kunstverk i stort format? Det er mulig med Rasterbator.
Jeg kom over dette programmet da jeg søkte etter steder hvor man kan få sine bilder gjort om til plakater, og testet det ut. Med Rasterbator kan du skrive ut bilder som er mangfoldige kvadratmeter store! Du velger hvilken papirstørrelser du vil benytte, hvor stort bildet skal bli, og størrelsen på punktene som bildet skal bygges opp av. Når det er gjort genereres ett Adobe Acrobat dokument som du kan skrive ut, for så å skjære til og lime sammen arkene slik at det blir ett stort bilde.
Det første du trenger er en pc som du skal benytte til å kjøre serveren på. Denne må ha fast ip på ditt lokalnett, og bør kunne stå på hele tiden. Det trenger aldeles ikke være noe monster av en maskin. Selv kjører jeg min på en 400Mhz Pentium 2, med 256Mb RAM. Det neste du trenger er ett brukbart operativsystem installert på maskinen du skal bruke som server.
En webserver bruker vanligvis port 80, så du må gjøre slik at trafikk på port 80, utenfra, vil bli videresendt til port 80 på den maskinen du har satt opp som server. Dette kalles “Port Forwarding”, og informasjon om hvordan dette gjøres kan du få fra din bredbåndsleverandør,eller fra produsenten av routeren du har.
Så trenger du selve server programvaren. Jeg anbefaler Apache, som kjøres på rundt 70% av serverne på internett. Den er helt gratis og du finner utallige sider på nett via Google som beskriver prosessen med å installere Apache, på et nesten hvilket som helst operativsystem. Dersom du ønsker å kunne kjøre dynamiske sider på din server, må du installere for eksempel PHP, som er ett skript/programmering språk, og MySQL, som er en database du kan bruke til å lagre informasjon i. Denne prosessen finnes det også et utall beskrivelser av på internett. Eller du kan gå for en litt enklere alt-i-ett løsning som XAMPP, som inneholder Apache, PHP, MySQL og Perl.
De fleste bredbåndsleverandører opererer med dynamisk IP for sine kunder. Det finnes løsninger for dette problemet, No-IP er en av dem. Men jeg anbefaler at du tar kontakt med din leverandør og ber om å få tilknyttet en fast IP adresse for ditt abonnement. Ønsker du å ha ett domene, må du kontakte en domene forhandler og få det tilknyttet den IP adressen du har fått fra din bredbåndsleverandør.
Lykke til :)