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 | |
$text = 'Merokok tidak baik untuk kesehatan.'; | |
//...output- $text | |
echo '$text'; | |
//...output- Merokok tidak baik untuk kesehatan. | |
echo "$text"; |
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 | |
//...single quotes | |
echo 'Merokok tidak baik untuk kesehatan.'; | |
//...double quotes | |
echo "Merokok tidak baik untuk kesehatan."; |
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 | |
$array = array('sukma', 'wijaya', 'saputra'); //...array | |
$int = 14000; //...int | |
$string = 'Sukma Wijaya Saputra'; //...string | |
//...generate value | |
$aData = serialize($array); |
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 | |
$array = array('sukma', 'wijaya', 'saputra'); //...array | |
$int = 14000; //...int | |
$string = 'Sukma Wijaya Saputra'; //...string | |
//...generate value | |
$aData = serialize($array); |
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
# Minimum Postfix-specific configurations. | |
mydomain_fallback = localhost | |
mail_owner = _postfix | |
setgid_group = _postdrop | |
relayhost=smtp.gmail.com:587 | |
# Enable SASL authentication in the Postfix SMTP client. | |
smtp_sasl_auth_enable=yes | |
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd | |
smtp_sasl_security_options= |
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
unset TMPDIR | |
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp |
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
mkdir -p ~/Library/LaunchAgents | |
cp /usr/local/Cellar/mysql/X.X.X/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ | |
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist |
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
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" |