Skip to content

Instantly share code, notes, and snippets.

jumpinjackie /
Last active Sep 7, 2020
MapGuide 4.0 poll results

MapGuide 4.0 poll results

Oracle Instant Client

We will build against the 12c R2 instant client SDK

MapGuide Java API

We will target JDK8 + Tomcat 9

jumpinjackie / Dockerfile
Last active Jun 8, 2019
vcpkg port build test (Ubuntu 16.04)
View Dockerfile
FROM ubuntu:16.04 as vcpkg-build
RUN apt-get clean \
&& apt-get update \
&& apt-get install -y software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& apt-get update
RUN apt-get install -y build-essential g++-7 git curl unzip tar p7zip-full libxxf86vm-dev \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 \
jumpinjackie / MyRenderer.cpp
Last active May 31, 2019
SE_Renderer template
View MyRenderer.cpp
#include "MyRenderer.h"
: m_activeLayer(nullptr), m_mapInfo(nullptr), m_layerInfo(nullptr), m_fcInfo(nullptr)
jumpinjackie / slate.xml
Created Jan 30, 2019
Fusion Localization Issues?
View slate.xml
I did a quick and dirty french Google Translate on some of the command names in an example Flexible Layout and loaded it in both the
unified and individual entrypoint templates and could not reproduce the problem. The accented characters of the french translations show
properly regardless of the setting of `locale`. Screenshot to be included below.
Attached is the flex layout I used with some french translations. One thing to note is that I don't have the characters xml-entity-encoded
in my flex layout. The raw accented characters are in the XML content. Is this the case for yours?
jumpinjackie / immutable.ts
Last active Sep 28, 2018
Immutable.JS TypeScript 2.8 edition
View immutable.ts
//Some example interface
interface IGeographicCoordinate {
lat: number;
lng: number;
interface IPlacemark {
id: number;
coordinate: IGeographicCoordinate;
name: string;
jumpinjackie / MySqlInit.txt
Last active Dec 5, 2017
docker-based FDO RDBMS test environment
View MySqlInit.txt
jumpinjackie / example.cs
Created Sep 22, 2016
Inserting/Updating/Deleting features in MapGuide
View example.cs
* All code fragments here listed for informational purposes. Do not expect to copy/paste this code and expect it to compile
* All examples here assume we work against a point feature source at Library://Test.FeatureSource with a feature class structured like so:
* Schema: Default
* Class: Points
* Properties:
* ID: int (identity)
* Name: string
jumpinjackie / fixsqlite
Created Jun 18, 2015
Fix SQLite data stores with no FDO spatial context
View fixsqlite
-- Put in a default spatial context entry
insert into spatial_ref_sys(srid, sr_name)
values (1, 'Default')
-- Make all geometry columns point to it
update geometry_columns
set srid = 1
jumpinjackie / iconv_test
Created Jul 30, 2014
iconv_open test application
View iconv_test
#include <iconv.h>
#include <stdio.h>
int main(int argc, char** argv)
iconv_t r = iconv_open("UTF-8", "WCHAR_T");
if ((iconv_t)-1 != r)
printf("iconv_open() worked!\n");
View gist:11362959
<!DOCTYPE html>
<title>Chrome dun goof'd!</title>
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="//"></script>
<script type="text/javascript">
var AppRouter = Backbone.Router.extend({