Code Food Travel repeat!

How to Install Bower Without Error Permissions on Mac OSX

If you’re a talented web design coder yet retarded when it comes to any technical installation snafoos like me, this guide will help you make it to the finish line alive in one piece.

Problem: in trying to install bower or run grunt, I got ‘EACCES permission denied’ error permissions & bower_components + it’s subfolders were completely missing. I need Bower to work because I’m setting up a development environment for Shopify to customize a theme.

Solution: Alright, open your Command line tool:

  1. Install ruby gems:
    sudo ruby setup.rb
  2. Make sure it’s updated:
    sudo gem update --system
  3. Install bundler:
    gem install bundler
  4. Go to directory of the Shopify ruby gem, and type:
sudo gem install shopify_theme
  1. (done with: github.com/Shopify/shopify_theme)
  2. (now follow: github.com/luciddesign/bootstrapify)
  3. Install Grunt if you don’t have it:
    sudo npm install -g grunt-cli
  4. Install Bower if you don’t have it:
    sudo npm install -g bower
  5. If that returns errors, try this KEY SOLUTION:
    sudo bower install --allow-root
  6. If successful, you can now compile. Type:
    grunt
  7. If you get an error that the folder “bootstrap-sass-official” cannot be found, rename the folder “bootstrap-sass” -> “bootstrap-sass-official” and try grunt again! 
  8. This is where it worked for me!

Google Hangouts Not Working in Chrome May 2015

Whether you’re on PC or MAC OSX, you may have noticed that Google Voice keeps telling you to: “please download the voice plugin to make a call” even after you’ve installed it several times. What’s changed is the old google voice chat plugin is no longer supported (though they don’t even tell us). You have to upgrade to the New Google Hangouts, where a phone call tab exists there.

To do this, on the left hand side of gmail you’ll see a green dot next to your name on the chat window. There’s a small DOWN arrow, which you can click and the first option will say “Try the new Hangouts”.

GoogleVoiceNotWorking

Once you click that it’ll work again. Presto!

Get WordPress Jetpack working on ICDsoft hosting (2015 FIX)

ICDsoft upgraded their Apache server this year, so the OLDER version of this code you may see floating out on the internet will not work. This updated CURRENT CODE below will fix the problem:

WordPress Jetpack

  1. Install WordPress JetPack. FIX below for ICDSoft webhost customers (for whom Jetpack is blocked out of the box):
    1. Problem: Error message: ‘site_inaccessible – Error Details: The Jetpack server was unable to communicate with your site [HTTP 412].’
      1. Explanation from ICDSoft Tech Support: We have a special set of rules on the server that are employed to prevent most popular hacking attempts. The xmlrpc.php module of WordPress very often is a target of hack attacks, that’s why we have a rule that disables the access to it. Please add the following code to the .htaccess file in the WordPress directory of the account:
    2. Solution: Go to control panel, click file manager, go to wordpress install directory, open .htaccess file to edit.
    3. Change security setting to let JetPack talk to WordPress.com by pasting the below code into .htaccess. Click save, and it will work! You may have to redo .htaccess edit on wordpress upgrades etc, not sure.
      <IfModule security2_module>
      SecRuleRemoveById 114
      </IfModule>
      
1 of 26
12345
%d bloggers like this: