Skip to content

Instantly share code, notes, and snippets.

@alexandrinos
alexandrinos / vagrant.sh
Last active December 27, 2015 21:25
Vagrant - create a vagrant base box from another
#fire up a new box
vagrant init hashicorp/precise64
vagrant up
#optional customization in the vm
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
@alexandrinos
alexandrinos / gitconfig_path.txt
Last active December 4, 2015 13:21
git config global,system,local config .gitconfig in win7 /linux
git config -l (--system ?! ) -> C:\Users\All Users\Application Data\Git\config
git config --global -l -> C:\Users\Administrator\.gitconfig
git config --local -l -> project\.git\config
*********************
Linux
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Video Tag</title>
<style>
figure {
text-align: center;
}