Skip to content

Instantly share code, notes, and snippets.

You like apples? An error occurred in the error handler while handling an error. How do you like them apples?
net.appjet.bodylock.JSRuntimeException: Error while executing: ReferenceError: "isProAccountEnabled" is not defined. (module etherpad/pro/pro_utils.js#61)
at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:84)
at net.appjet.oui.execution$$anonfun$execute$4.apply(execution.scala:517)
at net.appjet.oui.NoninheritedDynamicVariable.withValue(dynamicvar.scala:38)
at net.appjet.oui.ExecutionContextUtils$.withContext(execution.scala:334)
at net.appjet.oui.execution$.execute(execution.scala:504)
at net.appjet.oui.execution$.execute(execution.scala:483)
at net.appjet.oui.OuiServlet.execute(execution.scala:413)
at net.appjet.oui.OuiServlet.doGet(execution.scala:360)
diff --git a/etherpad/bin/run-local.sh b/etherpad/bin/run-local.sh
index 72b0cc1..7f78a10 100755
--- a/etherpad/bin/run-local.sh
+++ b/etherpad/bin/run-local.sh
@@ -16,7 +16,7 @@
mkdir -p data/appjet
-MXRAM="1G"
+MXRAM="256m"
diff --git a/etherpad/bin/run-local.sh b/etherpad/bin/run-local.sh
index 72b0cc1..7f78a10 100755
--- a/etherpad/bin/run-local.sh
+++ b/etherpad/bin/run-local.sh
@@ -16,7 +16,7 @@
mkdir -p data/appjet
-MXRAM="1G"
+MXRAM="256m"
// ==UserScript==
// @name Step31
// @namespace http://metameso.org/
// @description An iframe appears, but it doesn't contain anything useful.
// @include *
// @exclude http://metameso.org:9000/*
// @version 0.1
// ==/UserScript==
(function() {
// ==UserScript==
// @name Step41
// @namespace http://metameso.org/
// @description Now an iframe appears -- literally with every page!
// @include *
// @exclude http://metameso.org:9000/*
// @version 0.1
// ==/UserScript==
// We do something here to modify the CSS of the main page.
// ==UserScript==
// @name Step52
// @namespace http://metameso.org/
// @description Browse to http://piratepad.net/pmtransit to see exclude rule fail even more, and illustrate interesting behaviour of etherpad.
// @include *
// @exclude *pirate*
// @version 0.1
// ==/UserScript==
alert("You're browsing \n "+window.location);
--- a/etherpad/src/themes/default/templates/pad/pad_body2.ejs
+++ b/etherpad/src/themes/default/templates/pad/pad_body2.ejs
@@ -70,29 +70,7 @@ limitations under the License. */ %>
<div id="padpage">
<div id="padtop">
- <div id="topbar">
- <% /* floated left */ %>
- <div id="topbarleft"><!-- --></div>
- <% /* <a href="#" id="topbarnewpad">New Pad</a> */ %>
<% /*
Copyright 2009 Google Inc.
Copyright 2010 Pita, Peter Martischka <petermartischka@googlemail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en-us" />
<title></title>
/* Inspired by JUITTER 1.0.0 BY RODRIGO FANTE -- Thanks Mr. Juitter :)*/
function runMainLoop(){
// alert("running main loop");
setTimeout('runMainLoop()', 5000);
$("div.realtimedata").empty();
$.getJSON("http://localbox.info:9000/ep/tag/?format=json",
function(data){
doSomethingWithJSON(data);
});