Posts

Showing posts from 2016

*** System Restart Required *** - Ubuntu

Which packages need a system reboot?

Just check /var/run/reboot-required.pkgs

Install memcached in Mac OS El Capitan

The easiest way to install memcached is to use homebrew package installer:

$ brew install memcached

This locates memcached in /usr/local/opt/memcached/bin/

Starting memcached (by default at port 11211 or with -p port_number):

$ memcached -p 9000

To have launchd start memcached now and restart at login:

$ brew services start memcached

To change the default ram size (64mb) used by memcached use -m option:
$ memcached -m 128  -p 9000

Lastly, run memcached as a daemon with -d:

$ memcached -d -p 9000

Install compass in Mac Os El Capitan

So,
$ sudo gem install compass is not working?

Do you have ruby installed?
If not install it using brew:

$ sudo brew install ruby 

First try updating your gem version:

$ sudo gem update --system

Then try again installing compass:

$ sudo gem install compass

Oh... now you get a:

Fetching: compass-1.0.3.gem (100%)
ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/compass

Run the following:

$ sudo gem install -n /usr/local/bin compass
Done.

Test a webpage speed using Pingdom

Outstanding web page to measure a webpage speed.

https://tools.pingdom.com/