Skip to content

Instantly share code, notes, and snippets.

diff --git a/js/util.js b/js/util.js
index c228026..b6a6950 100644
--- a/js/util.js
+++ b/js/util.js
@@ -616,7 +616,9 @@ var SN = { // StatusNet
$('#content .notice_reply').live('click', function(e) {
e.preventDefault();
var notice = $(this).closest('li.notice');
- SN.U.NoticeInlineReplyTrigger(notice);
+ // @fixme: is this the proper way to get the nick?
diff --git a/lib/app.js b/lib/app.js
index 315ae23..a652d15 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -345,7 +345,7 @@ var makeApp = function(config, callback) {
DatabankObject.bank = db;
URLMaker.hostname = hostname;
- URLMaker.port = port;
+ URLMaker.port = 80;//port;
Error: qua.name does not implement registration_endpoint
at Function.Host.discover (/srv/http/pump.jpope.org/lib/model/host.js:146:30)
at next (/srv/http/pump.jpope.org/node_modules/step/lib/step.js:51:23)
at Function.hostmeta (/srv/http/pump.jpope.org/node_modules/webfinger/lib/webfinger.js:329:17)
at next (/srv/http/pump.jpope.org/node_modules/step/lib/step.js:51:23)
at Function.xrd2jrd (/srv/http/pump.jpope.org/node_modules/webfinger/lib/webfinger.js:149:17)
at next (/srv/http/pump.jpope.org/node_modules/step/lib/step.js:51:23)
at Parser.exports.Parser.Parser.parseString (/srv/http/pump.jpope.org/node_modules/xml2js/lib/xml2js.js:199:18)
at Parser.EventEmitter.emit (events.js:96:17)
at Object.exports.Parser.Parser.reset.saxParser.onclosetag (/srv/http/pump.jpope.org/node_modules/xml2js/lib/xml2js.js:183:24)
@mrvdb
mrvdb / rolfphp.php
Last active December 17, 2015 02:09
<?php
$fname='bartik_date_all_day_label';
function $fname() {
return '';
}
?>
sudo apache2ctl status
Apache Server Status for localhost
Server Version: Apache/2.2.22 (Debian) mod_auth_kerb/5.4 DAV/2 mod_fcgid/2.3.6 PHP/5.3.9-1 with Suhosin-Patch
Server Built: Mar 4 2013 21:32:29
____________________________________________________________________________________________________________________________________________________
Current Time: Thursday, 16-May-2013 10:27:32 CEST
Restart Time: Thursday, 16-May-2013 10:01:08 CEST
Parent Server Generation: 0
ab -n 150 -c 4 http://verrukkelijke15.nl/lijst/71
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking verrukkelijke15.nl (be patient).....done
Server Software: Apache/2.2.22
Server Hostname: verrukkelijke15.nl
// Construction of 'odd' nuts for the hbx360
// All dimensions in mm
include <settings.scad>
include <shapes.scad>
// Dimension
r_outer=156/2;
r_inner=126.1/2;
depth=10;
nr_of_bolts=24;
221.122.72.218 verrukkelijke15.nl - [
202.167.216.93 verrukkelijke15.nl - [
117.27.152.250 verrukkelijke15.nl - [
202.167.216.93 verrukkelijke15.nl - [
202.167.216.93 verrukkelijke15.nl - [
119.31.125.204 verrukkelijke15.nl - [
221.194.182.122 verrukkelijke15.nl -
114.80.136.112 verrukkelijke15.nl - [
221.122.72.218 verrukkelijke15.nl - [
202.167.216.93 verrukkelijke15.nl - [
Traceback (most recent call last):
File "./bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/local/mediagoblin/mediagoblin/local/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/serve.py", line 284, in command
#!/bin/sh
#
# This hook does two things:
#
# 1. update the "info" files that allow the list of references to be
# queries over dumb transports such as http
#
# 2. if this repository looks like it is a non-bare repository, and
# the checked-out branch is pushed to, then update the working copy.
# This makes "push" function somewhat similarly to darcs and bzr.