Here you can do it in easy way. Just run this following command from the terminal and you are good to go
cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard'
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysqld stop
sudo mysqld_safe --skip-grant-tables &
mysql -u root
use mysql;
update user set password=PASSWORD("mynewpassword") where User='root';
flush privileges;
quit
sudo /etc/init.d/mysql stop ... sudo /etc/init.d/mysql start
sudo /etc/init.d/mysqld stop ... sudo /etc/init.d/mysql start
mysql -u root -p
bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)
bash <(curl https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)
adb reboot bootloader
In Fastboot type:
fastboot oem unlock
Then hit enter. Follow the on-screen instructions and choose to erase the device. Wait a minute or so for it to unlock. This removes everything on your device.
sudo ./flash-all.sh
This will push all of the files to your Nexus 5 or Nexus 7. The files will start pushing and installing and your Nexus device may reboot and you will see an Android figure and then a moving Android logo. The logo screen may stay for a long time. Don’t unplug the device. This may last 15 minutes or longer. When Android prompts you to complete setup you can unplug the Nexus. It took less than two minutes for us.var img = $('img');
var default_url = "http://example.org/images/img.jpg";
var img_url = "http://example.org/images/" + some_variable + ".jpg";
img.error(function() {
$(this).attr('src', default_url)
});
img.attr('src', img_url);
brew install autoconf
/Applications/MAMP/bin/php/php5.4.10/include/
cd /Applications/MAMP/bin/php/php5.4.10/include/php/ && ./configure
echo "export PATH=/Applications/MAMP/bin/php/php5.4.10/bin:$PATH" >> ~/.bash_profile source ~/.bash_profile
pecl install mongo
extension=mongo.so
<div class="pagination"> <ul> <?php echo $this->Paginator->prev( '<<', array( 'class' => '', 'tag' => 'li' ), null, array( 'class' => 'disabled myclass', 'tag' => 'li' ) ); echo $this->Paginator->numbers( array( 'tag' => 'li', 'separator' => '', 'currentClass' => 'disabled pg_design' ) ); echo $this->Paginator->next( '>>', array( 'class' => '', 'tag' => 'li' ), null, array( 'class' => 'disabled myclass', 'tag' => 'li' ) ); ?> </ul> </div>
CSS for which need to add
.pagination ul > li.pg_design { float: left; padding: 4px 12px; line-height: 20px; text-decoration: none; background-color: #ffffff; border: 1px solid #dddddd; border-left-width: 0; color: #999999; cursor: default; background-color: transparent; } .pagination ul > li.pg_design:first-child { border-left-width: 1px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-topleft: 4px; } .pagination ul > li.pg_design:last-child { -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; -moz-border-radius-topright: 4px; -moz-border-radius-bottomright: 4px; }