I’ve been banging my head the last day or so with a single failing PHPUnit test in a Laravel project I’m working on. Been able…
I’ve been banging my head the last day or so with a single failing PHPUnit test in a Laravel project I’m working on. Been able…
I use VirtualBox for testing a couple of web applications. But I found myself using the same image for two different projects, but switching the…
A few months ago I bought an Epson DS-510 scanner to try and keep up with the ever growing mound of paper that you deal with.…
Is XAMPP slow?
I’ve used XAMPP for pretty much as long as I’ve been doing web development. It makes it trivial to get Apache, MySQL, and PHP set up.Since upgrading from Windows 7 to Windows 10 though I’ve noticed it was running much slower. I just assumed that XAMPP is slow. There was also an upgrade to XAMPP as part of that, although I don’t remember what versions.
The slowness was especially noticeable working on Moodle plugins. It was almost unusable, although that’s not too surprising with the 250-300 database tables that Moodle uses.
Googling brought a bunch of potential solutions
And all of these seemed to help just a little bit, but so little that it could have just been psychological.
A couple of months ago we bought an . Although I haven’t run it long enough to know how well it holds up, it’s been…
I’ve been dealing with a slow WordPress site for a while. In fact, it’s a whole series of slow WordPress sites. This site, along with…
For another site I needed a way to automatically post to a Pinterest board. It’s a WordPress site, but I didn’t want the posting to…
This little script comes from me needing to find the ID number for a Pinterest board so that a script I wrote could automatically add…
Logged in this morning to a small VPS that I have hosted at and saw a notice that Ubuntu 14.04 was available, and that I…
Edit on 8/7/2014
Well, this script is pretty much worthless now. Not sure when it happened, but Moodle now lets you upload the entire Blackboard zip file, images included, and everything gets imported. No more messing around with the res00000 files.
Going to leave the original post though. Might be handy for someone stuck using an older version of Moodle.
Original Post
I’m a big fan of Moodle, but really don’t like the way you have to add questions to banks. There’s just too much on that page.
So I normally build question banks in Examview and then import to Moodle. Only catch is that importing that way doesn’t allow for images.
So what I’ve done is create a simple Python script that takes the exported file and replaces the image links with a data scheme URI. Wasn’t expecting it to work, but it works without a hitch.