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…
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.
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.
Needed to create a list of the web safe colors for another site of mine. Yeah, I know that web safe colors are outdated. But…
Quick little snippet needed while working on a web app that exports to an Excel worksheet. What I needed was a way to convert column…
Normally I just don’t worry about this since I’m usually building websites and HTML takes care of merging multiple spaces. But it comes up occasionally. And…
Sitting here working on setting up a WordPress network and hit a snag. New sites have a giant “Welcome to your new WordPress site” message when someone logs in for the first time.
Now, I’m not against the message; and WordPress should definitely market where ever they can. But I’d like to be able to customize the layout a bit. Still plan on keeping links to WP and all of that, just want to add in some of my own welcome message.
Googling didn’t turn up anything except editing the core WordPress code which is a terrible idea. I don’t want to have to redo it every time WP upgrades. And it looks like there isn’t a hook or filter that can make it easy. So I had to make it ugly.
Sometimes I try and make things way too hard. One of the things that a web app I’m working on needs is the ability to…
How did I not know this already? I’m working on a web app that’s pretty Ajax heavy so I’ve got the Chrome developer tools window…