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
<div class="fb-like-box" | |
data-href="https://www.facebook.com/FacebookDevelopers" | |
data-colorscheme="light" | |
data-show-faces="true" | |
data-header="true" | |
data-stream="false" | |
data-show-border="true" | |
data-height="212"> | |
</div> |
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
UPDATE | |
wp_options | |
SET | |
option_value = 'username@example.com' | |
WHERE | |
option_name = 'admin_email'; |
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 /usr/local/mysql/support-files/mysql.server stop | |
$ sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables --skip-networking & | |
mysql> UPDATE mysql.user SET Password=PASSWORD('') WHERE User='root'; | |
mysql> FLUSH PRIVILEGES; | |
mysql> exit | |
$ mysql -h localhost -u root | |
mysql> set password=password(''); | |
mysql> exit |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" type="text/css" media="all" /> | |
<link rel="stylesheet" href="css/facebox.css" type="text/css" media="all" /> | |
</head> |
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
cd /usr/local/src | |
curl -O http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz | |
tar -xzvf wget-1.14.tar.gz | |
cd wget-1.14 | |
./configure --with-ssl=openssl | |
make | |
sudo make install |
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
# Download PHP 5.3.15 Source | |
cd /usr/local/src | |
curl -L -O http://us.php.net/get/php-5.3.15.tar.gz/from/us1.php.net/mirror | |
tar -xzvf php-5.3.15.tar.gz | |
# Download libmcrypt | |
cd /usr/local/src | |
curl -O http://iweb.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz | |
tar -xzvf libmcrypt-2.5.8.tar.gz | |
cd libmcrypt-2.5.8 |
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 php /usr/lib/php/install-pear-nozlib.phar | |
pear config-set php_ini /private/etc/php.ini | |
pecl config-set php_ini /private/etc/php.ini | |
sudo pear upgrade-all | |
sudo pecl install apc | |
sudo pecl install xdebug | |
# Install ApiGen | |
sudo pear install pear.apigen.org/apigen |
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
cd /usr/local/bin | |
sudo curl -Ol https://raw.github.com/major/MySQLTuner-perl/master/mysqltuner.pl | |
sudo chmod 755 mysqltuner.pl |
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
$ xcode-select --install |
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
$ ls -al /tmp/mysql.sock; ls -al /var/mysql/mysql.sock | |
lrwxr-xr-x 1 root wheel 21 Oct 12 13:45 /tmp/mysql.sock -> /var/mysql/mysql.sock | |
srwxrwxrwx 1 _mysql wheel 0 Oct 12 13:51 /var/mysql/mysql.sock | |
ls: /tmp/mysql.sock: No such file or directory | |
srwxrwxrwx 1 _mysql wheel 0 Oct 12 13:51 /var/mysql/mysql.sock |
OlderNewer