Skip to content

Instantly share code, notes, and snippets.

Linux BBlite 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 6.1 (Santiago)
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Error: No matching Packages to list
abejide@abejide-U90-U100:~$ ssh -vvv [email protected]
OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/abejide/.ssh/id_rsa" as a RSA1 public key
debug2: key_type_from_name: unknown key type '-----BEGIN'
<script language="JavaScript">
document.writeln("<table border=0><tr><td><FORM name=BoardForm><table border=0><tr><td>");
SetBGColor="assets/images";
if ((BGColor!="")&&(document.getElementsByTagName)) document.getElementsByTagName('BODY')[0].style.backgroundColor=BGColor;
ImagePath="../assets/";
if (ImagePath!="") SetBorder(0);
EvalUrlString("SetBorder");
EvalUrlString("SetBorderColor");
WriteBoard(1);
WriteButtons();
require 'rubygems'
require 'net/smtp'
def send_email(from, from_alias, to, to_alias, subject, message)
msg = <<END_OF_MESSAGE
From: #{from_alias} <#{from}>
To: #{to_alias} <#{to}>
Subject: #{subject}
#{message}
abejide@abejide-U90-U100:~$ gem install ruby-oci8
Fetching: ruby-oci8-2.0.6.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing ruby-oci8:
ERROR: Failed to build gem native extension.
/home/abejide/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for load library path...
LD_LIBRARY_PATH is not set.
checking ld.so.conf... no
<?php
if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
$hook_version = 1;
$hook_array = Array();
$hook_array['after_retrieve'][] = Array(1, 'attachJs', 'custom/modules/Users/attach_javascript.php', 'Pushjavascript', 'attach_javascript');
?>
attach_javascript
<?php
if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
class Pushjavascript{
function attach_javascript(&$bean, $event, $arguments){
global $current_user;
global $sugar_config;
if(empty($_REQUEST["to_pdf"]) && $_REQUEST["action"]!= 'modulelistmenu' &&
$_REQUEST['action']!='DynamicAction' && empty($_REQUEST['sugar_body_only']) && $_REQUEST['action'] != 'EditView'){
$url = $sugar_config['vascti_host'];
echo "<script type='text/javascript' src=\"http://$url:9292/faye.js\"></script>";
eth0 Link encap:Ethernet HWaddr bc:30:5b:b8:03:69
inet6 addr: fe80::be30:5bff:feb8:369/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:94 (94.0 B)
Interrupt:16
lo Link encap:Local Loopback
Syntax Error (Expression Format Incorrect '' )
Faye is not defined
[Break On This Error] var client = new Faye.Client('http://10.10.5.208:9292/faye');
test.js (line 2)
a is null
[Break On This Error] function xD(a,b){qD(a,b,a.I)}
972589...he.html (line 295)
GET http://10.10.5.104:8080/wakanow/index.php?module...cts0emailAddress0&[email protected]
200 OK
/home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError)
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1195:in `gem'
from /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rails:18:in `<main>'
/home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rack (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError)
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/zeep/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1195:in `gem'
from /home/zeep/.rvm/gems/ruby-1.9.2-p290/bin/rackup:18:in `<main>'
/usr/bin/env: ruby: No such file or directory