Skip to content

Instantly share code, notes, and snippets.

View dibmartins's full-sized avatar
🎯
Focusing

Diego Botelho dibmartins

🎯
Focusing
View GitHub Profile
@dibmartins
dibmartins / install-chrome-ubuntu
Created February 8, 2017 16:12
install-chrome-ubuntu
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
@dibmartins
dibmartins / phalcon-devtools-install
Last active February 7, 2017 13:00
Phalcon Devtools installation
curl -LO https://github.com/phalcon/phalcon-devtools/archive/v3.0.2.tar.gz
tar xzf v3.0.2.tar.gz
mv phalcon-devtools-3.0.2 /usr/local/phalcon-devtools
ln -s /usr/local/phalcon-devtools/phalcon.php /usr/local/bin/phalcon
@dibmartins
dibmartins / deploy-git-bare
Created January 25, 2017 13:35
Deploy with git bare
sudo su
cd /var
mkdir repo && cd repo
mkdir site.git && cd site.git
git init --bare
cd hooks
cat > post-receive
@dibmartins
dibmartins / apt-get update
Created January 10, 2017 10:52
apt-get update
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get clean
apt-get update
apt-get upgrade