Skip to content

Instantly share code, notes, and snippets.

#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
#
# *) local and remote branch names
The big long apt-get install with all the packages failed because some of the packages weren't found. I figured that the article might be out of date so I tried to just let apt-get figure out the dependencies.
sudo apt-get install x11vnc
tried startx but was told I needed to install xinit
sudo apt-get install xinit
Now startx & tells me I don't have permission to start x so
=CRASH REPORT==== 30-Mar-2009::09:56:14 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,{{ejabberd_app,start,[normal,[]]},
{'EXIT',"Error reading Mnesia database"}}}
in function application_master:init/4
initial call: application_master:init(<0.5.0>,<0.34.0>,
{appl_data,ejabberd,
[ejabberd,ejabberd_sup,
%%%
%%% Debian ejabberd configuration file
%%% This config must be in UTF-8 encoding
%%%
%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is available at
%%% /usr/share/doc/ejabberd/guide.html
%%% ===================================
=CRASH REPORT==== 30-Mar-2009::09:25:05 ===
crasher:
pid: <0.35.0>
registered_name: []
exception exit: {bad_return,
{{ejabberd_app,start,[normal,[]]},
{'EXIT',
[47,101,116,99,47,101,106,97,98,98,101,114,100,
47,101,106,97,98,98,101,114,100,46,99,102,103,
58,32,"372",58,32,
it 'should do something' do
on_failure warn_that "@foo shouldn't be nil" do
@foo.should_not be_nil
end
end
describe "calculator" do
it "should add two numbers together" do
expect_that "2 + 3 = 5" do
Calculator.new.add(2,3).should == 5
end
end
end
# if the expectation failed then the message would be 'expected 2 + 3 == 5, but got 6'
# perhaps this could be altered/extended with a way to insert the actual result with something like...