Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Specialized; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| namespace AwsV4SignatureCalculator |
$ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>$ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>First install Brew on your MAC
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"brew updatebrew tap homebrew/dupesbrew tap homebrew/phpbrew install php70mcrypt: brew install mcrypt php70-mcryptbrew install composer| server { | |
| listen 80; | |
| server_name localhost; | |
| root /Users/YOUR_USERNAME/Sites; | |
| access_log /Library/Logs/default.access.log main; | |
| location / { | |
| include /usr/local/etc/nginx/conf.d/php-fpm; | |
| } |
In your command-line run the following commands:
brew doctorbrew update| server { | |
| listen 80; | |
| server_name localhost; | |
| root /Users/wahyudibo/Projects/mylabs/php/nginx; | |
| #error_page 404 /404.html; | |
| # redirect server error pages to the static page /50x.html | |
| # |
| server { | |
| listen 80; # redundant in new nginx versions | |
| server_name yourserver.com www.yourserver.com; | |
| root /usr/share/nginx/www/drupal; | |
| access_log off; | |
| fastcgi_param SCRIPT_NAME $fastcgi_script_name; | |
| location ~ \..*/.*\.php$ { | |
| return 403; |