Skip to content

Instantly share code, notes, and snippets.

@jean
jean / gist:347cb708b1f4d9de4691
Created May 9, 2014 02:23
RestletException: No such style
2014-05-09 01:55:07,702 ERROR [org.geoserver.rest] - No such style: acoast_17
2014-05-09 01:55:07,702 DEBUG [org.geoserver.filters] - Compressing output for mimetype: text/plain
2014-05-09 01:55:07,702 ERROR [org.geoserver.rest] -
org.geoserver.rest.RestletException
at org.geoserver.catalog.rest.StyleFinder.findTarget(StyleFinder.java:38)
at org.restlet.Finder.handle(Finder.java:268)
at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:37)
at org.restlet.Filter.doHandle(Filter.java:105)
at org.restlet.Filter.handle(Filter.java:134)
at org.restlet.Router.handle(Router.java:444)
@jean
jean / gist:7527482
Created November 18, 2013 13:09
Get label from selection
<plominodatabase id="pooldb">
<design>
<resource id="libConfig" title="" type="Script (Python)"><![CDATA[## Script (Python) "libConfig"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
@jean
jean / testdb2.xml
Last active December 27, 2015 15:49 — forked from fulv/gist:7311639
<plominodatabase id="testdb2">
<design>
<dbsettings version="1.18">
<AboutDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></AboutDescription>
<UsingDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></UsingDescription>
<IndexAttachments type="Products.Archetypes.Field.BooleanField">False</IndexAttachments>
<FulltextIndex type="Products.Archetypes.Field.BooleanField">True</FulltextIndex>
<IndexInPortal type="Products.Archetypes.Field.BooleanField">False</IndexInPortal>
<debugMode type="Products.Archetypes.Field.BooleanField">False</debugMode>
<CountDocuments type="Products.Archetypes.Field.BooleanField">False</CountDocuments>
@jean
jean / testdb.xml
Created November 1, 2013 05:01 — forked from fulv/testdb.xml
<plominodatabase id="testdb">
<design>
<dbsettings version="1.18">
<AboutDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></AboutDescription>
<UsingDescription type="Products.Archetypes.Field.TextField"><![CDATA[]]></UsingDescription>
<IndexAttachments type="Products.Archetypes.Field.BooleanField">False</IndexAttachments>
<FulltextIndex type="Products.Archetypes.Field.BooleanField">True</FulltextIndex>
<IndexInPortal type="Products.Archetypes.Field.BooleanField">False</IndexInPortal>
<debugMode type="Products.Archetypes.Field.BooleanField">False</debugMode>
<CountDocuments type="Products.Archetypes.Field.BooleanField">False</CountDocuments>
// ==UserScript==
// @name Wikipedia Table filter
// @namespace benibela
// @include http://*.wikipedia.org/wiki/*
// @include https://*.wikipedia.org/wiki/*
// ==/UserScript==
var tables = document.getElementsByClassName("wikitable");
var hiddenLists = new Array();

Hacked `PloneHotfix20130618/in_portal.py` to work on Plone 2.5:

  9     def wrapped_in_portal(self, url, context=None):
 10         if url is None: # njj: ancient Plone
 11             url = ''
 12         url = re.sub('^[\x00-\x20]+', '', url).strip()
 13  ->     try:
 14             # njj: ancient Plone
 15             # return orig(self, url, context)
 16             return orig(self, url)

[] rows.append(list(row)) rows.append(list(row)) rows.append(list(row))

/*
* Author: Romaric BREIL <[email protected]>
*
* Those functions allow to manage Plomino datagrid fields.
*/
/*
* Displays the form (obtained by an AJAX request), and integrates it in the page.
* - field_id: id of the datagrid field
* - formurl: url of the form
# -*- coding: utf-8 -*-
#
# File: datagrid.py
#
# Copyright (c) 2008 by ['Eric BREHAULT']
#
# Zope Public License (ZPL)
#
__author__ = """Eric BREHAULT <[email protected]>"""

Installed VoOm Hmm vimwiki now has backlinks. Look at upgrading.

Move `.vim/bundle/*` to vim-scripts, so they get latest. If I want to use a patched version, merge from jean fork manually. My forks checked out in `~/repos/git/`