E185: Cannot find color scheme solarized


Question I have Solarized installed via pathogen and it's been working fine in both terminal and MacVim on my Mac. Today, I tried setting up an Ubuntu box on Linode. I just cloned my dotfiles and symlinked to my .vim and .vimrc folders (this is the same setup as I use on my local machine. Whenever I try to run vim on the Ubuntu box I get an error Error detected while processing /root/.…
Read more ⟶

ZSH Agnoster Theme showing machine name


Question I have a development server hosted on Digital Ocean, using Ubuntu 14.04. I switched my shell to ZSH and decided to go with the Agnoster theme. In order to get user@hostname to stop showing, I set the DEFAULT_USER in my .zshrc file. For some reason on the ubuntu server, that's not working. The hostname still shows, and will not go away. I'm doing the exact same thing on my Mac OSX, and it works fine.…
Read more ⟶

Unknown encoder 'libfaac'


Question I'm using carrierwave-video to upload video with my ruby on rails app. But I have this problem when try encode the video: Unknown encoder 'libfaac' Errors: no output file created. I have tried with: sudo apt-get install libfaac-dev but I get the same error. Updated: After compile ffmpeg, I get the same error: Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isomavc1 creation_time : 2011-10-13 18:54:50 encoder : HandBrake 0.…
Read more ⟶

Install GD library and freetype on Linux


Question I'm trying to use imagefttext. And I need to have GD library and/or freetype installed. I'm new to this kind of stuffs, How can I install GD library and freetype in Linux ? Answer Installing GD : For CentOS / RedHat / Fedora : sudo yum install php-gd For Debian/ubuntu : sudo apt-get install php5-gd Installing freetype : For CentOS / RedHat / Fedora : sudo yum install freetype* For Debian/ubuntu :…
Read more ⟶

Best font to use with Ubuntu Intellij Idea [closed]


Question As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. </div> Closed 10 years ago. Intellij IDEA very poorly renders editor fonts on Ubuntu.…
Read more ⟶

ImportError: No module named bz2 for Python 2.7.2


Question I'm using Python 2.7.2 on Ubuntu 11.10. I got this error when importing the bz2 module: ImportError: No module named bz2 I thought the bz2 module is supposed to come with Python 2.7. How can I fix this problem? EDIT: I think I previously installed Python 2.7.2 by compiling from source. Probably at that point I didn't have libbz2-dev and so the bz2 module is not installed. Now, I'm hoping to install Python2.…
Read more ⟶

Can't use uuid and create an extension to use it


Question I want to use uuid in Postgresql 9.2 on Ubuntu 13. So when I tried to check whether is available or not, I did: select uuid_generate_v4() as one; And it gave me ERROR: function uuid_generate_v4() does not exist Then I did CREATE EXTENSION "uuid-ossp"; ERROR: could not open extension control file "/usr/share/postgresql/9.2/extension/uuid-ossp.control": No such file or directory Well, what do I do next? By the way, SELECT * FROM pg_available_extensions; returns plpsql (1.…
Read more ⟶