Skip to content

Instantly share code, notes, and snippets.

View danielmcquillen's full-sized avatar

Daniel McQuillen danielmcquillen

View GitHub Profile
@danielmcquillen
danielmcquillen / gist:9b2648fc4c4387aadb42049e85afdd88
Created January 8, 2024 21:03
IGSDB v2 2024 current approach to integrated spectral averages summary
{
"calculation_standard": "NFRC",
"source": "IGDB",
"source_version": "95",
"spf": {
"error": null,
"reflectance_back": {
"matrix": null,
"direct_direct": null,
@danielmcquillen
danielmcquillen / gist:2350b8d5f48cd350f4e1
Created February 1, 2016 06:14
Error during update task [edxapp | gather {{ item }} static assets with paver]
TASK: [edxapp | gather {{ item }} static assets with paver] *******************
failed: [localhost] => (item=lms) => {"changed": true, "cmd": ["/edx/bin/edxapp-update-assets-lms"], "delta": "0:02:43.984768", "end": "2016-02-01 05:54:25.155235", "item": "lms", "rc": 1, "start": "2016-02-01 05:51:41.170467", "warnings": []}
stderr: 2016-02-01 00:51:44,758 INFO 6207 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
System check identified some issues:
WARNINGS:
wiki.ArticleRevision.ip_address: (fields.W900) IPAddressField has been deprecated. Support for it (except in historical migrations) will be removed in Django 1.9.
HINT: Use GenericIPAddressField instead.
2016-02-01 00:53:42,310 INFO 6807 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
2016-02-01 00:53:42,339 WARNING 6807 [py.warnings] importlib.py:9 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.import
paver update_assets lms --settings=aws
mkdir_p path('/edx/app/edxapp/custom-themes/ibio-openedx-theme/lms/static/css')
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_ruby_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
---> pavelib.prereqs.install_node_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
python manage.py lms --settings=aws preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
2016-01-27 00:03:20,854 INFO 1400 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
System check identified some issues:
@danielmcquillen
danielmcquillen / SimpleDiagrams Library Plugin template
Created June 27, 2013 20:48
This gist demonstrates the basic xml needed for the library.xml portion of a SimpleDiagrams library plugin. See the blog post a complete tutorial.
<?xml version="1.0" encoding="utf-8"?>
<sdxml version="2.1">
<library name="com.some.unique.name" displayName="Basic">
<custom>false</custom>
<type>shapes</type>
<items>
<?xml version="1.0" encoding="utf-8"?>
<sdxml version="2.1">
<library name="" displayName="">
<custom>false</custom>
<type>shapes</type>
<items>
@danielmcquillen
danielmcquillen / gist:2723101
Last active October 5, 2015 00:27
Basic xml file for .sdlp
<?xml version="1.0" encoding="utf-8"?>
<sdxml version="2.1">
<library name="your.shapeLibrary.name" displayName="Test Library">
<custom>false</custom>
<type>shapes</type>
<items>
<swfShape name="businessMan" displayName="Business Man">
<path>business_man.swf</path>
@danielmcquillen
danielmcquillen / HamsterPower.fxg
Created April 1, 2011 01:08
Hamster Power .FXG file
<?xml version="1.0" encoding="utf-8" ?>
<Graphic version="2.0" viewHeight="400" viewWidth="550" ATE:version="1.0.0" flm:version="1.0.0" d:using="" pd:backgroundColor="3355443" xmlns="http://ns.adobe.com/fxg/2008" xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns:pd="http://ns.adobe.com/xfl/2008/pd">
<Library/>
<Group d:type="layer" d:userLabel="Layer 1">
<Path data="M14.5 13.4Q14.55 13.4 14.55 13.45 14.55 13.5 14.5 13.55 14.45 13.6 14.4 13.6 14.35 13.6 14.3 13.55 14.25 13.5 14.25 13.45 14.25 13.4 14.3 13.4 14.35 13.35 14.4 13.35 14.45 13.35 14.5 13.4M14.95 13.9Q14.9 13.85 14.9 13.8 14.9 13.75 14.95 13.7
15 13.65 15.05 13.65 15.1 13.65 15.15 13.7 15.2 13.75 15.2 13.8 15.2 13.85 15.15 13.9 15.1 13.9 15.05 13.9 15 13.9 14.95 13.9M11.7 21Q11.7 21.05 11.65 21.1 11.6 21.15 11.55 21.15 11.5 21.15 11.45 21.1 11.4 21.05 11.4 21 11.4 20.95 11.45 20.9
11.5 20.9 11.55 20.9 11.6 20.9 11.65 20.9 11.7 20.95 11.7 21">
<fill>
@danielmcquillen
danielmcquillen / BasicSDLPFormatV1.0.xml
Created April 1, 2011 00:37
Basic .sdlp format (v1.0)
<?xml version="1.0" encoding="utf-8"?>
<sdxml version="1.0">
<sdLibrary name="com.simplediagrams.shapelibrary.MyShapes" displayName="My Shapes">
<sdSymbol name="Boring Shape">
<Path data="M29.95 2.8 28.45 .." />
</sdSymbol>
<sdSymbol name="Crazy Shape">
<Path data="M29.95 2.8 28.45 .." />
</sdSymbol>
</sdLibrary>