Skip to content

Instantly share code, notes, and snippets.

@stuartcampbell
stuartcampbell / gist:52724ec474bc6af2d345
Created May 13, 2015 19:19
Trac URL to get my tickets
http://trac.mantidproject.org/mantid/query?owner=Stuart+Campbell&status=assigned&status=inprogress&status=new&status=reopened&status=verify&status=verifying&col=id&col=summary&col=description&col=priority&col=component&col=keywords&order=priority
@stuartcampbell
stuartcampbell / detector-pars.csv
Created May 4, 2015 19:07
Detector Parameter file for testing VisionLoadDetectorTable algorithm
1334 16.00 3.6164963731 45.00 0.7673807215 2
1335 16.00 3.6063960269 45.00 0.766102657 2
1336 16.00 3.5962882317 45.00 0.7648411252 2
1337 16.00 3.5861803695 45.00 0.7635962239 2
1338 16.00 3.5760798221 45.00 0.7623680508 2
1339 16.00 3.5659939715 45.00 0.7611567035 2
1340 16.00 3.5559301996 45.00 0.7599622797 2
1341 16.00 3.5458958885 45.00 0.7587848771 2
1342 16.00 3.5358984199 45.00 0.7576245935 2
1343 16.00 3.5259451759 45.00 0.7564815266 2
@stuartcampbell
stuartcampbell / qwt3d_openglhelper.diff
Created February 25, 2015 03:16
Patch file for qwt3d_openglhelper.h
--- include/qwt3d_openglhelper.h 2005-07-19 11:40:28.000000000 -0400
+++ include/qwt3d_openglhelper.h.new 2014-03-18 15:22:02.000000000 -0400
@@ -1,6 +1,8 @@
#ifndef __openglhelper_2003_06_06_15_49__
#define __openglhelper_2003_06_06_15_49__
+#include <GL/glu.h>
+
#include "qglobal.h"
#if QT_VERSION < 0x040000
@stuartcampbell
stuartcampbell / redhat_boost_case1178175.cxx
Created February 25, 2015 02:41
Demo of boost issue for support case 1178175
#include <algorithm>
#include <string>
#include <vector>
#include <boost/lexical_cast.hpp>
int main() {
// Define (and initialise) a string vector
std::vector<std::size_t> intVector;