Archive for the ‘Ubuntu Tricks’ Category
Compiling Firefox with jssh Support on Ubuntu
sudo apt-get build-dep firefox sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src #wait 10 minutes cd mozilla-central gedit .mozconfig mk_add_options MOZ_CO_PROJECT=browser mk_add_options [email protected]@/firefox-jssh ac_add_options –enable-extensions=default,jssh ac_add_options –enable-webservices ac_add_options –enable-application=browser autoconf2.13 cd js/src autoconf2.13 cd ../.. make -f client.mk build [sudo apt-get install yasm] [possible errors] /mozilla-central/config/rules.mk:1877: *** .js component […]
In: Ubuntu Tricks, Uncategorized · Tagged with: fire watir, Firefox, jssh
Rails or Ruby Memcached Gem on Ubuntu and Linux
Get the following error when trying to install memcached ruby gem on your Ubuntu or Linux box? rlibmemcached_wrap.c: In function ‘_wrap_memcached_get_sasl_callbacks’: rlibmemcached_wrap.c:12413: error: ‘sasl_callback_t’ undeclared (first use in this function) rlibmemcached_wrap.c:12413: error: ‘result’ undeclared (first use in this function) rlibmemcached_wrap.c:12424: error: expected expression before ‘)’ token rlibmemcached_wrap.c: In function ‘Init_rlibmemcached’: rlibmemcached_wrap.c:13694: error: ‘SASL_OK’ undeclared (first […]
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: Memcached, Ruby, rubygems
How To – Persist Rails or IRB Console Command History After Exit
Sick of not having Ubuntu rails or irb terminal not saving your command history after exiting the console? Try this little trick to fix it up! Append into your ~/.irbrc the following
In: How To, Ruby on Rails, Ubuntu Tricks · Tagged with: console, irb, ruby on rails, Ubuntu
Memcached – Libmemcached already built; run ‘rake clean’ first if you need to rebuild.
Trying to install memcached ruby gem on Ubuntu 10.04 Lucid Lynx and I get the error Libmemcached already built; run ‘rake clean’ first if you need to rebuild. Fixed this by installing sudo apt-get install libsasl2-dev gem uninstall memcached && gem install memcached Full Error Stacktrace:
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: Memcached, rubygems, Ubuntu Lucid Lynx 10.04
Package ‘adobe-flashplugin’ is Virtual when installing Flash on Firefox or Chrome – Ubuntu Lucid Lynx 10.04 64
Trying to install Flash on Ubuntu 10.04 64 bit fails with the error Package ‘adobe-flashplugin’ is Virtual I managed to install it with the following pasted into terminal. sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer
In: Ubuntu Tricks · Tagged with: Chrome, Firefox, Flash, Lucid Lynx 10.04
Share Keyboard and Mouse between Two or Multiple Computers
I have three computers at my desk. No reason other than I am a geek. I have a desktop, nice beasty thing. I have a Tablet Laptop and I have a netbook. I wanted to connect them all up so that I could use the screen space on them, put twitter on one maybe, gmail […]
In: Ubuntu Tricks · Tagged with: synergy
VirtualBox shared folder guest access command
Enable shared folders Add shared folder via “Devices” > “Shared Folder…” Windows from virtualbox.org net use x: \\vboxsvr\sharename Linux from virtualbox.org mount -t vboxsf [-o OPTIONS] sharename mountpoint Sharename is for example (by default) if you shared your Hosts Desktop, it would be Desktop. Easy.
In: Ubuntu Tricks · Tagged with: shared folder, VirtualBox
Git /usr/local/lib/liblber & /usr/local/lib/libldap_r no version information available error
I just updated my system today and rebooted (I like to reboot once a couple weeks…) and git started freeking out on me. I tried to git add ap [tab tab] but “git: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/libcurl-gnutls.so.4)” would pop up before the auto-complete and mess everything up. I could continue without […]
In: Server Config, Ubuntu Tricks · Tagged with: git