$ brew install autoconf automake gmp bison27 gd freetype t1lib gettext zlib mcrypt
$ git clone --depth=1 https://github.com/php/php-src.git
$ cd php-src
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <!-- Make a DNS handshake with a foreign domain, so the connection goes faster when the user eventually needs to access it. This works well for loading in assets (like images) from another domain, or a JavaScript library from a CDN. --> | |
| <link rel="dns-prefetch" href="//ajax.googleapis.com" /> | |
| <link rel="dns-prefetch" href="//s3.amazonaws.com" /> | |
| <!-- Make sure the latest version of IE is used --> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = pavan.sss1991@gmail.com | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| excludesfile = ~/.gitignore | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com |
| #!/bin/bash | |
| # Stop all containers. | |
| docker stop $(docker ps -a -q) | |
| # Delete all containers. | |
| docker rm $(docker ps -a -q) | |
| # Delete all images. | |
| docker rmi --force $(docker images -q) |
Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
| # to install the latest stable version: | |
| brew install scala --with-docs | |
| # to install scala-2.10: | |
| brew install https://raw.github.com/gist/4340744/scala.rb --with-docs | |
| # to switch versions (from https://github.com/mxcl/homebrew/wiki/External-Commands): | |
| brew switch scala 2.9.2 | |
| brew switch scala 2.10.0 | |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| # Download and Install the Latest Updates for the OS | |
| apt-get update && apt-get upgrade -y | |
| # Set the Server Timezone to CST | |
| echo "America/Chicago" > /etc/timezone | |
| dpkg-reconfigure -f noninteractive tzdata | |
| # Enable Ubuntu Firewall and allow SSH & MySQL Ports | |
| ufw enable | |
| ufw allow 22 |