Facebook Share and Like Button Customization Issues
My goal was to get a customized Facebook Like button working. Our designer gave us a mockup of a Facebook button which didn’t have the word Like in it, no counter or anything else except the f in a...
View Articleckeditor $ is not defined
ckeditor gem assumes that you load your JavaScripts at the top of your page instead of the bottom. I used the SimpleForm integration by setting the textarea input field parameter to :as => :ckeditor...
View ArticleHow to resolve the rmagick.rb:248: [BUG] Segmentation fault issue
The way I resolved the following rmagick.rb:248: [BUG] Segmentation fault issue was by reinstalling the ImageMagick and the rmagick gem. When reinstalling imagemagick, you should disable openmp. See...
View ArticleBash Terminal Customizations for RVM and Git with git-completion.sh
In process of customizing my bash terminal prompt in my ~/.bash_profile, I thought it would be great to show which RVM and Git branch I was on. You can make yours look similar to this: Screenshot of...
View ArticleGit Fetch and Merge instead of Pull
Great Explanation of Git Fetch and Merge and why you should do that instead of git pull.
View ArticleInstalling PostgreSQL on a mac (Lion)
Check to see if you mac already has an older version of PostgreSQL installed: postgres –version which postgres If you see anything, that means you already have an older version of postgres installed....
View ArticleDeauthorize Callback URL Setting to Localhost Won’t Work
Keep in mind that it’s not possible set the Deauthorize Callback URL in your Facebook App’s Advanced Setting to a URL hosted on localhost since Facebook is making the callback from their own servers,...
View ArticleAppend private key from client to public key on host
You can append the contents of your private key to the public key on a server, with one command by doing the following: cat ~/.ssh/id_rsa.pub | ssh serveruser@hostname.com 'cat >>...
View ArticleCollecting / Aggregating Rails Log Stacktrace with Logstash shipper agent
Before tagging your stacktrace events from your Rails production.log, for example, you will want to write a multiline filter in Logstash which will include each stacktrace event as a separate entry....
View ArticleSimplify your Life with and SSH Config File
This is a great post for those who ssh to many different hosts and have to remember which hostname, username, key and port to use for each server they want to connect to....
View ArticleCaveats with Logstash udp input type and event splitting
What I noticed with logstash version 1.1.5 and even 1.1.1, is that when using the UDP input type in logstash, each line of input is not split into a separate event. The multiline filter expects each...
View ArticleLightweight socat UDP Logstash shippers
In my opinion it’s much better using a lightweight log shipper like socat to ship logs to Logstash. This way you can save yourself from running a Java process on the source host where your logs are....
View ArticleJDBC River Plugin for ElasticSearch
You can easily load and index data from your MySQL database straight into Elasticsearch. First install Elasticsearch and make sure it’s running. Then open up a new terminal window and install the...
View ArticleUnable to Open Couchbase Admin Console (could not connect to 127.0.0.1:8091)
I downloaded and installed the 64-bit Mac OS X version of Couchbase 2.0.0 Release but I got a “could not connect to 127.0.0.1:8091″ in the browser when I tried to open the Couchbase Admin Console to...
View Articlecouchbase-cli command not found?
If you see the following when trying to execute couchbase-cli: $ couchbase-cli bash: couchbase-cli: command not found You must add the couchbase-core bin /Applications/Couchbase\...
View ArticleHow to render your blog posts on your homepage in Refinery CMS
Add this line in your routes.rb, just above the line where you see: mount Refinery::Core::Engine, :at => ‘/’ root :to => 'refinery/blog/posts#index'
View ArticleHow to Remove Title from a Particular Refinery CMS page
In addition to configuring my Refinery CMS site’s homepage to show the contents of my blog posts instead, using the technique I describe at Rendering Blog Posts on Homepage in Refinery CMS, I also...
View Article`git rev-parse feature/2.0.0 error when installing RefineryCMS engine for...
If you’ve followed instructions on https://github.com/Wirelab/refinerycms-mailchimp, especially the part on adding this to your Gemfile: gem 'refinerycms-mailchimp', :github =>...
View ArticleError installing heroku gem
My goal is to push my rails app to Heroku. However, I wasn’t able to install the heroku gem. If you get the following error when trying to do a gem install heroku –no-rdoc –no-ri [ruby-1.9.3-p194] :...
View Article`gem install activerecord-postgresql-adapter` (pg is not part of the bundle....
If you see this error in your heroku logs “`gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.”...
View Article
More Pages to Explore .....