This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* save_experiment.php | |
* Created by James Mardell <james.mardell@imperial.ac.uk> | |
* Saves any HTTP post data sent to the script to a local CSV file. | |
* Do NOT use this in production. It's hideously insecure. | |
* The directory where the results file is saved requires 'other writeable' (o+w) permissions. | |
*/ | |
// Configuration | |
$results_file = 'data.csv'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy, math | |
object_file = "%%OBJ%%" # complete path | |
output_file = "%%PNG%%" # use "//filename.ext" for local path | |
# Clean canvas | |
for object in bpy.data.objects: | |
object.select = True | |
bpy.ops.object.delete() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Figures and Graphics | |
\usepackage[format=hang,labelsep=endash,font=small,labelfont=bf]{caption} | |
% Mathematical Packages | |
\usepackage{xfrac} % Slanted fractions \sfrac{1}{2} | |
% Header Packages | |
\usepackage{lastpage} | |
\usepackage{fancyhdr} | |
\renewcommand{\headrulewidth}{0pt} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# originally from | |
# http://bergamini.org/computers/creating-favicon.ico-icon-files-with-imagemagick-convert.html | |
input=$1 | |
working=`mktemp -d -t mkfavicon-XXXX` | |
convert $1 -resize 256x256 -filter Gaussian -transparent white ${working}/favicon-256.png | |
convert ${working}/favicon-256.png -filter Gaussian -resize 16x16 ${working}/favicon-16.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MapCutter | |
* Cuts terrain strips into tiles for displaying in a Rapid Serial Visual Presentation (RSVP). | |
* A component of the Assisting Search and Rescue through Visual Attention thesis appendix. | |
* http://cas.ee.ic.ac.uk/people/jpm04/asartva/ | |
* Created by James Mardell <james.mardell@imperial.ac.uk> / CC-BY-NC-ND-3.0 | |
*/ | |
#include <iostream> | |
#include <Magick++.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<GoogleCustomizations> | |
<CustomSearchEngine language="en"> | |
<Title>Arachnys</Title> | |
<Description></Description> | |
<Context> | |
<BackgroundLabels> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<GoogleCustomizations> | |
<CustomSearchEngine language="en"> | |
<Title>Arachnys</Title> | |
<Description></Description> | |
<Context> | |
<BackgroundLabels> | |
<Label name="arachnys" mode="BOOST" /> | |
</BackgroundLabels> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<GoogleCustomizations> | |
<CustomSearchEngine language="en"> | |
<Title>Arachnys</Title> | |
<Description></Description> | |
<Context> | |
<BackgroundLabels> | |
</BackgroundLabels> | |
</Context> | |
<schema_org_schemas>Thing</schema_org_schemas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<GoogleCustomizations> | |
<CustomSearchEngine language="en"> | |
<Title>Arachnys</Title> | |
<Description></Description> | |
<Context> | |
<BackgroundLabels> | |
<Label name="arachnys" mode="FILTER" top="1000" weight="1.0" /> | |
</BackgroundLabels> | |
</Context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<GoogleCustomizations> | |
<CustomSearchEngine language="en"> | |
<Title>Arachnys</Title> | |
<Description></Description> | |
<Context> | |
<BackgroundLabels> | |
<Label name="arachnys" mode="FILTER" top="1000" /> | |
</BackgroundLabels> | |
</Context> |
OlderNewer