If you’re thinking without writing, you only think you’re thinking.
(Leslie B. Lamport)

Setting Up Your Cocoapods Libraries

target 'SimpleWeather' do
  pod 'Mantle', '~> 1.3.1'
  pod 'LBBlurredImage', '~> 0.1.0'
  pod 'TSMessages', '~> 0.9.4'
  pod 'ReactiveCocoa', '~> 2.1.7'
open SimpleWeather.xcworkspace/

Reset a MySQL root password

Stop the MySQL service

service mysql stop

Connect to MySQL

mysql -uroot

Set a new MySQL root password

use mysql;

update user set password=PASSWORD(“mynewpassword”) where User=‘root’;

flush privileges;


Start the MySQL service

service mysql start

Remove MySQL Completely from Linux System

  1. yum remove mysql mysql-server

  2. mv /var/lib/mysql /var/lib/mysql_old_backup

  3. yum install mysql mysql-server

Apache2: Forbidden You don't have permission to access /dir/ on this server

sudo adduser username www-data

sudo chown -R www-data:www-data /var/www

sudo chmod -R g+rw /var/www

How to install GitEye on Ubuntu 14.04

1. Download GitEye for Linux

2. Extract

GitEye.zip -> GitEye/

3. Relocating GitEye

sudo mv GitEye /opt/GitEye

4.Create a Symlink

sudo ln -s /opt/GitEye/GitEye /usr/local/bin/GitEye

5.Then Launch


Get the SHA-1 fingerprint of the certificate

* To get the release certificate fingerprint:

keytool -exportcert -list -v \
-alias <your-key-name> -keystore <path-to-production-keystore>

* To get the debug certificate fingerprint:

keytool -exportcert -list -v \
-alias androiddebugkey -keystore ~/.android/debug.keystore

* Example:

/usr/local/java/jdk1.8.0_112/jre/bin$ ./keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore