Skip to content

Instantly share code, notes, and snippets.

View lex111's full-sized avatar
🇺🇦
Stand with Ukraine

Alexey Pyltsyn lex111

🇺🇦
Stand with Ukraine
View GitHub Profile
@lex111
lex111 / gist:8d9381d65f52d5467b04cfc6fd3011b0
Created June 14, 2017 11:45 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@lex111
lex111 / install_lamp.sh
Last active October 11, 2016 10:27
Setup LAMP on Ubuntu 16 with dynamic virtual hosts (PHP 5.6)
#!/bin/bash
sudo apt-get install curl wget vim unzip tasksel
sudo tasksel install lamp-server
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt install php5.6 libapache2-mod-php5.6 \