Skip to content

Instantly share code, notes, and snippets.

View mkhlil1288's full-sized avatar

Mahmoud Khalil mkhlil1288

View GitHub Profile
@mkhlil1288
mkhlil1288 / README.md
Created November 9, 2016 11:15 — forked from aronwoost/README.md
Build auto-deploy with php and git(hub) on an EC2 Amazon AMI instance

Kind of continue from the other gist how to install LAMP on an Amazon AMI

##Install git

sudo yum install git-core

##Create ssh directory since it doesn't exists by default on the Amazon AMI

@mkhlil1288
mkhlil1288 / .vimrc
Created October 11, 2016 00:58 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@mkhlil1288
mkhlil1288 / install.sh
Created August 11, 2016 12:10 — forked from julien731/install.sh
Ubuntu Config
# Initial system update
sudo apt-get update && sudo apt-get upgrade
# Install system utilities
## TLP
sudo apt-get install tlp tlp-rdw
sudo tlp start
## Sublime Text 2
@mkhlil1288
mkhlil1288 / Ubuntu: Samba Share
Created August 10, 2016 01:14 — forked from denis-shvets/Ubuntu: Samba Share
Ubuntu: Samba Share
# sudo nano -w /etc/samba/smb.conf
[www]
comment = Web Folder
path = /home/username/www
available = yes
valid users = username
read only = no
browseable = yes
public = yes
server {
listen 80;
server_name laravel.dev;
root /var/www/vhosts/laravel.dev/public;
index index.html index.htm index.php;
charset utf-8;
location / {