Skip to content

Instantly share code, notes, and snippets.

+------------------------------+
| Tables_in_ois_staging |
+------------------------------+
| ois_t_ent_key_map |
| ois_t_ent_key_map_type |
| ois_t_ent_type |
| ois_t_exception |
| ois_t_exception_type |
| ois_t_msg |
| ois_t_msg_context |
@johndemic
johndemic / demic.diff
Created October 16, 2010 02:56
Misc fixes to get build working in Xcode
From 697dbe35ee9d366ec07af5e4f56a6a6c204cf210 Mon Sep 17 00:00:00 2001
From: John D'Emic <[email protected]>
Date: Fri, 15 Oct 2010 22:51:29 -0400
Subject: [PATCH] Misc fixes to get build working in Xcode
- Removed "@synthesize LastHash;" from ANTLRRuleStack.m and ANTLRSymbolStack.m.
- Changed signature of get/setScope in ANTLRHashMap.h to use NSInteger's instead of ints.
---
Framework/ANTLRHashMap.h | 4 ++--
Framework/ANTLRRuleStack.m | 2 +-
Ext.Ajax.request({
method: 'GET',
url: '/api/system/status',
success: function(resp) {
var json = Ext.decode(resp.responseText);
Ext.iterate(json, function(host, probe) {
var chart = buildChart(probe);
menu.add(
{
title: host,
<repository>
<id>muleforge-repo</id>
<name>MuleForge Repository</name>
<url>http://repository.muleforge.org</url>
<layout>default</layout>
</repository>
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
InputStream is = classLoader.getResourceAsStream("foo");
import org.apache.commons.io.FileUtils
def json = FileUtils.readFileToString(new File("assets.json"))
def matcher = json =~ /\{ ".oid" : ("[0-9a-f]{24}") \}/
def stringBuffer = new StringBuffer();
matcher.reset()
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mongodb="http://www.mulesoft.org/schema/mule/mongodb"
xmlns:stdio="http://www.mulesoft.org/schema/mule/stdio"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.1/mule.xsd
http://www.mulesoft.org/schema/mule/mongodb http://www.mulesoft.org/schema/mule/mongodb/3.1/mule-mongodb.xsd
http://www.mulesoft.org/schema/mule/stdio http://www.mulesoft.org/schema/mule/stdio/3.1/mule-stdio.xsd
">
[derailer:elasticsearch/elasticsearch-0.14.3/bin] root# Exception in thread "elasticsearch[Temugin][tp]-pool-1-thread-1" org.elasticsearch.discovery.zen.ping.ZenPingException: Failed to send ping request over multicast on java.net.MulticastSocket@201a503f
at org.elasticsearch.discovery.zen.ping.multicast.MulticastZenPing.sendPingRequest(MulticastZenPing.java:240)
at org.elasticsearch.discovery.zen.ping.multicast.MulticastZenPing.ping(MulticastZenPing.java:201)
at org.elasticsearch.discovery.zen.ping.ZenPingService.ping(ZenPingService.java:129)
at org.elasticsearch.discovery.zen.ping.ZenPingService.pingAndWait(ZenPingService.java:111)
at org.elasticsearch.discovery.zen.ZenDiscovery.findMaster(ZenDiscovery.java:483)
at org.elasticsearch.discovery.zen.ZenDiscovery.innterJoinCluster(ZenDiscovery.java:242)
at org.elasticsearch.discovery.zen.ZenDiscovery.access$500(ZenDiscovery.java:62)
at org.elasticsearch.discovery.zen.ZenDiscovery$1.run(ZenDiscovery.java:227)
at java.util.concurrent.ThreadPoolExecutor$W
{"error":"Merge failed with failures {[mapper [state] has different index values, mapper [state] has different index_analyzer, mapper [state] has different search_analyzer, mapper [line] has different index values, mapper [line] has different index_analyzer, mapper [line] has different search_analyzer, mapper [type] has different index values, mapper [type] has different index_analyzer, mapper [type] has different search_analyzer, mapper [assetItems.created] has different store values, mapper [assetItems.name] has different index values, mapper [assetItems.name] has different index_analyzer, mapper [assetItems.name] has different search_analyzer, mapper [assetItems.path] has different index values, mapper [assetItems.path] has different index_analyzer, mapper [assetItems.path] has different search_analyzer, mapper [assetItems.fullPath] has different index values, mapper [assetItems.fullPath] has different index_analyzer, mapper [assetItems.fullPath] has different search_analyzer, mapper [assetItems.metaData.c
Root Exception stack trace:
org.mozilla.javascript.EcmaError: TypeError: Cannot call property migrate in object [JavaPackage com.mulesource.muleesb.migration.MigratorAdapter]. It is not a function, it is "object". (/Users/jdemic/Dropbox/Development/projects/mulesoft/migration-service/modules/migration.js#27)