Category Archives: Computing

Synctoy Automatic Backup

“Backing up is easy, the hard part is remembering to do it” – a wise man With that in mind this post shows you how to automatically backup your files on your windows computer. For information on backing up a linux computer checkout this post on rsync. Microsoft Synctoy There are no doubt scores of… Read More »

Python tips: checking for updated input files

Introduction Loading files from python scripts can have many benefits such as for data analysis or setting script parameters. This article shows you how to not only load in a text file, line-by-line into a python list, but also how to keep checking for and loading updated versions of that file during a simulation run.… Read More »

How to Add Directories to Path

Adding a directory to the system path allows us to run executables win that directory from the command line. The PATH is an example of an environment variable. It is a list of directories where executable programs can be found. If we want our scripts or programs to be available from the command line we… Read More »

crontab

How to use crontab – the linux task scheduler Scheduling linux tasks with crontab: http://kvz.io/blog/2007/07/29/schedule-tasks-on-linux-using-crontab/ A crontab generator: http://www.easycron.com/generator/cronjob Image: IJörg Weingrill; Some rights reserved

Notepad2-mod for editing OOMMF Files

I like using Notepad2-mod (see useful software, notepad2-mod webpage) to edit OOMMF mif files, but I do generally find it a lot easier to edit if the syntax is highlighted. Since mif files are essential tcl we can just tell notepad2 to treat mif files as tcl files for the purposes of highlighting: Open Notepad2-mod… Read More »