Skip to content

Instantly share code, notes, and snippets.

View behzadnoroozi's full-sized avatar

Behzad Noroozi Fotoohieh behzadnoroozi

  • Merkle
  • London
View GitHub Profile
@behzadnoroozi
behzadnoroozi / iframe.html
Created February 25, 2019 13:48 — forked from cirocosta/iframe.html
Sending messages from child iframe to parent webpage
<!DOCTYPE html>
<html>
<head>
<title>My Iframe</title>
</head>
<body>
<button>Botão</button>
<script type="text/javascript">
@behzadnoroozi
behzadnoroozi / bash_profile.md
Created August 18, 2018 21:23 — forked from irazasyed/bash_profile.md
Terminal: Mac OS X Terminal Aliases & How-To - .bash_profile / .profile

Mac OS X Terminal Aliases & How-To

Collection of some of my fav terminal aliases that i use often & collected from the web. This file will be updated with more aliases as i find more. Feel free to comment and share your fav aliases you use :)

###Follow these simple steps to add the following aliases:###


  1. Within the Terminal, run:
@behzadnoroozi
behzadnoroozi / lamp-stack-osx-virtualhostx.md
Created June 6, 2018 21:45 — forked from pwenzel/lamp-stack-osx-virtualhostx.md
LAMP stack on OSX with Homebrew, built-in Apache, multiple PHP versions, VirtualhostX optional

This guide shows how to set up a PHP and MySQL development environment using OSX's built-in Apache, using Homebrew to install necessary components. With this strategy, you can use different versions of PHP for certain virtual hosts.

VirtualHostX is a convenient way to manage development sites, but not required.

Install PHP and MySQL with Homebrew

brew update
brew install php56
brew install php56-mcrypt
brew install mysql