Skip to content

Instantly share code, notes, and snippets.

View m7v's full-sized avatar
🇯🇵
私はノボシビルスクのエンジニアです

Andrew Mikhailov m7v

🇯🇵
私はノボシビルスクのエンジニアです
View GitHub Profile
#!/bin/bash
# sudo ./init.sh [Directory] [MySQL Host] [MySQL User] [MySQL Password] [MySQL Database name]
curl -sS https://getcomposer.org/installer | sudo php — —install-dir=/usr/local/bin —filename=composer
if [ ! -d "$1" ]; then
echo 'Directory do not exist.';
exit 1
fi
chmod +x $1 -R
cd $1;
@miguelsaddress
miguelsaddress / how-to-gource.sh
Created October 9, 2015 08:35
Install Gource in Ubuntu (gource.io)
#Install Gource in Ubuntu
========================
#Go to the folder.... and
#see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo
sudo apt-get update
sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev
./configure
make
sudo make install
@lgmkr
lgmkr / git-rebase.markdown
Created August 21, 2012 08:51 — forked from tmcgilchrist/git-rebase.markdown
Git rebase workflow

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote