Skip to content

Instantly share code, notes, and snippets.

% (set -x ; bundle exec ruby -e "puts:ok") 2>&1
+-zsh:7> bundle exec ruby -e puts:ok
^C
%
% rvm get head
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
ERROR: Failed pull/rebase origin master
RVM reloaded!
SELECT
posts.id
FROM "posts"
INNER JOIN "taggings" ON "posts"."id" = "taggings"."taggable_id"
AND "taggings"."taggable_type" = 'Post'
AND taggings.tagger_id IS NULL
AND taggings.context = 'tags'
INNER JOIN "tags" ON "tags"."id" = "taggings"."tag_id"
WHERE
"posts"."type" = 'StatusMessage'
# free -m
total used free shared buffers cached
Mem: 750 741 9 0 2 282
-/+ buffers/cache: 456 294
Swap: 767 72 695
QUERY PLAN
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Limit (cost=2165.44..2165.48 rows=15 width=20) (actual time=16135.897..16135.922 rows=15 loops=1)
-> Sort (cost=2165.44..2165.48 rows=16 width=20) (actual time=16135.894..16135.902 rows=15 loops=1)
Sort Key: public.posts.updated_at
Sort Method: quicksort Memory: 18kB
-> Append (cost=1763.48..2165.12 rows=16 width=20) (actual time=15783.910..16135.862 rows=30 loops=1)
-> Limit (cost=1763.48..1763.63 rows=15 width=20) (actual time=15783.907.
%%%----------------------------------------------------------------------
%%% File : odbc_queries.erl
%%% Author : Mickael Remond <mremond@process-one.net>
%%% Purpose : ODBC queries dependind on back-end
%%% Created : by Mickael Remond <mremond@process-one.net>
%%% Modified: by Vittorio Cuculo <vittorio.cuculo@gmail.com>
%%%
%%% Edited rosterusers and rostergroups namespace,
%%% adding "ejabberd_" prefix
%%%
var windowFocus = true;
var username = 'Me'; // TO CHANGE: User.name
var originalTitle;
var blinkOrder = 0;
var chatboxFocus = new Array();
var newMessages = new Array();
var newMessagesWin = new Array();
var chatBoxes = new Array();
var logout = 0;
require 'ramaze'
class MainController < Ramaze::Controller
map '/'
def index
if request.post?
@result = 'yo'
end
end
diff --git a/lib/postzord/receiver/public.rb b/lib/postzord/receiver/public.rb
index 277de7b..df8969c 100644
--- a/lib/postzord/receiver/public.rb
+++ b/lib/postzord/receiver/public.rb
@@ -7,7 +7,7 @@ class Postzord::Receiver::Public < Postzord::Receiver
attr_accessor :salmon, :author
def initialize(xml)
- @salmon = Salmon::Slap.from_xml(xml)
+ @salmon = Salmon::Slap.from_xml(xml)
Dear Diasporans,
We are sorry that you are currently encountering a lot of errors on JoinDiaspora.com. The cause is overload of our hardware resources. Due to a tragic loss in our developer community, we have limited personnel available to solve this issue and ask for your patience concerning the availability and stability of our service.
We appreciate your understanding and thank all of you for your condolences!
The Diaspora Podrunners and Developers