Moodle is a course management system (CMS) - a free, Open Source software package designed using sound pedagogical principles, to help educators create effective online learning communities. You can download and use it on any computer you have handy (including webhosts), yet it can scale from a single-teacher site to a 50,000-student University. This site itself is created using Moodle, so check out the Moodle Demonstration Courses or read the latest Moodle Buzz.
TortoiseCVS lets you work with files under CVS version control directly from Windows Explorer. It’s freely available under the GPL. With TortoiseCVS you can directly check out modules, update, commit and see differences by right clicking on files and folders within Explorer. You can see the state of a file with overlays on top of the normal icons within Explorer. It even works from within the file open dialog.
Everyone has a favorite April Fool’s prank. We’ve given you ours, so here’s your opportunity to tell us about yours. Add your favorite prank into the widget below (it’s after the jump) and vote on the pranks that have already been entered. There’s a 500 character limit on each entry, so please keep your descriptions brief and to the point. Plus, you don’t want to give away all of your secrets, do you?
I was doing some tweaks on my new Vista system the other day. One of the things I wanted to so was add a bunch of Visio stencils to my system that I had downloaded from one of the hardware manufacturers. Unfortunately, there were over a hundred stencils and each one was compressed into a ZIP archive. I really didn’t relish right clicking on each zip file, clicking on Extract all…, etc.
So, in situations like this, I immediately drop down to the command prompt. This is where I decided to use the for command to perform and action on every file in the directory.
So, in my example, I used the following command:
for /R %z in (*.zip) do unzip "%z"
Within seconds, I had all of the files extracted and I was ready to go!
Let’s break down this command into its smaller components to see what each one does.
for - indicates that we are going to be using the for command /R - tells the for command to recursively look in all folders within the active folder as well. Thus, if there are any files in subfolders, they will also be found %z - this is the variable that will contain the filename that is found. This can be any number but it is case sensitive. If you want to use the for command in a batch file, you will need to use %% (e.g. %%z) instead of just %. in (*.zip) - this is the search pattern that will be found. The portion in parenthesis uses the same wildcard scheme as the dircommand. do - indicates that the string following is the command that should be executed on each file found unzip “%z” - this is the actual command that is executed for each file. The %z portion is replaced by the name of the file found. So, for example, if the file found was archive.zip, the command that would be executed would be unzip "archive.zip". Remember that is you are going to be doing this in a batch file, replace the single % with %%.