Skip to content

Instantly share code, notes, and snippets.

View buonzz's full-sized avatar

Darwin Biler buonzz

View GitHub Profile
@buonzz
buonzz / create new express.sh
Created February 24, 2014 02:21
Creating a new NodeJS project using express
npm init
npm install --save express
@buonzz
buonzz / basebox.sh
Created March 29, 2014 21:04
download ubuntu base box
vagrant box add hashicorp/precise32
@buonzz
buonzz / lamp_stack_vagrant.sh
Created March 29, 2014 21:19
Lamp Stack Vagrant
git clone https://github.com/jrodriguezjr/puppet-lamp-stack.git
@buonzz
buonzz / rename_folder.sh
Created March 29, 2014 21:23
rename folder
# for Windows
rename puppet-lamp-stack lamp
# for Mac or Linux
mv puppet-lamp-stack lamp
@buonzz
buonzz / bootit.sh
Last active August 29, 2015 13:57
boot it
vagrant up
@buonzz
buonzz / webroot.bat
Created March 29, 2014 21:30
create webroot
cd lamp
mkdir webroot
@buonzz
buonzz / vagrant_Ssh.sh
Created March 29, 2014 21:41
login ssh
vagrant ssh
@buonzz
buonzz / usualcommands.sh
Created March 29, 2014 21:53
usual commands in vagrant box
# to login to local mysql as root
mysql -hlocalhost -uroot -pd3v0p5
# verify php version
php -v
# find the php.ini for cli
php -i | grep php\.ini
# edit which document root folder to use side from webroot (important for Laravel users)
@buonzz
buonzz / installgit.sh
Created March 29, 2014 21:58
install git in ubuntu
# install git
sudo apt-get install git-core
@buonzz
buonzz / install_composer.sh
Created March 29, 2014 22:00
install composer
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer