sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install libapache2-mod-php7.1
sudo a2dismod php5
sudo a2enmod php7.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo y | command | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install libapache2-mod-php7.1 | |
sudo a2dismod php5 | |
sudo a2enmod php7.1 | |
sudo apt-get install php7.1-dom php7.1-mbstring php7.1-zip php7.1-gd php7.1-xml php7.1-gmp php7.1-mysql php7.1-sqlite php7.1-mcrypt php7.1-curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
?> |
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install libapache2-mod-php7.1
sudo a2dismod php5
sudo a2enmod php7.1
sudo apt-get install php7.1-dom php7.1-mbstring php7.1-zip php7.1-gd php7.1-xml php7.1-gmp php7.1-mysql php7.1-sqlite php7.1-mcrypt php7.1-curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo rm -rf /var/lib/apt/lists/* | |
``` | |
and | |
``` | |
sudo apt-get update | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install libapache2-mod-php7.0 | |
sudo a2dismod php5 | |
sudo a2enmod php7.0 | |
sudo apt-get install php7.0-dom php7.0-curl php7.0-mbstring php7.0-zip php7.0-xml php7.0-mysql php7.0-gd | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp | |
sudo chown -R $USER $HOME/.composer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ember addon <addon-name> <options...> | |
Generates a new folder structure for building an addon, complete with test harness. | |
--dry-run (Boolean) (Default: false) | |
aliases: -d | |
--verbose (Boolean) (Default: false) | |
aliases: -v | |
--blueprint (String) (Default: addon) | |
aliases: -b <value> | |
--skip-npm (Boolean) (Default: false) | |
aliases: -sn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bgExpandCollapsedContent() { | |
var bgCollapseExpandItems = document.querySelectorAll('input[bg_collapse_expand]'); | |
for ( i=0; i<bgCollapseExpandItems.length; i++) { | |
var showHideButton = document.getElementById('bg-showmore-action-'+bgCollapseExpandItems[i].value); | |
var hiddenContent = document.getElementById('bg-showmore-hidden-'+bgCollapseExpandItems[i].value); | |
if (showHideButton && hiddenContent) { | |
showHideButton.addEventListener('click', function(event) {bgExpandCollapsedContentAction(event, this);} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get dist-upgrade | |
sudo shutdown -r now | |
sudo rm /var/lib/apt/lists/lock | |
sudo rm /var/cache/apt/archives/lock | |
sudo rm /var/lib/dpkg/lock |
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install libapache2-mod-php7.0
sudo a2dismod php5
sudo a2enmod php7.0
sudo apt-get install php7.0-dom php7.0-mbstring php7.0-zip php7.0-gd php7.0-xml php7.0-gmp php7.0-mysql php7.0-sqlite php7.0-mcrypt php7.0-curl
NewerOlder