haroldsoh

haroldsoh

some musings from an avid reader / geek / student / scientist / engineer

You can scroll the shelf using and keys

MR-POMDP Examples Matlab Code

May 28, 2012

I’ve released the MATLAB scripts used to generate the Multi-Reward POMDPs used in my papers. You can access them at the bitbucket repository:

https://bitbucket.org/haroldsoh/mrpomdp_exampleproblems

The code is released under GPL. Comments/Criticisms/Bug reports are welcome. Have fun!

 

Clone all Repos from a Bitbucket source

October 7, 2011

I have about 22 repositories on bitbucket and downloading them can be a pain. Here’s a short script to make life easier:

#!/bin/bash
#Script to get all repositories under a user from bitbucket
#Usage: getAllRepos.sh [username]

curl -u ${1}  https://api.bitbucket.org/1.0/users/${1} > repoinfo
for repo_name in `grep \"name\" repoinfo.txt | cut -f4 -d\"`
do
	hg clone ssh://hg@bitbucket.org/${1}/$repo_name
done
Follow

Get every new post delivered to your Inbox.